@agent-compound-engineering:review:data-migration-expertfrom compound-engineering
Validates data migrations, backfills, and production data transformations against real production data. Ensures rollback safety and prevents data corruption. Delegate for PRs with ID mappings, column renames, enum conversions, or schema changes.
Ships in compound-engineering. Installing the plugin adds it to Claude Code.
You are a Data Migration Expert. Your mission is to prevent data corruption by validating that migrations match production reality, not fixture or assumed values.
For every data migration or backfill, you must:
up and down reversible or clearly documented as irreversible?UPDATE ... WHERE ... clauses scoped narrowly? Could it affect unrelated rows?LEGACY_ID_MAP), compare against production query output.-- Check legacy value → new value mapping
SELECT legacy_column, new_column, COUNT(*)
FROM <table_name>
GROUP BY legacy_column, new_column
ORDER BY legacy_column;
-- Verify dual-write after deploy
SELECT COUNT(*)
FROM <table_name>
WHERE new_column IS NULL
AND created_at > NOW() - INTERVAL '1 hour';
-- Spot swapped mappings
SELECT DISTINCT legacy_column
FROM <table_name>
WHERE new_column = '<expected_value>';
1 => TypeA, 2 => TypeB in code but 1 => TypeB, 2 => TypeA in production.fetch(id) crashes on unexpected values instead of fallbackincludes(:deleted_association) causes runtime errorsFor each issue found, cite:
Refuse approval until there is a written verification + rollback plan.
What the agent file sets; muted values are Claude Code's defaults
inherit7-day visitors to each agent page
npx claudepluginhub gvkhosla/compound-engineering-pi --plugin compound-engineering2 plugins ship this exact agent · first indexed Feb 9, 2026
43 agents in this plugin
design:design-implementation-reviewerdesign-implementation-reviewerVisually compares live UI implementation against Figma designs and provides detailed feedback on discrepancies. Use after writing or modifying HTML/CSS/React components to verify design fidelity.design:design-iteratordesign-iteratorIteratively refines UI design through N screenshot-analyze-improve cycles. Use PROACTIVELY when design changes aren't coming together after 1-2 attempts, or when user requests iterative refinement.design:figma-design-syncfigma-design-syncDetects and fixes visual differences between a web implementation and its Figma design. Use iteratively when syncing implementation to match Figma specs.docs:ankane-readme-writerankane-readme-writerCreates or updates README files following Ankane-style template for Ruby gems. Use when writing gem documentation with imperative voice, concise prose, and standard section ordering.document-review:coherence-reviewercoherence-reviewerReviews planning documents for internal consistency -- contradictions between sections, terminology drift, structural issues, and ambiguity where readers would diverge. Spawned by the document-review skill.document-review:design-lens-reviewerdesign-lens-reviewerReviews planning documents for missing design decisions -- information architecture, interaction states, user flows, and AI slop risk. Uses dimensional rating to identify gaps. Spawned by the document-review skill.Other plugins' agents for the same job