adding-dbt-unit-test

Creates unit test YAML definitions that mock upstream model inputs and validate expected outputs. Use when adding unit tests for a dbt model or practicing test-driven development (TDD) in dbt.

Type
skill
GitHub stars
509
Repository
dbt-labs/dbt-agent-skills
Category
testing

Install

  1. 1Quick install (skills CLI)

    npx skills add dbt-labs/dbt-agent-skills --skill adding-dbt-unit-test --agent claude-code

    Installs adding-dbt-unit-test into the current project's .claude/skills/ directory. Requires Node.js and the skills CLI.

  2. 2Manual install

    Create ~/.claude/skills/<name>/ and copy the SKILL.md file from the repository into it. The directory name must match the skill name.

⚠️ Exact file layout and requirements vary by repository — always check the repo README first.

View on GitHub ↗

Prefer the full source? The repository README is the authoritative install reference.