git-master
Skill2 starsChanged 5 months agoMITView on GitHub
Git expert for atomic commits, interactive rebasing, branch management, and history cleanup. Trigger "git rebase", "atomic commits", "clean git history", "squash commits", "branch strategy".
10 other projects use a version of this.
Adopted by
Most recently taken up by
- BrightGold70/skillstheir own version, first seen Sep 29, 2026
- flyingwebie/skillstheir own version, first seen Sep 9, 2026
- thesammykins/skillstheir own version, first seen Aug 14, 2026
- DevNewbie1826/skillstheir own version, first seen Jul 22, 2026
- allanbian1017/skillstheir own version, first seen Jul 3, 2026
- lza6/claw-code-tingfengtheir own version, first seen Apr 22, 2026
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- erkandogan/oh-my-team★ 18same name
- flyingwebie/skills★ 9same name
- kevinaimonster/skill-hub★ 4same name
- lza6/claw-code-tingfeng★ 4same name
- allanbian1017/skills★ 2same name
- DevNewbie1826/skills★ 2same name
- thesammykins/skills★ 2same name
- BrightGold70/skills★ 1same name
- Jkudjo/oh-my-cursor★ 1same name
- yunseo-kim/agent-toolbox★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository46 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-slop-cleanerSkill
- analyzeSkill
- ask-claudeSkill
- ask-geminiSkill
- askSkill
- autopilotSkill
- autoresearch-goalSkill
- autoresearchSkill
- best-practice-researchSkill
- build-fixSkill
- cancelSkill
- code-reviewSkill
- configure-notificationsSkill
- deep-interviewSkill
- deepsearchSkill
- designSkill
- doctorSkill
- ecomodeSkill
- frontend-ui-uxSkill
- helpSkill
- hudSkill
- noteSkill
- omx-setupSkill
- performance-goalSkill
- pipelineSkill
- planSkill
- prometheus-strictSkill
- ralph-initSkill
- ralphSkill
- ralplanSkill
- reviewSkill
- security-reviewSkill
- skillSkill
- swarmSkill
- tddSkill
- teamSkill
- traceSkill
- ultragoalSkill
- ultraqaSkill
- ultraworkSkill
- visual-ralphSkill
- visual-verdictSkill
- web-cloneSkill
- wikiSkill
- workerSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 7 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 32
Branch management: create/rename/delete, branch-point detection, divergence check.
- Distinctive: line 34
Style detection: read the repo's existing commit history to match its convention before writing new commits.
- Distinctive: line 39
Assess the working tree: Run read-only checks first:
- Very specific: line 54
Prefer --autosquash when queuing fixups.
- Distinctive: line 57
Write messages that match the detected style.
- Distinctive: line 60
Verify: After the operation:
- Distinctive: line 70
Never rewrite history that has already been pushed to a shared branch without explicit user confirmation.
- Distinctive: line 72
Always check git status and git log before mutating.
- Distinctive: line 75
If unsure about intent, ask the user rather than guessing.
- Very specific: line 79
When the git task is part of a larger flow (e.g.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Ported from oh-my-codex
git-master. OMX runtime conventions ($macroinvocation,omxCLI,.omx/state directory) are replaced with WorkBuddy idioms (Skill tool, Agent tool, task list,.workbuddy/memory).
Git Master
Git operations expert. Use this skill whenever the user needs precise, safe git work: atomic commits, interactive rebasing, branch management, history cleanup, or style-consistent commit messages.
Usage
Invoke the git-master skill and describe the git task, e.g.:
"rebase my feature branch onto main", "squash these 5 commits", "write a conventional
commit for these changes".
Capabilities
- Atomic commits with conventional-commit format
(
feat:,fix:,refactor:,docs:,test:,chore:). - Interactive rebasing (
rebase -i) for reordering, squashing, fixing up. - Branch management: create/rename/delete, branch-point detection, divergence check.
- History cleanup: prune stray commits, rewrite messages, split/join commits.
- Style detection: read the repo's existing commit history to match its convention before writing new commits.
Workflow
- Assess the working tree. Run read-only checks first:
Detect the repo's commit style from recent history before composing messages.git status git log --oneline -10 git diff --stat - Plan the operation. For anything destructive (rebase, reset, branch delete, amend of already-pushed commits), use the task list (TaskCreate) to outline steps, and surface a short plan to the user. If the operation rewrites shared/pushed history, ask for explicit confirmation before proceeding (use AskUserQuestion for a clean yes/no).
- Execute safely.
- Prefer
--autosquashwhen queuing fixups. - For atomic commits, stage narrowly:
git add -por stage specific paths rather thangit add -A. - Write messages that match the detected style; default to Conventional Commits when the repo has no clear convention.
- Prefer
- Verify. After the operation:
Confirm the tree matches intent and there are no leftover staged/unstaged changes unless expected.git status git log --oneline -5
Safety rules
- Never rewrite history that has already been pushed to a shared branch without explicit user confirmation.
- Always check
git statusandgit logbefore mutating. - For large/risky history rewrites, suggest creating a backup branch first
(
git branch backup/<name>). - If unsure about intent, ask the user rather than guessing.
Handoff
When the git task is part of a larger flow (e.g. a ralph/ultrawork loop or a
PR prep), record the resulting commit range and branch state in the task list and/or
append a short note to .workbuddy/memory/YYYY-MM-DD.md so downstream steps can pick
up where this left off.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

