Claude Skill MartBrowse skillsWhat is a Skill?
Back to list

Git Master

A Git-focused skill for atomic commits, safe rebases, and evidence-backed history forensics.

Dev & CodingIntermediate67,5315,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, and reflog.
  • 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

  1. "Commit my working changes, grouped by concern" → produces several atomic commits and reports hashes, messages, and any files left uncommitted.
  2. "When was this featureFlag string introduced?" → runs git log -S "featureFlag" and cites the commit hash, subject, and diff context as evidence.
  3. "Fold this typo fix into the earlier commit" → git commit --fixup=<hash> plus GIT_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)
  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/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.

  1. Open a terminal and go to a temporary folder, e.g. cd ~/Downloads
  2. Clone the repository: git clone https://github.com/code-yeongyu/oh-my-openagent.git
  3. Create the skills directory if needed: mkdir -p ~/.claude/skills
  4. Copy just this skill: cp -r oh-my-openagent/packages/shared-skills/skills/git-master ~/.claude/skills/
  5. Verify the install: ls ~/.claude/skills/git-master
  6. Restart Claude Code, open a Git repository, and try: "Split my changes into atomic commits."
  7. (Safety tip) Before letting it rewrite history, create a backup branch: git branch backup/my-work.
View source on GitHubLicense: NOASSERTION