Claude Skill MartBrowse skillsWhat is a Skill?
Back to list

Git Master

An all-in-one Git skill that splits changes into atomic commits, drives safe rebases, and digs through history.

Dev & CodingIntermediate67,5315,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 log context 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 via git 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, automated git bisect run, and git log --follow to 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

  1. "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.
  2. "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-lease push command.
  3. "When was MAX_RETRY_COUNT removed?" — runs git log -S "MAX_RETRY_COUNT" --all --oneline, reports the deleting commit with author, date and diff excerpt, and suggests git show / git revert follow-ups.

· · · Install guide · · ·

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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.

  1. Open a terminal.
  2. Clone the repository into a temp folder: git clone https://github.com/code-yeongyu/oh-my-openagent.git /tmp/oh-my-openagent
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy just this skill: cp -r /tmp/oh-my-openagent/packages/skills-loader-core/src/features/builtin-skills/git-master ~/.claude/skills/
  5. Confirm that ~/.claude/skills/git-master/SKILL.md exists.
  6. Restart Claude Code and try a prompt like "commit my changes" or "who wrote this line?".
  7. On important branches, create a safety net first: git branch backup-my-work.
View source on GitHubLicense: NOASSERTION