# 1153 Asset Checks Dba80fcc

> Asset Checks

- Skill: `tools-only/1153-asset-checks-dba80fcc` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add tools-only/1153-asset-checks-dba80fcc`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tools-only/1153-asset-checks-dba80fcc/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Research & Search
- Author: tools-only (https://skillmd.com/u/tools-only)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/tools-only/1153-asset-checks-dba80fcc

---

# Asset Checks

dbt tests are loaded as Dagster asset checks by default (enabled in dagster-dbt 0.23.0+).

## Enabling Source Tests

By default, only tests on dbt models are loaded as checks. To include tests on sources:

**Component approach:**

```yaml
attributes:
  translator_settings:
    enable_source_tests_as_checks: true
```

**Pythonic approach:**

```python
from dagster_dbt import DagsterDbtTranslator, DagsterDbtTranslatorSettings

translator = DagsterDbtTranslator(
    settings=DagsterDbtTranslatorSettings(
        enable_source_tests_as_checks=True
    )
)

@dbt_assets(
    manifest=my_dbt_project.manifest_path,
    dagster_dbt_translator=translator
)
def my_dbt_assets(context, dbt: DbtCliResource):
    yield from dbt.cli(["build"], context=context).stream()
```

## Singular Tests with Multiple Dependencies

For singular tests that depend on multiple models, specify the target model in the test's config
block:

```sql
{{
    config(
        meta={
            'dagster': {
                'ref': {
                    'name': 'customers',
                    'package': 'my_dbt_assets',
                    'version': 1,
                },
            }
        }
    )
}}

SELECT ...
```

The `ref` structure mirrors dbt's
[ref function](https://docs.getdbt.com/reference/dbt-jinja-functions/ref) parameters. Without this
metadata, the test still runs but emits an AssetObservation instead of an asset check result.

