Surgical Revert

SkillDev tools

Undo a bad change without nuking unrelated work. Use when a specific commit or change broke something.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Surgical Revert skill

What this skill tells your AI

The instructions your AI receives, as published by archive228/loopkit in skills/revert-surgical/SKILL.md and read by ahel’s review.

Don't git reset --hard away three good commits to undo one bad one.

  • Single commitgit revert <sha> creates an inverse commit; history stays intact and shared-branch-safe.
  • One file from a commitgit checkout <good-sha> -- path/to/file.
  • Hunk-levelgit checkout -p to revert specific changes, keep the rest.
  • A mergegit revert -m 1 <merge-sha> (pick the mainline parent). On a shared branch, always revert (forward), never rewrite history. Reproduce the breakage first so you revert the RIGHT thing, then verify the revert actually fixes it.

Signals

GitHub stars
754
Forks
126
Last commit
Jul 2026
Advanced
Catalog kind
skill
Gateway key
revert-surgical
Source
github.com/archive228/loopkit