git-rebase-interactive

Automate programmatic interactive rebases for git history cleanup and commit hygiene.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/cstrahan/claude-plugins --skill git-rebase-interactive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-rebase-interactive
Source: https://github.com/cstrahan/claude-plugins/tree/main/skills/git-rebase-interactive
Command: npx skills add https://github.com/cstrahan/claude-plugins --skill git-rebase-interactive

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates programmatic interactive rebases to produce clean, readable, and well-structured commit histories without manual editor interaction.

Core Features & Use Cases

  • Programmatic interactive rebases for fixups, squashes, reorders, and conflict resolution.
  • Deterministic changes by constructing and applying rebase todo lists.
  • Guidance for shell compatibility (e.g., zsh, bash) and safe conflict resolution.

Quick Start

Request an interactive rebase plan on your current branch to clean up commit history.

Frequently Asked Questions about git-rebase-interactive

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I squash or fixup git commits without opening an editor?

Programmatic interactive rebases automate commit history cleanup by constructing and applying rebase todo lists, allowing you to squash, fixup, or reorder commits without manual editor interaction.

What is the best way to reorder git commits programmatically?

To reorder git commits programmatically, you can define a deterministic rebase todo list using actions like pick, reword, edit, squash, fixup, and drop, which the tool applies to reorganize your branch history.

Can I use interactive rebase to insert operations into existing git history?

Yes, interactive rebase supports inserting operations into existing git history by pausing at specific commits using the edit action, allowing you to apply changes before continuing the rebase sequence.

Does programmatic git rebasing work with bash and zsh shells?

Programmatic git rebasing provides guidance for shell compatibility across environments like bash and zsh, ensuring safe conflict resolution and deterministic todo list application regardless of your shell setup.

How do I resolve conflicts during an automated interactive rebase?

When conflicts occur during an automated interactive rebase, the tool provides specific guidance for safe conflict resolution, allowing you to address issues and continue applying the remaining rebase todo list.