Rollback planning
Skill bensonmaxai/minis-coding-success-skills/skills/rollback-planning
Coding-success skills for Minis on iOS: review risk, plan, isolate, trace, test, verify, optimize, finish, release, deploy, triage incidents, plan rollback, write postmortems, and use observability more effectively.
npx -y skills add bensonmaxai/minis-coding-success-skills --skill rollback-planningAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when a release, change, or incident response may require rollback and you need to plan the safest reversal path. Optimized for Minis on iOS: identify what is reversible vs irreversible, reduce blast radius, define rollback triggers, sequence rollback steps safely, and avoid making an already-bad situation worse.
SKILL.md
5.5 KB, as published. Nobody here has run it
Rollback Planning
Use this skill when reverting, rolling back, or falling back may be safer than pushing forward.
Goal
Increase recovery success rate by answering these questions before acting:
- what exactly would be rolled back
- what can be reversed safely
- what cannot be reversed cleanly
- what the rollback trigger should be
- what order of operations is safest
- what evidence confirms rollback success
Core Rules
1. Define the rollback unit clearly
Before planning rollback, restate the unit:
- code change
- branch or commit range
- config change
- deployment artifact
- generated data or migration effect
- user-visible feature flag or route behavior
If the rollback unit is unclear, the rollback itself is risky.
2. Separate reversible from irreversible changes
Not everything can be cleanly rolled back.
Classify changes such as:
- code and config changes
- schema or migration changes
- generated files or cached artifacts
- external side effects
- user data changes
- one-way integrations or notifications already sent
A rollback plan must state what can be reversed and what requires mitigation instead.
3. Prefer rollback criteria over panic
Do not rollback just because something feels wrong.
Define triggers such as:
- severity threshold
- blast radius threshold
- failed health/validation checks
- inability to stabilize with a hotfix
- unacceptable correctness, availability, or performance regression
4. Sequence the rollback safely
Prefer the smallest rollback that reduces impact fastest.
Plan the order explicitly:
- what to stop or disable first
- what to revert next
- what to verify immediately after
- what to communicate or document after rollback
5. Preserve evidence before changing the scene
Before rollback, capture the minimum evidence needed for later debugging:
- symptom summary
- affected scope
- current version/commit/config state
- recent trigger or release association
- current logs/errors if relevant
Do not erase the incident picture before preserving enough context.
6. Verify rollback success explicitly
Rollback is not complete just because the previous version was restored.
Confirm:
- the bad symptom is gone or reduced
- the intended fallback path works
- no new incident was introduced
- the remaining caveats are known
Minis-Specific Workflow
Shell-first rollback checks
Use shell commands to:
- inspect current branch/commit/diff state
- identify recent releases or changes
- compare current and last-known-good state
- verify which files/config changed
- confirm the rollback target exists and is well understood
Browser-assisted rollback verification
For web incidents:
- confirm whether the user-visible symptom disappears after rollback
- verify fallback route/page behavior
- confirm the rollback did not introduce a different visible failure
Smallest-safe-reversal bias
On Minis, prefer rollback plans that are:
- explicit
- narrow in scope
- easy to verify
- reversible again if needed
Avoid broad, unclear reversions under pressure.
Rollback Planning Sequence
Use this order:
- Restate the incident/change and rollback target.
- Identify rollback trigger and urgency.
- Classify reversible vs irreversible effects.
- Choose the smallest effective rollback scope.
- Define rollback steps in order.
- Define immediate verification checks.
- List remaining caveats and follow-up debugging path.
Common Rollback Failures
Watch for:
- rolling back too broadly when a narrower containment option exists
- reverting code but not config or assets
- ignoring one-way side effects already emitted
- losing useful evidence before rollback
- not verifying the rollback actually fixed user impact
- introducing a second problem while undoing the first
- no clear last-known-good reference
Integration with Other Skills
- Use
incident-triagefirst to assess severity, blast radius, and whether rollback is actually the right next step. - Use
deployment-verificationto confirm the rollback target or fallback path behaves correctly in the target-like environment. - Use
release-readinesslater if the reverted or replacement state needs a new go/no-go judgment. - Use
root-cause-tracingafter stabilization if deeper debugging is still needed. - Use
agent-security-guardif rollback involves production actions, secrets, or risky system changes.
Completion Checklist
Before calling the rollback plan ready, check:
- Is the rollback target clearly identified?
- Are rollback triggers explicit?
- Are reversible vs irreversible effects separated?
- Is the rollback scope as small as practical?
- Are verification steps clear?
- Are remaining caveats and follow-up steps documented?
Response Template
- Rollback target:
- Rollback trigger:
- Reversible effects:
- Irreversible or mitigation-needed effects:
- Rollback steps:
- Verification checks:
- Remaining caveats:
- Suggested next step:
Example Triggers
- "If we need to rollback, what is the safest plan?"
- "Help me decide the smallest rollback that reduces impact."
- "Plan a rollback for this release without making things worse."
- "Which parts of this change are reversible vs irreversible?"
- "Define rollback criteria and verification steps for this incident."