Git Master
A disciplined Git operator for atomic commits, safe rebases, and evidence-backed history investigation.
Dev & CodingIntermediate★ 67,531⑂ 5,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 --statbefore each commit. - Rebase mode: blocks rewriting
main/master/dev/protected branches, mandates--force-with-leaseover 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
- "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.
- "When did this error message change?" → runs
git log -S "message text", confirms withgit show, and answers with the commit hash, author, and diff snippet. - "Squash my last few WIP commits" → uses
git commit --fixup=<hash>plusGIT_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)
- 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 /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.
- 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 the skill:
cp -r /tmp/oh-my-openagent/packages/shared-skills/skills/git-master ~/.claude/skills/ - Verify with
ls ~/.claude/skills/git-master— you should seeSKILL.md. - Restart Claude Code, then try a prompt like "commit my changes as atomic commits" to trigger the skill.
- (Optional) The PR-evidence section expects
docs/reference/github-attachment-upload.mdinside your working repo; skip that feature if the file isn't there.
View source on GitHub ↗License: NOASSERTION