mrzhangguoguo/oh-my-workbuddy/git-master

Claude Code and agent skill by mrzhangguoguo/oh-my-workbuddy

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Git expert for atomic commits, interactive rebasing, branch management, and history cleanup. Trigger "git rebase", "atomic commits", "clean git history", "squash commits", "branch strategy".

Install

npx vskill@latest install mrzhangguoguo/oh-my-workbuddy/git-master

SKILL.md

The same SKILL.md was published earlier as mrzhangguoguo/oh-my-workbuddy/git-master.

Ported from oh-my-codex git-master. OMX runtime conventions ($macro invocation,
omx CLI, .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

  1. Assess the working tree. Run read-only checks first:

``bash git status git log --oneline -10 git diff --stat `` Detect the repo's commit style from recent history before composing messages.

  1. 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).

  1. Execute safely.
  • Prefer --autosquash when queuing fixups.
  • For atomic commits, stage narrowly: git add -p or stage specific paths rather

than git add -A.

  • Write messages that match the detected style; default to Conventional Commits

when the repo has no clear convention.

  1. Verify. After the operation:

``bash git status git log --oneline -5 `` Confirm the tree matches intent and there are no leftover staged/unstaged changes unless expected.

Safety rules

  • Never rewrite history that has already been pushed to a shared branch without

explicit user confirmation.

  • Always check git status and git log before 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.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2
Repository forks
1
7-day trend score
5

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mrzhangguoguo/oh-my-workbuddy/git-master/badge)](https://verified-skill.com/skills/mrzhangguoguo/oh-my-workbuddy/git-master)

Something wrong with this skill or its page? Tell us.