Resources
4Install
npx skillscat add navanithans/agent-skill-kit/ask-db-migration-assistant Install via the SkillsCat registry.
SKILL.md
❌ NO running migration without user confirmation
❌ NO migration without rollback script
✅ MUST create both up and down scripts
✅ MUST use timestamp/sequence naming
✅ MUST present both scripts for review before execution
</critical_constraints>
1. **Draft Up Script**: SQL to apply change
2. **Draft Down Script**: SQL to undo change
3. **Review**: Present both to user
4. **Confirm**: Wait for explicit approval before running
- Migration: `migrations/20260118_add_users_table.sql`
- Rollback: `migrations/20260118_add_users_table_rollback.sql`
User: "Add email column to users"
Up:
ALTER TABLE users ADD COLUMN email VARCHAR(255);Down:
ALTER TABLE users DROP COLUMN email;