Skip to content
Back to skills

1153 Asset Checks Dba80fcc

ASecurity

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

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 11, 2026
developmentpythonsql

Works with

  • cli

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 1153-asset-checks_dba80fcc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 1153 Asset Checks Dba80fcc?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 1153 Asset Checks Dba80fcc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-1153-asset-checks-dba80fcc/badge)](https://www.skillsdirectory.com/skills/tools-only-1153-asset-checks-dba80fcc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# 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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.