Skip to main content
skill CX Codex

git-master · code-yeongyu — Claude Code skill: what it does, how to install

git-master — a skill for Claude Code and Codex guides repository history operations, atomic committing, and code forensics. Turns on during commits, rebases, or investigations into past changes.

no license 4 installs ★ 71,048 updated 2026-11-09

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add code-yeongyu/oh-my-openagent --skill git-master -a claude-code
Open on GitHub

What git-master does

The prompt forces the agent into one of four modes: committing staged work, branch rewriting, history lookup, or non-destructive status inspection. Before touching the tree, the model inspects local diffs and branches so it acts on actual repository state rather than guesses.

Commit workflows split broad diffs into atomic slices alongside matching test suites. Commit messages adopt the repository's prevailing casing and language rather than imposing arbitrary schemas. Rebasing relies on --autosquash and --force-with-lease, while branches like main or release tags stay untouched unless explicitly targeted.

Uploading PR screenshots fails with standard gh CLI tokens because GitHub asset endpoints demand an authenticated web session token.

What it helps with

  • split mixed diffs into atomic commits with matching tests
  • track down regressions using git bisect
  • clean up branch history using fixup and autosquash
  • find when a specific string changed with git log -S

Example prompts for the agent

  • Split my staged changes into atomic commits following the repo style
  • Find which commit introduced the session timeout using git log -S
  • Rebase the branch against origin/main using autosquash

How to install git-master

1Skills CLI (Vercel)

npx skills add code-yeongyu/oh-my-openagent --skill git-master -a claude-code

2Manually: put the files in place

~/.claude/skills/git-master/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/git-master/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about git-master

How to install git-master in Claude Code?

Run npx skills add code-yeongyu/oh-my-openagent --skill git-master -a claude-code. The file will be placed at ~/.claude/skills/git-master/SKILL.md.

What does git-master do?

It guides AI assistants through safe Git procedures, including atomic commits, branch rewriting with fixup, and forensic searches with blame and bisect.

Does git-master rewrite protected branches automatically?

It prohibits rewriting branches like main or master unless you explicitly issue that direct instruction. The skill also requires safe rollbacks via git rebase --abort or reflog lookups.

Similar skills

All skills for Git and GitHub →

git-master by other authors comes first.

git-master JosiahSiegel git-master — a Git skill for coding agents: command reference, safety rails around destructive operations, and recovery steps. Useful when the agent touches repo history. CX Codex +1 822installs git-stinger Legion Code Inc. git-stinger guides agents through complex Git tasks, from reflog recovery and interactive rebase to safe disposable sandbox practice exercises. CX Codex +1 ★ 96repo stars git-advanced-workflows Seth Hobson The git-advanced-workflows skill covers Git history editing, commit transfers, bug hunting, worktrees, and reflog recovery. Use it for complex branches or cleaner pull requests. CX Codex +1 19,356installs git-analysis autohandai git-analysis is a Claude Code skill that answers questions about Git history: changes, line authorship, and regressions. It supports review, regression narrowing, and changelog drafts. CX Codex +1 ★ 219repo stars git-safety-net daymade git-safety-net is a Claude Code skill that audits local repositories and preserves unpushed changes. It inspects worktrees, stashes, and lost commits before any cleanup runs. CX Codex +1 362installs git-bisect-helper davila7 git-bisect-helper runs a git bisect session and marks commits good or bad from your test's exit code. Useful when you know something broke but not where. CX Codex +1 163installs git-rebase Pedro Nauck git-rebase walks an agent through a rebase and settles conflicts commit by commit, leaving unrelated work alone. Useful when a branch has fallen behind its base. CX Codex +1 401installs

From the same set7

Project sponsors

Companies that keep this analytics open