skills/smithery.ai/clean-history

clean-history

Installation
SKILL.md

Clean History

Reimplement the current branch on a new branch with a clean, narrative-quality git commit history.

Context

  • Source branch: !git branch --show-current
  • Git status: !git status --short
  • Default branch: !git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || git config init.defaultBranch || echo main
  • Remote branches: !git branch -r --list 'origin/main' 'origin/master' 2>/dev/null | head -1 | sed 's/.*origin\///'

Task

Reimplement the current branch on a new branch with a clean, narrative-quality git commit history suitable for reviewer comprehension.

New Branch Name: Use $ARGUMENTS if provided, otherwise {source_branch}-clean.

Installs
1
First Seen
Mar 20, 2026
clean-history from smithery.ai