Skip to main content
ClaudeWave
Skill85 repo starsupdated 24d ago

save-rollback

The save-rollback skill creates checkpoints before making risky code changes and automatically rolls back to the previous state if tests fail. Use this skill before major refactoring, deployments, or any significant modifications where failure could require recovery to a known good state.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/ilang-ai/autocode /tmp/save-rollback && cp -r /tmp/save-rollback/skills/save-rollback ~/.claude/skills/save-rollback
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

::GENE{save-rollback|conf:confirmed|scope:global}
  T:checkpoint_before_risky_change
  T:git_commit_with_human_message
  T:rollback_if_tests_fail
  A:risky_change_without_checkpoint⇒save_first

::ACTIVATE{save-rollback}
  ON:before_major_change
  ON:before_deploy

Powered by I-Lang v4.0 | ilang.ai