Rebase Safely

SkillDev tools

Rebase, squash, or rewrite history without losing work or breaking shared branches. Use before any history rewrite.

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 Rebase Safely skill

What this skill tells your AI

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

  1. Backup firstgit branch backup/<name> before any rewrite. Free undo.
  2. Rebase onto the latest base: git fetch; git rebase origin/main.
  3. Resolve conflicts one commit at a time. Test after the rebase, not just that it "completed".
  4. Never rewrite shared history — if others pulled the branch, rebasing it forces them into pain. Rewrite only your own un-pushed/un-shared commits.
  5. Push with --force-with-lease, never bare --force (lease refuses if someone else pushed). If anything goes sideways: git reflog finds the pre-rebase state; git reset --hard backup/<name> restores it.

Signals

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