Debug a failing dbt model without thrashing
언제 쓸까: dbt run just failed with a cryptic error and you don't know if it's schema, lineage, or SQL.
흐름
-
Feed Claude the error + modelUse debugging-dbt-errors. Here's the stderr and models/marts/fct_orders.sql. Diagnose the root cause — don't guess.✓ 복사됨→ Claude reads upstream refs, diagnoses in order: schema → lineage → SQL
-
Apply the fix and verifyApply the fix and run dbt build --select fct_orders+. Show me the before/after row counts.✓ 복사됨→ Clean run + row count verification
결과: Green CI plus a note of the root cause so it doesn't recur.
함정
- Fixing a symptom downstream when the bug is upstream — The skill enforces an upstream-first diagnosis; don't skip the lineage step