This skill should be used when the user wants to clean up a feature branch's history using git-hex (squash/fixup commits, reorder/drop/split commits, or rebase a branch onto main) without using an interactive terminal. Trigger phrases include: "clean up my branch", "polish history", "squash these commits", "fixup commits", "rebase onto main", "rewrite commits".
Rewrites git branch history without an interactive terminal. Use this to squash/fixup commits, reorder, or rebase onto main when users say "clean up my branch" or "polish history".
/plugin marketplace add yaniv-golan/git-hex/plugin install git-hex@git-hex-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
This skill should be used when:
main) and present
a clean, reviewable set of commits.Trigger phrases include: "clean up my commits", "squash fixups", "polish history", "rewrite commits", "rebase onto main", "make this branch reviewable".
Plan first
git-hex-getRebasePlan to inspect the commit range you would modify.git-hex-checkRebaseConflicts to estimate whether the rebase
is likely to conflict.Prepare changes
git-hex-amendLastCommit.git-hex-createFixup targeting the original commit.git-hex-splitCommit to separate files
into focused commits.Apply the rewrite
git-hex-rebaseWithPlan to reorder, drop, squash, or reword commits.autoStash: true and autosquash: true when the working tree is dirty,
following git-hex documentation.Safety and recovery
git-hex-undoLast to restore
the previous state using git-hex backup refs.git-hex-getRebasePlan, git-hex-checkRebaseConflictsgit-hex-rebaseWithPlan, git-hex-createFixup,
git-hex-amendLastCommit, git-hex-splitCommit, git-hex-cherryPickSinglegit-hex-undoLastreword action requires message field (without it, git opens an editor → hang).requireComplete: true in the plan.fixup over squash unless you need to combine commit messages.amendLastCommit, splitCommit, cherryPickSingle) expose stashNotRestored when stash pop failed; rebaseWithPlan uses Git's native --autostash and does not emit this flag.Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.