Generate SQL validation notebooks for dbt changes. Pass a GitHub PR URL or local dbt repo path.
Add this skill
npx mdskills install monte-carlo-data/generate-validation-notebookComprehensive dbt validation workflow with detailed parsing, schema resolution, and multi-mode support
Automatically generate SQL validation notebooks for dbt model changes. Given a GitHub PR or local dbt repository, this skill identifies modified models and produces a Monte Carlo SQL Notebook with targeted validation queries comparing baseline and development data.
gh) — required for PR mode, must be authenticatedpyyaml installed (pip install pyyaml)Install the plugin for your editor — see the main README for instructions. The skill is bundled automatically.
Copy the skill to your local skills directory:
cp -r skills/generate-validation-notebook ~/.claude/skills/generate-validation-notebook
/mc-generate-validation-notebook https://github.com/your-org/dbt/pull/123
Fetches the PR diff from GitHub, identifies changed models, and generates validation queries.
/mc-generate-validation-notebook .
Uses git diff against the base branch to find changed models in the current repository.
--mc-base-url — Monte Carlo base URL (defaults to https://getmontecarlo.com)--models — only generate for specific models (by filename, without .sql)The notebook includes:
prod_db and dev_db for selecting databasesUp to 10 changed models are processed per invocation.
Generated SQL uses ANSI-compatible syntax that works across Snowflake, BigQuery, Redshift, and Athena. Minor adjustments may be needed for specific warehouse quirks.
Install via CLI
npx mdskills install monte-carlo-data/generate-validation-notebookMonte Carlo toolkit is a free, open-source AI agent skill. Generate SQL validation notebooks for dbt changes. Pass a GitHub PR URL or local dbt repo path.
Install Monte Carlo toolkit with a single command:
npx mdskills install monte-carlo-data/generate-validation-notebookThis downloads the skill files into your project and your AI agent picks them up automatically.
Monte Carlo toolkit works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Gemini Cli, Amp, Roo Code, Goose. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.