Fix 1 of 2
Use a coding agent on your dbt or pipeline repo
Claude Code, Codex, Cursor and Copilot can read the project, write models and tests, run dbt build and fix errors. You review the logic and the data it produces.
- 1Add a short instructions file to the repo (CLAUDE.md or AGENTS.md) with naming conventions and how to run dbt and tests.
- 2Give the agent a well-scoped task with the prompt below.
- 3Let it run the build and tests against a dev target, never production.
- 4Review the SQL and check row counts against a known source before merging.
In this [DBT / AIRFLOW / DAGSTER] project, [TASK, e.g. add a model that calculates monthly active customers from events]. Follow the conventions in [EXAMPLE MODEL]. Add tests for [UNIQUENESS, NOT NULL, ACCEPTED VALUES] and a description for each column. Run the build against the dev target, fix any errors, and summarize what you changed plus anything you were unsure about. Do not run anything against production.
Tools: Claude Code, OpenAI Codex, Cursor or GitHub Copilot