/safety-pack:rollback-planfrom safety-pack
Use before a risky or hard-to-undo change - a deploy, a migration, a dependency upgrade, a large refactor, a config or environment change - or when the user asks "how do I undo this", "what if it breaks" or "is there a way back". Writes a short rollback plan and checks that the way back works.
Ships in safety-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Write the way back before you take the step forward.
| Touches | Way back | Check |
|---|---|---|
| Code | git revert of the merge or commit. Work on a branch. | The branch or commit hash exists. |
| Dependencies | Restore the lockfile from git. Reinstall. | The old lockfile is in git history. |
| Data | Restore from a backup taken before the change. | The backup file exists and has a size. |
| Config or env | Keep the old value in the plan. Restore it. | The old value is written down. |
| Deploy | Redeploy the previous version or use the host's rollback. | The previous version is still available. |
| External service | Note the manual undo, or say that none exists. | The user knows. |
For database changes, also use the db-migration-safe skill.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub iah-uch/clanker-pack --plugin safety-pack6 skills in this plugin
/db-migration-safeUse when changing a database schema or data - adding, renaming or dropping a table or column, changing a column type, writing a migration file, running a backfill, or resetting a database. Makes the change safe: backup first, small reversible steps, a dry run, and a way back./deploy-recipesUse when the user wants to deploy, publish, host or put an app online - to Vercel, Netlify, Cloudflare, Fly.io, Railway, Render, a VPS or any other host. Gives a provider-neutral pre-deploy gate, environment-variable rules and a post-deploy check. Uses the host's current docs for provider commands./explain-the-diffUse when the user asks "what did you change", "what did you just do", "explain this diff", "is this safe to accept" or "what could break", or when a change touches many files and the user does not read code. Explains the real diff in plain language, with the risk of each change./git-safety-netUse before a large edit, refactor, rename across many files, bulk change, multi-file change or risky experiment in a git repository, especially when uncommitted edits exist, or when the user says "don't break anything", "I'm scared of losing my work" or "undo that". Sets a checkpoint so any change can be undone, and keeps work off the main branch./ship-checklistUse before you say a feature is done, before a commit or push, before a deploy, or when the user says "ship it", "is this ready", "can I publish this" or "check my work". Checks the diff for leaked secrets, missing auth, unvalidated input, unsafe dependencies and missing tests. Reports each result in plain language.