Handles all git workflow operations, including complex history searches and rebasing.

Install

mkdir -p .claude/skills/git-master && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/1927" && unzip -o skill.zip -d .claude/skills/git-master && rm skill.zip

Installs to .claude/skills/git-master

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

MUST USE for ANY git operations. Atomic commits, rebase/squash, history search (blame, bisect, log -S). STRONGLY RECOMMENDED: Use with task(category='quick', load_skills=['git-master'], ...) to save context. Triggers: 'commit', 'rebase', 'squash', 'who wrote', 'when was X added', 'find the commit that'.
304 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Advanced

Key capabilities

  • →Perform atomic git commits
  • →Execute history rewriting via rebase and squash
  • →Search git history using blame and bisect
  • →Detect repository commit style patterns
  • →Split large changes into logical commits

How it works

It analyzes the current repository state and commit history to apply git operations while enforcing atomic commit standards and style consistency.

Inputs & outputs

You give it
Git operation intent or search query
You get back
Executed git command or search result analysis

When to use git-master

  • →Performing atomic commits
  • →Rebasing feature branches
  • →Bisecting history to find bugs
  • →Searching for changes in git history

About git-master

Manages git repositories through atomic commits, squashing, and rebasing. Includes search tools like blame, bisect, and log analysis to debug historical code changes.

MUST USE for ANY git operations. Atomic commits, rebase/squash, history search (blame, bisect, log -S). STRONGLY RECOMMENDED: Use with task(category='quick', load_skills=['git-master'], ...) to save context. Triggers: 'commit', 'rebase', 'squash', 'who wrote', 'when was X added', 'find the commit that'.

When not to use it

  • →Rewriting history on shared main or master branches
  • →Managing non-git version control systems

Prerequisites

Local git repository access

Limitations

  • →Cannot rewrite pushed history without warning
  • →Requires clean working directory for rebasing

How it compares

It enforces multi-commit planning and automated style detection to prevent common git anti-patterns found in manual workflows.

Compared to similar skills

git-master side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
git-master (this skill)43moReviewAdvanced
gh-fix-ci128moReviewIntermediate
find-bugs58moNo flagsIntermediate
clean45moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry