Safe Rock SQL migration
Write forward + rollback SQL migrations the Rock way.
Need a quick read on Safe Rock SQL migration?
Skim the gist, what it's good for, a real prompt to try, and the gotchas — all distilled from SKILL.md. Cached after the first run.
About this skill
--- name: rock-sql-migration version: 1.0.1 description: Write forward + rollback SQL migrations the Rock way. triggers: - write a rock sql migration - new rock migration runtimes: - code tags: - rock - sql - migration - safety ---
# Safe Rock SQL migration
Generates Rock plugin SQL migrations (both forward and rollback scripts) that follow the Rock migration conventions: GUID-safe inserts, idempotent `WHERE NOT EXISTS` patterns, and paired rollback statements.
Also flags patterns that have burned us before — dropping NOT NULL columns without a default, cascading deletes on `Attribute`, etc.
## When to use
- "write a rock sql migration" - "new rock migration"
## Notes
This skill is published to the Triumph Skills Marketplace. Report issues or request features directly from the skill's page.