| name | db-migration |
| description | Reusable method for applying schema migrations in a staging environment. Use when the task is a bounded schema change with a known script.
|
DB Migration Skill
Use this when the task is a schema migration with a known script and a
defined target environment.
Method
- Confirm the target environment and script path.
- Run the migration script.
- Verify the schema matches the expected state.
- Report what changed.
Avoid
- Running against production without explicit approval.
- Applying more than one migration per task.
Output
Environment:
Script applied:
Schema diff:
Verification:
Residual risk:
Lesson candidate: