Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

Git Master

A disciplined Git operator for atomic commits, safe rebases, and evidence-backed history investigation.

Dev & CodingIntermediate67,5315,507AI score 10/10Last updated: Aug 9, 2026

What it does

  • Classifies every request into one of four modes — COMMIT, REBASE, HISTORY, STATUS — and refuses to write history unless you explicitly asked for it.
  • Commit mode: detects the repo's existing message style, reads the full diff (not just filenames), and splits work into atomic commits grouped by behavior, module, and revertability, verifying git diff --staged --stat before each commit.
  • Rebase mode: blocks rewriting main/master/dev/protected branches, mandates --force-with-lease over plain --force, resolves conflicts by intent, and always knows the recovery path (rebase --abort, reflog).
  • History mode: picks the right forensic tool (log -S, log -G, blame -L, log --follow, show, bisect, reflog) and cites hash, subject, path, and diff context as evidence.

Who it's for

  • Developers who want a clean, reviewable commit log instead of one giant catch-all commit.
  • Anyone nervous about rebase, squash, or force-push and wanting guardrails.
  • Reviewers and maintainers who regularly answer "who changed this line and when?"

Examples

  1. "Commit my current changes" → reads the whole diff, groups feature code + its tests into one commit and unrelated config/docs into separate ones, then reports hashes and leftover dirty files.
  2. "When did this error message change?" → runs git log -S "message text", confirms with git show, and answers with the commit hash, author, and diff snippet.
  3. "Squash my last few WIP commits" → uses git commit --fixup=<hash> plus GIT_SEQUENCE_EDITOR=: git rebase -i --autosquash <base>, asking first if the branch was already pushed.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/HEAD/packages/shared-skills/skills/git-master/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

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 /tmp/oh-my-openagent && mkdir -p ~/.claude/skills && cp -r /tmp/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.
  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 the skill: cp -r /tmp/oh-my-openagent/packages/shared-skills/skills/git-master ~/.claude/skills/
  5. Verify with ls ~/.claude/skills/git-master — you should see SKILL.md.
  6. Restart Claude Code, then try a prompt like "commit my changes as atomic commits" to trigger the skill.
  7. (Optional) The PR-evidence section expects docs/reference/github-attachment-upload.md inside your working repo; skip that feature if the file isn't there.
View source on GitHubLicense: NOASSERTION