
from mc-agent-toolkit86
Create SQL validation notebooks for dbt changes (PR or local) that produce dev/prod comparison and data-quality queries.
This skill generates a YAML-formatted SQL notebook of validation queries for changed dbt models. It analyzes changed .sql files (PR or local), infers schemas using a resolver script, classifies models as new or modified, and emits parameterized queries for row counts, sample previews, uniqueness, null rates, time-series continuity, and before/after comparisons. The output is an import URL for MC Bridge notebooks.
Use when reviewing dbt pull requests or local branches to quickly generate a reproducible set of validation queries for data engineers and reviewers. Triggered by a GitHub PR URL or a local dbt repo path.
Works with agents that can run gh (GitHub CLI) and python3 helper scripts; useful with Claude Code, Sonnet-enabled flows, and other developer-focused agent runtimes.
This skill has not been reviewed by our automated audit pipeline yet.