Git Master
An all-in-one Git skill that splits changes into atomic commits, drives safe rebases, and digs through history.
Dev & CodingIntermediate★ 67,531⑂ 5,507AI score 8/10Last updated: Aug 9, 2026
What it does
The skill routes any Git request into one of three modes:
- COMMIT mode: gathers
git status/git logcontext in parallel, detects the repo's commit style (semantic / plain / short) and dominant language, then groups changed files by directory, concern and dependency level into several atomic commits. It forces a printed commit plan plus a written justification for every multi-file commit before executing. - REBASE mode: squash, autosquash of
fixup!commits,rebase --onto, reordering, conflict resolution, and recovery viagit rebase --abort/git reflog. It refuses to rebase main/master and always prefers--force-with-lease. - HISTORY SEARCH mode:
git log -S(pickaxe),git log -G(regex),git blame -L/-C, automatedgit bisect run, andgit log --followto answer "who wrote this", "when was X added", "which commit introduced the bug".
Who it's for
- Developers who habitually dump everything into one giant commit and want reviewable history
- Teams that need commit messages to match existing repo conventions automatically
- Anyone not yet fluent with rebase, squash, or bisect who wants a guided, safe procedure
Examples
- "Commit my work" — 12 changed files become 5 commits split across app layer, components, tests and i18n, each message matching the style detected from the last 30 commits.
- "Clean up this branch and rebase onto main" — verifies commits are local, autosquashes fixups, runs
git rebase origin/main, then prints the exact--force-with-leasepush command. - "When was
MAX_RETRY_COUNTremoved?" — runsgit log -S "MAX_RETRY_COUNT" --all --oneline, reports the deleting commit with author, date and diff excerpt, and suggestsgit show/git revertfollow-ups.
· · · 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/skills-loader-core/src/features/builtin-skills/git-master folder from the GitHub repo code-yeongyu/oh-my-openagent into my ~/.claude/skills/code-yeongyu-git-master-2/. 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 /tmp/oh-my-openagent && mkdir -p ~/.claude/skills && cp -r /tmp/oh-my-openagent/packages/skills-loader-core/src/features/builtin-skills/git-master ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository into a temp folder:
git clone https://github.com/code-yeongyu/oh-my-openagent.git /tmp/oh-my-openagent - Create the skills directory:
mkdir -p ~/.claude/skills - Copy just this skill:
cp -r /tmp/oh-my-openagent/packages/skills-loader-core/src/features/builtin-skills/git-master ~/.claude/skills/ - Confirm that
~/.claude/skills/git-master/SKILL.mdexists. - Restart Claude Code and try a prompt like "commit my changes" or "who wrote this line?".
- On important branches, create a safety net first:
git branch backup-my-work.
View source on GitHub ↗License: NOASSERTION