Rewrite History banner
0xBigBoss 0xBigBoss

Rewrite History

Git community

Description

Reimplement the current branch with a clean, narrative-quality git commit history suitable for reviewer comprehension. Execute each step fully before proceeding to the next. ## Determine Branch Name First, determine the current branch name: !git branch --show-current Store this value and use it wherever `{branch_name}` appears in subsequent steps. ## Determine Default Branch First, determine the repository's default branch: !gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'

Installation

Installs to ~/.claude/skills/0xbigboss-claude-code-rewrite-history/SKILL.md

Terminal
mkdir -p ~/.claude/skills/0xbigboss-claude-code-rewrite-history && curl -fsSL https://raw.githubusercontent.com/0xBigBoss/claude-code/HEAD/commands/rewrite-history.md -o ~/.claude/skills/0xbigboss-claude-code-rewrite-history/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository