dbt-skill

Guide dbt data modeling, testing, CI/CD, and performance optimization across Snowflake and BigQuery.

1|1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/dtsong/claude-code-windows-setup --skill dbt-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dbt-skill
Source: https://github.com/dtsong/claude-code-windows-setup/tree/main/skills/dbt-skill
Command: npx skills add https://github.com/dtsong/claude-code-windows-setup --skill dbt-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance for using dbt (data build tool) to build robust, production-ready data models, ensuring data quality, efficient deployment, and maintainable analytics engineering workflows.

Core Features & Use Cases

  • Project Structure & Modeling: Guidance on Medallion and Kimball architectures, naming conventions, and materialization strategies.
  • Testing & Quality: Strategies for schema tests, singular tests, generic tests, unit tests, and anomaly detection using dbt-expectations and Elementary.
  • CI/CD & Deployment: Best practices for local development, Slim CI, GitHub Actions, dbt Cloud jobs, and blue/green deployments.
  • Performance & Optimization: Techniques for Snowflake and BigQuery performance tuning, incremental strategies, and cost monitoring.
  • Advanced Capabilities: Covers Jinja macros, essential packages, semantic layer configuration, model contracts, versioning, and dbt Mesh.

Quick Start

Use the dbt skill to create a dbt project with staging and marts layers for a Snowflake warehouse.

Frequently Asked Questions about dbt-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure my dbt project for analytics engineering?

Structure dbt projects using Medallion or Kimball architectures with staging and marts layers. This approach separates raw transformations from presentation models, ensuring maintainable data modeling and clear naming conventions across your data warehouse.

What's the best way to test data quality in dbt?

Test data quality in dbt using schema, singular, generic, and unit tests. You can enhance anomaly detection by integrating dbt-expectations and Elementary packages to validate metrics and catch edge cases before production deployment.

How do I set up CI/CD workflows for dbt models?

Set up dbt CI/CD workflows using Slim CI, GitHub Actions, or dbt Cloud jobs. These methods validate model changes through automated testing before deployment, supporting strategies like blue/green deployments for zero-downtime production releases.

Can I optimize dbt incremental materializations for Snowflake and BigQuery?

Optimize dbt incremental materializations on Snowflake and BigQuery by applying specific performance tuning techniques. This includes configuring incremental strategies and monitoring warehouse costs to reduce query compute overhead.

When do I need dbt Mesh and model versioning?

Use dbt Mesh and model versioning when managing complex cross-project dependencies. Model contracts enforce schema guarantees between projects, while dbt Mesh allows decentralized analytics engineering teams to build interconnected data pipelines.

How do I configure the dbt semantic layer with Jinja macros?

Configure the dbt semantic layer by defining metrics in YAML files and leveraging Jinja macros for dynamic SQL generation. This enables reusable analytics engineering logic and consistent metric definitions across your data warehouse platforms.