rollback-strategy
Design rollback and forward-recovery for releases by identifying reversible surfaces, data/schema constraints, compatibility windows, triggers, decision…
от Dadmin88★ 52 звезды на GitHub
Установить rollback-strategy в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Rollback Strategy
Use this procedure when requested or when the change warrants it. For routine changes, use the authorized delivery path and a focused check.
Use before releases where a bad change could materially affect users, data, availability, security, or dependent systems.
Procedure
- Identify everything the release changes: application artifact, configuration, schema/data, infrastructure, queues/events, caches, external contracts, feature flags, and irreversible side effects.
- Classify each surface as directly reversible, reversible only within a compatibility window, forward-recovery-only, or externally irreversible.
- Define the last known-good artifact/configuration and prove it can still run against the state that will exist after the new release begins.
- Design database/schema changes for the required mixed-version window when rollback is expected. Avoid destructive transformations before older code can safely be retired unless a forward-only migration is explicitly accepted.
- Define rollback triggers from observable service/user behavior and specify who or what is authorized to make the decision.
- Automate or document the exact recovery sequence, including traffic shift, artifact/config revert, feature disablement, queue handling, cache behavior, and any required data reconciliation.
- Preserve diagnostic evidence before rollback when possible so service restoration does not erase the cause.
- Define validation after recovery: user-critical flows, data integrity, background work, external integrations, and monitoring returning to expected behavior.
- Test the rollback or recovery mechanism in a representative environment, especially when releases change stateful components.
- Record cases where rollback is unsafe and the required forward-recovery procedure instead of presenting a false one-click promise.
Decision rules
- Rollback is a system property, not merely deploying the previous binary.
- Data and external side effects often determine whether rollback is truly possible.
- Feature flags reduce blast radius only when both paths remain tested and operational.
- Restore service first when necessary, then preserve enough evidence and ownership to complete root-cause work.
Quality gate
The strategy is credible when reversible and irreversible surfaces are known, the previous version is compatible with reachable state or forward recovery is explicit, triggers and authority are clear, the procedure has been exercised, and validation proves the recovered system rather than assuming the old artifact restored everything.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл rollback-strategy?
Design rollback and forward-recovery for releases by identifying reversible surfaces, data/schema constraints, compatibility windows, triggers, decision authority, and post-recovery validation.
Как установить скилл rollback-strategy?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rollback-strategy запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…