/data-engineering-skills:debugging-dbt-runsfrom data-engineering-skills
Diagnose and fix failing dbt runs: Jinja/compilation errors, ref/dependency and DAG issues, incremental model duplicates/staleness, full-refresh needs, and CI state/deferral problems.
Ships in data-engineering-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
dbt run/dbt build fails or a model errors.ref() cannot find a model.- [ ] Read the actual error + the compiled SQL (target/compiled/...)
- [ ] Classify: compile/Jinja, dependency/DAG, incremental, or env/state
- [ ] Reproduce the smallest failing command
- [ ] Fix, then re-run just that node with --select
target/compiled/.... Most
"weird" errors are obvious once you see the rendered SQL, not the Jinja.dbt run --select <model> (and +model/model+ for
upstream/downstream) rather than rebuilding everything.Compilation / Jinja
dbt compile --select <model> and open target/compiled/... to see rendered SQL.{{ }} names, vars:, and package installs
(dbt deps).ref() name typo or the model
isn't in a selected path.Dependency / DAG
ref() each other; break the cycle via an
intermediate model.dbt ls --select +<model> shows the upstream graph to trace missing nodes.Incremental problems
unique_key, or append strategy
where merge was needed.is_incremental() filter is too strict (no lookback)
or compares the wrong column.on_schema_change or run
dbt run --select <model> --full-refresh once to rebuild.dbt run --full-refresh --select <model>.Environment / state
--target, missing dbt deps, or stale
manifest.json for state:modified selection. Regenerate/pass --state.dbt build --select state:modified+ --defer --state <prod-manifest> runs only
changed models against prod parents (Slim CI). A stale manifest selects the
wrong nodes.--full-refresh in production by reflex — it rebuilds huge tables; only do
it when the incremental logic or schema genuinely changed.dbt deps — missing packages cause macro-not-found errors in CI.ref()
dependencies.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub unknown-333/awesome-data-engineering-skills --plugin data-engineering-skills36 skills in this plugin
/authoring-airflow-dagsWrite production-grade Apache Airflow DAGs using the TaskFlow API — idempotent tasks, correct scheduling and catchup, retries/SLAs, connections/variables, and avoiding top-level code. Use when creating or reviewing Airflow DAGs, scheduling pipelines, wiring task dependencies, configuring retries/backfills, or fixing non-idempotent tasks./building-dagster-assetsBuild Dagster pipelines using software-defined assets — asset dependencies, partitions, resources and IO managers, asset checks, and schedules/sensors. Use when creating Dagster assets or jobs, modeling data as assets, adding partitions or backfills, wiring resources/IO managers, or migrating from task-based orchestration to assets./building-dbt-modelsBuild well-structured dbt models — staging/intermediate/marts layers, ref() and source(), materializations, and incremental models with the right strategy. Use when creating or refactoring dbt models, choosing table vs view vs incremental, structuring a dbt project, or writing incremental logic./building-feature-pipelinesBuild ML feature pipelines and feature stores — point-in-time-correct joins to avoid label leakage, offline/online parity, feature freshness and backfills, and materialization with tools like Feast. Use when engineering features for ML, preventing train/serve skew or data leakage, building a feature store, or backfilling historical features for training./building-iceberg-tablesDesign and operate Apache Iceberg tables — partitioning and hidden partitioning, partition/schema evolution, snapshots and time travel, compaction and small-file cleanup, and MERGE/upsert for lakehouse tables on Spark, Flink, Trino, or Snowflake. Use when creating or maintaining Iceberg tables, choosing partitioning, evolving schema/partitions, or fixing small-file and metadata bloat./building-ingestion-pipelinesBuild batch and incremental data ingestion (extract-load) pipelines — full vs incremental extraction, change data capture (CDC), watermarks and high-water marks, API pagination and rate limits, and choosing managed EL tools (Fivetran, Airbyte) vs custom code. Use when ingesting data from databases, APIs, files, or SaaS into a warehouse/lake, or designing incremental extraction and CDC.Other plugins' skills for the same job