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,…
In this repository219 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/behavioral-discipline.mdcCursor rule
- .cursor/rules/context-budget.mdcCursor rule
- .cursor/rules/orchestration.mdcCursor rule
- .cursor/rules/yagni-stdlib.mdcCursor rule
- androidSkill
- android-ui-designSkill
- api-versioningSkill
- astroSkill
- auth-token-inspectorSkill
- backlogSkill
- cc-api-contractSkill
- cc-featureSkill
- cc-fixSkill
- cc-pagespeedSkill
- cc-refactorSkill
- cc-reviewSkill
- cc-spec-mutationSkill
- cc-tdd-cycleSkill
- cc-test-planSkill
- code-reviewSkill
- commitSkill
- conductor-setupSkill
- councilSkill
- database-migrationsSkill
- django-ormSkill
- django-testingSkill
- django-uvSkill
- drizzle-schema-architectSkill
- evaluationSkill
- fastapi-pydantic-strictSkill
- find-skillsSkill
- jpa-nplusone-detectorSkill
- jpa-postgresSkill
- laravel-specialistSkill
- livewire-alpine-bridgeSkill
- multi-agent-orchestrationSkill
- nextjs-typescriptSkill
- openspecSkill
- pagespeed-insightsSkill
- pagespeed-perfSkill
- php-proSkill
- python-django-stackSkill
- python-fastapi-stackSkill
- pythonSkill
- rust-asyncSkill
- rust-engineeringSkill
- rust-sqlxSkill
- security-ai-llmSkill
- security-blue-teamSkill
- security-cloudSkill
- security-cryptoSkill
- security-exploit-devSkill
- security-grcSkill
- security-incident-responseSkill
- security-log-analysisSkill
- security-malware-analysisSkill
- The first 60 shown.
The file
Files
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.
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
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.

