A Claude Code plugin that migrates warehouse stored procedures to dbt models. Targets silver and gold transformations from SQL-based sources; non-SQL runtimes are out of scope.
You work inside Claude Code, an AI-powered terminal CLI. The plugin adds migration-specific / commands that read your catalog, analyze SQL, write dbt model files, run proof-backed tests, and commit results to git automatically.
Deterministic setup tasks — DDL extraction, target scaffolding, sandbox management — are handled by the ad-migration terminal CLI, which you run directly in your shell outside the Claude Code session.
| Phase | Entry points | What it does |
|---|---|---|
| Project setup | /init-ad-migration, ad-migration setup-source / setup-target / setup-sandbox |
Scaffold project files, extract DDL, scaffold dbt, create sandbox |
| Whole-mart migration | /migrate-mart-plan → /migrate-mart |
Plan and execute a full mart end to end |
| Per-object migration | /scope-tables → /profile-tables → /generate-tests → /refactor-query → /generate-model |
Controlled per-stage processing with git automation |
- Quickstart
- Installation and Prerequisites
- Command Reference
- Troubleshooting and Error Codes
- Full wiki
See CONTRIBUTING.md for contributor setup, development workflow, and PR conventions.
Elastic License 2.0 — free to use, not available as a managed service.