mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-04 08:13:30 +08:00
35 lines
875 B
Markdown
35 lines
875 B
Markdown
---
|
|
name: database-migration
|
|
description: Workflow command scaffold for database-migration in everything-claude-code.
|
|
allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"]
|
|
---
|
|
|
|
# /database-migration
|
|
|
|
Use this workflow when working on **database-migration** in `everything-claude-code`.
|
|
|
|
## Goal
|
|
|
|
Database schema changes with migration files
|
|
|
|
## Common Files
|
|
|
|
- `migrations/*`
|
|
|
|
## Suggested Sequence
|
|
|
|
1. Understand the current state and failure mode before editing.
|
|
2. Make the smallest coherent change that satisfies the workflow goal.
|
|
3. Run the most relevant verification for touched files.
|
|
4. Summarize what changed and what still needs review.
|
|
|
|
## Typical Commit Signals
|
|
|
|
- Create migration file
|
|
- Update schema definitions
|
|
- Generate/update types
|
|
|
|
## Notes
|
|
|
|
- Treat this as a scaffold, not a hard-coded script.
|
|
- Update the command if the workflow evolves materially. |