rollback
Skill1 starsChanged 2 months agoMITView on GitHub
Get production back to a known-good state fast and safely — flip the flag or redeploy the previous artifact, deal with migrations that can't be un-run, verify recovery, then follow up with a postmortem. Use when a deploy has caused an incident, when asked to "roll back" / "revert prod", or when the rollback trigger from a deploy fires.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- synaptiai/agent-capability-standardtheir own version, first seen Nov 1, 2026
- harshanandak/forge-legacytheir own version, first seen Oct 17, 2026
- elfrost/ai-patchlabtheir own version, first seen Oct 13, 2026
- purpleeddy/claddingtheir own version, first seen Oct 11, 2026
- popup-studio-ai/bkit-claude-codetheir own version, first seen Oct 8, 2026
- kapadias/nonnatheir own version, first seen Oct 1, 2026
Used with
Projects with it also use plan, status and 2 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 4 projects that use this
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 3 projects that use this
AWSSkillship
Finalize dev work on an issue branch — update docs, push, and open a PR.
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 3 projects that use this
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- suboss87/FDEOps★ 940same name
- popup-studio-ai/bkit-claude-code★ 605same name
- ww-w-ai/bkit-claude-code★ 605same name
- ww-w-ai/bkit-gemini★ 66same name
- nahid-sparktales/agent-dispatcher★ 59same name
- purpleeddy/cladding★ 16same name
- synaptiai/agent-capability-standard★ 6same name
- harshanandak/forge-legacy★ 4same name
- elfrost/ai-patchlab★ 1same name
- kapadias/nonna★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository73 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bigquery-analyticsSkill
- cache-invalidationSkill
- mongo-aggregationSkill
- mongo-modelingSkill
- postgres-aggregationSkill
- postgres-indexingSkill
- redis-coordinationSkill
- redis-patternsSkill
- review-querySkill
- code-migrationSkill
- cut-releaseSkill
- data-migrationSkill
- deploy-serviceSkill
- hotfixSkill
- design-endpointSkill
- design-eventSkill
- design-schemaSkill
- evolve-contractSkill
- scaffold-nestjs-moduleSkill
- scaffold-projectSkill
- incident-responseSkill
- investigate-bugSkill
- on-callSkill
- postmortemSkill
- audit-skillsSkill
- distill-review-styleSkill
- write-skillSkill
- debug-with-tracesSkill
- define-alertsSkill
- instrument-serviceSkill
- evaluate-dependencySkill
- grillSkill
- handoffSkill
- orientSkill
- phased-deliverySkill
- spikeSkill
- to-questionnaireSkill
- write-adrSkill
- write-prdSkill
- devops-pr-reviewSkill
- go-backend-pr-reviewSkill
- nestjs-backend-pr-reviewSkill
- python-backend-pr-reviewSkill
- react-frontend-pr-reviewSkill
- bisectSkill
- break-couplingSkill
- dead-code-sweepSkill
- deslopifySkill
- extract-moduleSkill
- rebase-cleanSkill
- resolve-merge-conflictsSkill
- split-commitSkill
- tddSkill
- wait-whatSkill
- wide-renameSkill
- bullmqSkill
- kafkaSkill
- sqs-consumerSkill
- audit-dependenciesSkill
- The first 60 shown.
The file
Files
Roll back
Speed matters, but a careless rollback can make it worse (especially with
migrations). Have the plan from deployment/deploy-service; this executes it.
Decide the mechanism (fastest safe option first)
- Feature flag off — if the change was flagged, one flip returns to the old path instantly, no deploy. This is why risky changes get flags.
- Redeploy the previous artifact — the last known-good image/tag. Fast, clean, if there's no incompatible schema change.
- Revert commit + deploy —
git revertthe merge, ship it. Slower (full pipeline) but sometimes the only option.
The migration problem
- Additive migration (new nullable column, new table) — safe to leave; the old code ignores it. Roll back code only.
- Destructive / transforming migration already run — you usually cannot roll the schema back without data loss. Options: roll forward with a fix instead; or restore from backup (last resort, has its own data-loss window).
- This is why migrations are additive and decoupled from the deploy — so a code rollback doesn't need a schema rollback.
Execute
- Announce it (incident channel): what, why, ETA.
- Do the rollback.
- Verify recovery — the error rate / latency / the affected metric returns to baseline. Not just "the deploy finished".
- Confirm no new problem introduced (e.g. old code + new data).
- Hold the fixed version out of prod until the root cause is understood — don't immediately redeploy forward.
After
- Timeline the incident while it's fresh →
incident/postmortem. - The bad change gets a real fix + a test before it ships again.
Anti-patterns
- ❌ Rolling back code while a destructive migration stays applied (old code, new schema → new breakage).
- ❌
git revert+ full pipeline when a flag flip would've been instant. - ❌ "Recovered" declared because the deploy succeeded, not because the metric recovered.
- ❌ Immediately redeploying the fix forward without understanding the cause.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

