From git-tools
Non-interactive git history manipulation using git-branchless. Use when rewording commits, squashing, splitting, reordering, or recovering from mistakes. Provides reliable commands that AI agents can execute without interactive prompts. ALWAYS prefer these commands over git rebase -i, git add -p, or sed-based workarounds.
npx claudepluginhub wgordon17/personal-claude-marketplace --plugin git-toolsThis skill is limited to using the following tools:
This skill provides comprehensive reference for git-branchless commands that AI agents can execute reliably without interactive prompts.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
This skill provides comprehensive reference for git-branchless commands that AI agents can execute reliably without interactive prompts.
Traditional git history commands fail for AI agents because:
git rebase -i opens an editorgit add -p requires interactive hunk selectionsed with GIT_SEQUENCE_EDITOR is platform-dependent and fragilegit revise has no -m flaggit-branchless provides non-interactive alternatives for ALL these operations.
# Install (if not already)
brew install git-branchless
# Initialize in repo (required once per repo)
git branchless init
| Operation | Command | Notes |
|---|---|---|
| Reword | git reword -m "message" <sha> | Non-interactive with -m flag |
| Move | git branchless move -s <src> -d <dest> | Moves commit and descendants |
| Move exact | git branchless move -x <sha> -d <dest> | Moves only specified commit |
| Squash | git branchless move --fixup -x <src> -d <dest> | Experimental |
| Split | Manual reset workflow | See BRANCHLESS.md |
| Create | git branchless record -m "message" | No editor |
| Undo | git branchless undo --yes | No confirmation prompt |
| View | git sl | Smart log (commit graph) |
| Restack | git restack | Repair commit graph after manual ops |
For detailed documentation, see BRANCHLESS.md