From ad-migration
Use internally when /refactor-mart dispatches one approved Type: stg candidate
npx claudepluginhub accelerate-data/migration-utilityThis skill uses the workspace's default tool permissions.
Apply one approved staging candidate and update only that candidate section.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Builds scalable data pipelines, modern data warehouses, and real-time streaming architectures using Spark, dbt, Airflow, Kafka, and cloud platforms like Snowflake, BigQuery.
Builds production Apache Airflow DAGs with best practices for operators, sensors, testing, and deployment. For data pipelines, workflow orchestration, and batch job scheduling.
Apply one approved staging candidate and update only that candidate section.
Parse exactly two positional arguments:
<plan-file> <candidate-id>
Read references only when needed:
references/staging-validation-contract.md before deciding scope, rewrites, validation, or status writeback.references/status-writeback.md before updating plan status.PLAN_NOT_FOUND.CANDIDATE_NOT_FOUND.Targets plus the candidate Output: and Validation: model names, then scan matching catalog table and view entries for unresolved diagnostics with severity: "error". If any exist, stop with CATALOG_ERRORS_UNRESOLVED, report the catalog object and error code, and do not apply, validate, or update the candidate.- [x] Approve: yes: stop with CANDIDATE_NOT_APPROVED.Type: is not stg: stop with NON_STAGING_CANDIDATE; do not change execution status.Output: for a stg_* model: mark this candidate blocked.blocked.## Candidate: <candidate-id>.Output: and Validation:.references/staging-validation-contract.md.stg_* model.stg_* model with ref().Validation:.references/status-writeback.md.Report:
applying-staging-candidate complete -- <candidate-id>
status: applied|failed|blocked
validation: <command or reason>
plan: <plan-file>