/orchestra:orchestra-dbt-slim-ci-setupfrom orchestra
Retrofits dbt Slim CI onto an existing Orchestra production dbt pipeline using latest_production, state:modified+, and --defer, with GitHub Actions run-pipeline as the primary CI trigger. Audits the account for earlier or partial attempts first and proposes consolidation.
Ships in orchestra. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Retrofit Slim CI onto an existing production dbt Orchestra pipeline (one pipeline for prod and CI). Generate or patch repo artifacts, validate pipeline YAML, and leave a verification checklist. Do not assume warehouse or Git connections can be created via API.
run-pipeline for dbt PR checks.After setup, failed PR checks or pipeline runs: start with identify-pipeline-error (SKILL.md) to find the failing task and cause; it routes dbt code/config issues to fix-pipeline-dbt-task (SKILL.md). Do not merge debug steps into this skill.
dbt_project.yml, profiles.yml, orchestra/, .github/workflows/. Outside: require repo URL, pipeline YAML path, and where GHA lives.dbt_branch, dbt_command (default = current prod command incl. --target ${{ ENV.DBT_TARGET }}), optional dbt_ci_schema_suffix passed to the task as DBT_CI_SCHEMA_SUFFIX, and max_active: ${{ ENV.DBT_PIPELINE_CONCURRENCY }} + on_limit: ${{ ENV.DBT_PIPELINE_ON_LIMIT }} so CI can run PRs in parallel while prod stays at 1 and merge-triggered deploys queue instead of being skipped. Git-backed: commit YAML; do not use update_pipeline. Orchestra-backed only: validate_pipeline then create_pipeline / update_pipeline.DBT_TARGET (ci / prod), DBT_PIPELINE_CONCURRENCY (e.g. 5 / 1) and DBT_PIPELINE_ON_LIMIT (QUEUE_LATEST / QUEUE; flag the cross-PR skip in references/retrofit-checklist.md before setting QUEUE_LATEST). Manual unless the environment MCP tools are available and the user approves.ci target alongside prod in the Orchestra dbt connection's profiles.yml (its schema is the per-PR prefix, e.g. ci → ci_123). Add or merge templates/dbt/generate_schema_name.sql and templates/dbt/drop_ci_schema.sql into macros/; if the project already overrides generate_schema_name, add only the ci branch. Projects with incremental models: add templates/dbt/selectors.yml. Bootstrap latest_production for that same dbt task (one successful run of it on the dbt repo default branch).cancel_on_exit: true, PR number as dbt_ci_schema_suffix), deploy job on merge (prod env, dbt_branch: main), and clean-up job dropping ci_<PR number> on close. Pin orchestra-hq/[email protected]+ (cancel_on_exit needs it). Incremental models: swap in the dbt_command values from templates/github-dbt-slim-ci-incremental.yml, after agreeing with the user whether CI starts from a dbt clone of production or from --defer alone — the two differ in test fidelity, run time, what ci_<PR number> ends up holding and what the ci role must reach (references/retrofit-checklist.md). Add --favor-state so a reverted model on a long-lived PR branch is read from production rather than from a stale CI relation. Ask how merges should deploy (rebuild modified, full refresh, or leave to the schedule) before keeping the deploy job. Separate pipeline repo: Action branch = pipeline YAML branch; dbt_branch only in run_inputs.ORCHESTRA_API_KEY secret; pipeline id as a secret or vars.ORCHESTRA_DBT_PIPELINE_ID. Warehouse creds stay in the Orchestra dbt connection, so GitHub never needs them — including for schema clean-up.validate_pipeline when definition available; dbt parse when possible. start_pipeline with Slim runInputs only with user approval.latest_production and never inherits production's. Split only if the user accepts separate artifact history and seeding it with a successful default-branch run of that task.dbt_command. On dbt v2 (dbt-oss>=2,<3 in requirements.txt / pyproject.toml) the command must use --select / -s — --models, --model and -m error out — and must not carry --partial-parse. The template default already uses -s; the risk is copying the project's existing prod command forward unchanged.--defer --state latest_production keeps working while prod and CI sit on different majors. Don't make the user finish a v2 upgrade before retrofitting Slim CI.latest_production.prod target or prod schemas; CI writes only to ci_<PR number>.Non-GitHub CI (document start_pipeline MCP tool / CLI as follow-up), new warehouse/Git OAuth setup, Lightdash preview CI, auto-fixing failing Slim CI runs. CI runs register ci_<PR number> tables as Orchestra assets; mention that the user can delete them (assets API / MCP) but do not automate it.
| Topic | URL |
|---|---|
| CI/CD for dbt Core | https://docs.getorchestra.io/docs/git-control-and-ci-cd/ci-cd/dbt_ci_cd |
latest_production artifacts (per dbt task) | https://docs.getorchestra.io/docs/git-control-and-ci-cd/ci-cd/dbt_ci_cd#dbt-artifacts-latest_production |
| GitHub Actions CI/CD | https://docs.getorchestra.io/docs/git-control-and-ci-cd/ci-cd/github_actions |
--defer for development workflows | https://docs.getorchestra.io/docs/git-control-and-ci-cd/ci-cd/dbt_ci_cd#use-defer-for-development-workflows |
| dbt Core execute | https://docs.getorchestra.io/docs/integrations/dbt_core/dbt_core_execute |
| Pipeline inputs | https://docs.getorchestra.io/docs/core-concepts/variables/inputs |
| dbt Core in Orchestra | https://docs.getorchestra.io/docs/guides/dbt-core/orchestra-setup |
| Running dbt v2 in Orchestra | https://docs.getorchestra.io/docs/guides/dbt-core/orchestra-setup#running-dbt-v2-in-orchestra |
Full input matrix and MCP steps: references/orchestra-slim-ci.md.
references/audit-existing-setup.md (opens in a new tab)references/completion-report.md (opens in a new tab)references/inputs-matrix.md (opens in a new tab)references/orchestra-slim-ci.md (opens in a new tab)references/retrofit-checklist.md (opens in a new tab)templates/dbt/drop_ci_schema.sql (opens in a new tab)templates/dbt/generate_schema_name.sql (opens in a new tab)templates/dbt/selectors.yml (opens in a new tab)templates/github-dbt-slim-ci-incremental.yml (opens in a new tab)templates/github-dbt-slim-ci.yml (opens in a new tab)templates/pipeline-inputs-snippet.yml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub orchestra-hq/orchestra-skills --plugin orchestra19 skills in this plugin
/account-health-checkAudit an Orchestra workspace/account against Orchestra's best practices and produce a read-only health report — findings grouped by area, each tagged with severity, evidence, and a fix recommendation, written to a markdown file plus a chat summary. Use whenever the user wants an "account review", "workspace audit", "health check", "best-practice review", "onboarding review", or asks "is my Orchestra set up correctly?", "what should I improve?", "are we following best practices?", "review my pipelines", or "audit my workspace". Also trigger when the user mentions reviewing pipeline design, environment/promotion setup, Git/CI-CD coverage, alerting coverage, connections/secrets hygiene, concurrency, cost, RBAC, repeated tasks (MetaEngine), metadata/lineage, auto-fix agents, or hybrid-deployment fit across their Orchestra account. This skill only inspects and reports — it never edits pipelines or changes settings.
/build-data-reconciliation-pipelineBuilds Orchestra pipeline YAML using the native Data Reconciliation tasks (DATA_RECONCILIATION_MANUAL_QUERY, DATA_RECONCILIATION_CURSOR_FIELD) to prove two data stores match — the "did the migration land correctly" check between a source and destination integration (SNOWFLAKE, SQL_SERVER, DATABRICKS, any pairing). Use whenever the user wants to compare, validate, or reconcile data across two systems for a migration, replatform, cutover, or CDC/replication setup — phrases like "make sure the migration matches", "reconcile Snowflake and Databricks", "validate the cutover", "did we lose any rows moving to the new warehouse", "set up drift monitoring", or any mention of Data Reconciliation / DataRec. Produces a one-off full-match validation pipeline plus, optionally, an ongoing cursor-field drift monitor. Don't use create-orchestra-pipeline for this — Data Reconciliation tasks have sharp edges (single-scalar results, thresholds that silently no-op if omitted) covered in this skill's references.
Other plugins' skills for the same job