agentleFS
lgzarturolgzarturo/codeconductor/.agents/skills/cc-db-migration/SKILL.md

cc-db-migration

Skill0 starsChanged 26 days agoMITView on GitHub

Migration request: $ARGUMENTS Invoke task-coach with the request above. The Task Card must classify the task as high risk and include: STOP here. Show the Task Card and wait for human confirmation. Invoke architect with the approved Task Card. architect must define the schema/data plan, operational sequencing, compatibility strategy, rollback/forward-fix notes, and test approach. STOP here. Show the Technical Plan and wait for explicit human approval. Invoke implementer with the approved plan. implementer must keep model and migration changes together,…

The file

Files
SKILL.md

Database Migration Workflow

Migration request: $ARGUMENTS

Step 1 — Task Card validation (task-coach)

Invoke task-coach with the request above.

The Task Card must classify the task as high risk and include:

  • tables, collections, models, or migration files in scope
  • data backfill or data cleanup requirements
  • deployment ordering and compatibility window
  • rollback or forward-fix strategy
  • lock risk, data risk, and verification commands

STOP here. Show the Task Card and wait for human confirmation.


Step 2 — Migration Plan (architect)

Invoke architect with the approved Task Card.

architect must define the schema/data plan, operational sequencing, compatibility strategy, rollback/forward-fix notes, and test approach.

STOP here. Show the Technical Plan and wait for explicit human approval.


Step 3 — Implementation (implementer)

Invoke implementer with the approved plan.

implementer must keep model and migration changes together, avoid unrelated refactors, and preserve the deployment order specified by architect.


Step 4 — Migration tests (tester)

Invoke tester.

tester must cover migration-sensitive behavior where the stack supports it, including happy path, existing-data edge cases, and rollback/forward-fix notes when automated rollback tests are not practical.


Step 5 — Review (reviewer)

Invoke reviewer.

reviewer must block on missing migration tests, missing data-risk notes, undocumented deployment sequencing, or model/migration drift.


Completion

Report migration files changed, model files changed, tests run, lock risk, data risk, operational sequencing, rollback/forward-fix notes, and residual risk.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.