[IMPORTANT] Use TaskCreate to break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ask user whether to skip.
Prerequisites: MUST READ before executing:
-
.claude/skills/shared/understand-code-first-protocol.md
-
.claude/skills/shared/evidence-based-reasoning-protocol.md
-
docs/project-reference/domain-entities-reference.md — Domain entity catalog, relationships, cross-service sync (read when task involves business entities/models)
Quick Summary
Goal: Create data or schema migrations following your project's platform patterns.
Workflow:
-
Analyze — Understand migration requirements and target database
-
Create — Generate migration following platform conventions
-
Verify — Run and validate the migration
Key Rules:
-
Follow platform migration patterns (EF migrations or project data migration executor, see docs/project-reference/backend-patterns-reference.md)
-
Always use understand-code-first protocol before creating migrations
Be skeptical. Apply critical thinking, sequential thinking. Every claim needs traced proof, confidence percentages (Idea should be more than 80%).
$ARGUMENTS
⚠️ MUST READ references/migration-patterns.md for migration patterns.
IMPORTANT: Present your migration design and wait for explicit user approval before creating files.
Example
/migration "Add department field to Employee entity"
IMPORTANT Task Planning Notes (MUST FOLLOW)
-
Always plan and break work into many small todo tasks
-
Always add a final review todo task to verify work quality and identify fixes/enhancements