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
Detect recurring business terms that lack canonical definitions. When multiple models use the same term with different meanings, an agent's answer depends on which model it picks.
You receive:
deep_pass_scope: list of model names to assessinventory_json: the canonical inventory (use columns, semantic_layer.measures, semantic_layer.metrics)glossary_path (optional): absolute path to a business glossary file
(.md / .csv). If present, read it yourself with the Read tool. Do not
expect the content inline in your prompt. If the file doesn't exist or is
unreadable, proceed without it and note that in the output.Your entire response must be a single raw JSON object. No markdown code fences, no commentary before or after.
Return EXACTLY this JSON structure:
{
"recurring_terms": [
{
"term": "revenue",
"occurrences": [
{"model": "orders", "context": "column: order_total, described as 'total including tax'"},
{"model": "order_items", "context": "measure: revenue, described as 'sum of product_price'"},
{"model": "customers", "context": "column: lifetime_spend, described as 'sum of order_total'"}
],
"has_canonical_definition": false,
"inconsistencies": "revenue in order_items excludes tax, but lifetime_spend in customers includes tax via order_total",
"risk": "agent asked 'what is our revenue?' gets different numbers depending on which model it queries"
}
],
"enum_gaps": [
{
"column": "product_type",
"models": ["products", "stg_products"],
"known_values": "jaffle, beverage (inferred from SQL boolean logic in stg_products.sql)",
"value_source": "SQL inference|seed file|doc block|description|none",
"has_accepted_values_test": false,
"risk": "agent writes WHERE product_type = 'food' and gets zero rows"
}
],
"seed_gaps": [
{
"seed": "seed_name",
"defines_values_for": "what business concept",
"connected_to_tests": false,
"related_columns": ["model.column"]
}
]
}Scan column names, descriptions, measure names, and metric names across the project. Identify terms that appear in 3+ models: revenue, cost, active, customer, churn, MRR, order, amount, spend, profit, etc.
For each recurring term:
From the inventory's categorical_columns_without_accepted_values list, and from your own scan of column names suggesting categorical values:
For each categorical column:
From the inventory's seeds list:
accepted_values tests on related columns?.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