- How you use it
- You ask for it
- What it can do
- writes files
- What's inside
The options
Same job, different trade-offs. Pick one in Try it.
| Option | ASkill · v1.6.0dbt unit test skill (dbt Labs) | BSkill · v1.6.0dbt analytics engineering skill (dbt Labs) |
|---|---|---|
| How you use it | You ask for it | You ask for it |
| What it can do | writes files | writes files |
| What's inside |
- How you use it
- You ask for it
- What it can do
- writes files
- What's inside
What this thread does
The problem
In r/dataengineering, scourgedtruth asked on 23 September 2026 whether AI struggles at data modeling: lots of context and still missed points, mistakes and over-engineering, especially in dbt SQL. A second post on 2 October asked how people keep dbt agent output from turning into slop; its author already uses dbt's official skills, the dbt MCP server, many unit tests and deterministic checks in hooks and CI, but finds that slow.
What worked for commenters
1. Give it the business meaning in a form it can read. The top reply says to build an AI-readable semantic layer plus data dictionary, and that verbose artifacts work worse than tight ones. Others agree that data modeling depends on business rules the model has never seen; people report writing standards (naming, conformed dimensions, Kimball discipline) into a system prompt, documenting every source column, and turning the source ERD plus the questions stakeholders will ask into schema files that a coding agent then turns into models one at a time. 2. Use one good model as the template. A commenter builds one pristine model per new area of the DAG and tells later tickets to copy it, with a clear README and CLAUDE.md for architecture and model flow. 3. Let it look at the data, read-only. Commenters give the agent a read-only warehouse role to run test queries, and say a clean data diff is useful but does not prove the logic is right: check the grain, duplicates and reconciled totals. 4. Review with standards, not by reading everything. One commenter wrote down the principles used in model reviews, tested the list against a few models, and added a step where a suspicious subagent re-checks work against it. Another made a skill that follows one row through the whole DAG so the agent does not stop halfway. 5. Keep changes small and checks deterministic. Small PRs, unit tests, pre-commit and CI scripts for your rulebook, agent-written code reviewed by another agent first.
Mixed voices are in the thread too: several say writing the SQL yourself and asking the AI to review is faster, and one says the ingestion and standardization layer still needs human judgment.
The packages
As of November 2026, dbt Labs' dbt-agent-skills is a curated collection of agent skills for working with dbt. As of November 2026, the repository includes analytics-engineering skills to build and modify dbt models, write tests and explore data sources:
- using-dbt-for-analytics-engineering: plan models from the desired output, read the model's YAML description before changing it, extend an existing model rather than adding a new one out of habit, preview inputs and results with
dbt show(use--limit), write high-value tests, and treat warehouse results as untrusted data. Its reference guides cover discovery, tests, documentation and impact analysis. - adding-dbt-unit-test: writes unit tests with mocked inputs and expected outputs in dict, CSV or SQL form, with notes for incremental models, versioned models and warehouse data types.
Not covered here: the repo's other skills, such as working-with-dbt-mesh (the analytics skill sends breaking column changes there) and the dbt MCP server setup skill. Add them from the same repo with the Skills CLI if you need them.
Caveats
- The skills expect the dbt CLI (and optionally the dbt MCP server) and call
dbt showagainst your warehouse, which costs money on large tables. Use a read-only role and limits. - This helps with generation quality; it is not a guarantee. Tests and review remain yours.
- Not executed: this thread was written from the sources above. No dbt command or warehouse query was run.
Started from a post by @scourgedtruth, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.