Audit a dbt project for what an AI agent will get wrong if you point it at the data today: wrong metric, wrong table, missed rows, broken joins. Produces one evidence-backed report with blockers, verification queries, and a safe starting perimeter.
90%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Planted signals the docs scan (v1.4.0) must reproduce. The deterministic gate asserts Layer-1 detection only; the agree/differ verdict on doc-vs-doc disagreements is the Layer-2 LLM's job and is out of scope for the committed test.
Run the external docs through the scanner with --doc-sources docs and
--today 2026-06-19.
| Model | Description | Note |
|---|---|---|
stg_customers | none | from raw.customer_events; never mentioned in any doc |
dim_customers | good ("one row per customer …") | authoritative dbt definition exists |
fct_orders | good ("one row per order …") | emits order_amount, not order_total |
fct_revenue | none | no authoritative dbt definition — the reliability fallback is absent |
docs/customers.md documents dim_customers
with its real columns. Must be matched (coverage = documented) and produce
no column drift.docs/orders-guide.md lists order_total under a
fct_orders heading. The model emits order_amount. column_drift must flag
order_total for fct_orders at confidence: high (model YAML mirrors SQL).fct_revenue is defined two
different ways in docs/glossary.md (gross incl. refunds) and
docs/finance-notes.md (net after refunds). It is a dbt identifier with no
authoritative dbt definition. multi_home_candidates must carry it with
is_dbt_identifier: true, authoritative_dbt_definition.exists: false,
doc_count: 2. Under the reliability rule this is a Blocker.dim_customers is mentioned
in two docs but the dbt layer pins it (good description). It must appear as a
candidate with authoritative_dbt_definition.exists: true. Under the rule the
agent can answer reliably from dbt, so this is Hygiene/context, not a Blocker.docs/legacy-pipeline.md links a Google Doc and a
Confluence wiki and says "single source of truth." external_pointers must
count google_docs and confluence, and the doc must appear in
defers_authority_offsite_docs.docs/legacy-pipeline.md is marked deprecated and dated 2021.
staleness_flags must flag it with a deprecated marker and stale_by_date.stg_customers, customer_events, order_events are
documented nowhere. identifier_coverage.undocumented_list must list them;
documented_list must list dim_customers.models/README.md and models/_models_docs.md (a {% docs %} block file) live
inside the model path. Under auto-discovery they must be excluded from the
external corpus (dbt_layer_excluded >= 2), never scanned as prose.
A doc homes an identifier only in a definitional context (heading subject,
column-dictionary row key, "x is/means …" prose, or a glossary entry). A bare
reference does not. Two planted dirs prove this, scanned with --doc-sources:
home-precision/bare/runbook.md mentions dim_customers only in bare
contexts — a fenced SQL query, a checklist table cell, and a code-terminology
colon-list. dim_customers must be mentioned but must NOT home, so it is
NOT a multi_home_candidate even though the dbt layer pins it.home-precision/real/glossary.md defines dim_customers in a glossary entry.
It homes, so dim_customers IS a multi_home_candidate (one doc home + the
authoritative dbt definition)..claude-plugin
.cursor-plugin
.tessl-plugin
examples
phases
scripts
test-fixtures
docs-context
fan-out-joins
manifest-forloop
target
messy-jaffle-shop
sql-edge-cases