Git Master
A Git-focused skill for atomic commits, safe rebases, and evidence-backed history forensics.
Dev & CodingIntermediate★ 67,531⑂ 5,507AI score 8/10Last updated: Aug 9, 2026
What it does
git-master gives Claude Code a rigorous playbook for Git work. It first classifies the request into one of four modes:
- COMMIT – read the full diff, group changes by behavior/module, and create multiple atomic commits.
- REBASE – rebase, squash, fixup/autosquash, reorder or split commits.
- HISTORY – answer who/when/why questions with
git log -S/-G,blame,--follow,bisect, andreflog. - STATUS – inspect branch, diff, and worktree state without changing anything.
It also detects the repo's existing commit-message style instead of forcing Conventional Commits, requires --force-with-lease over --force, forbids rewriting main/master/release branches unless explicitly requested, and demands a known recovery path plus verification before finishing.
Who it's for
- Developers who want clean, per-concern commits but dislike manual hunk staging.
- Anyone who avoids rebase/squash/fixup out of fear of breaking history.
- Teams doing code archaeology on legacy repositories.
- Projects that want an AI assistant to respect their commit conventions automatically.
Examples
- "Commit my working changes, grouped by concern" → produces several atomic commits and reports hashes, messages, and any files left uncommitted.
- "When was this
featureFlagstring introduced?" → runsgit log -S "featureFlag"and cites the commit hash, subject, and diff context as evidence. - "Fold this typo fix into the earlier commit" →
git commit --fixup=<hash>plusGIT_SEQUENCE_EDITOR=: git rebase -i --autosquash <base>, asking first before any force-push of already-pushed commits.
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the packages/shared-skills/skills/git-master folder from the GitHub repo code-yeongyu/oh-my-openagent into my ~/.claude/skills/code-yeongyu-git-master/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/code-yeongyu/oh-my-openagent.git && mkdir -p ~/.claude/skills && cp -r oh-my-openagent/packages/shared-skills/skills/git-master ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and go to a temporary folder, e.g.
cd ~/Downloads - Clone the repository:
git clone https://github.com/code-yeongyu/oh-my-openagent.git - Create the skills directory if needed:
mkdir -p ~/.claude/skills - Copy just this skill:
cp -r oh-my-openagent/packages/shared-skills/skills/git-master ~/.claude/skills/ - Verify the install:
ls ~/.claude/skills/git-master - Restart Claude Code, open a Git repository, and try: "Split my changes into atomic commits."
- (Safety tip) Before letting it rewrite history, create a backup branch:
git branch backup/my-work.
View source on GitHub ↗License: NOASSERTION