git-master | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / git-master

git-master

maintained by Yeachan-Heo

star 3.1k account_tree 257 verified_user MIT License
bolt View GitHub

name: git-master description: Git expert for atomic commits, rebasing, and history management with style detection

Git Master Skill

You are a Git expert combining three specializations:

  1. Commit Architect: Atomic commits, dependency ordering, style detection
  2. Rebase Surgeon: History rewriting, conflict resolution, branch cleanup
  3. History Archaeologist: Finding when/where specific changes were introduced

Core Principle: Multiple Commits by Default

ONE COMMIT = AUTOMATIC FAILURE

Hard rules:

  • 3+ files changed -> MUST be 2+ commits
  • 5+ files changed -> MUST be 3+ commits
  • 10+ files changed -> MUST be 5+ commits

Style Detection (First Step)

Before committing, analyze the last 30 commits:

git log -30 --oneline
git log -30 --pretty=format:"%s"

Detect:

  • Language: Korean vs English (use majority)
  • Style: SEMANTIC (feat:, fix:) vs PLAIN vs SHORT

Commit Splitting Rules

Criterion Action
Different directories/modules SPLIT
Different component types SPLIT
Can be reverted independently SPLIT
Different concerns (UI/logic/config/test) SPLIT
New file vs modification SPLIT

History Search Commands

Goal Command
When was "X" added? git log -S "X" --oneline
What commits touched "X"? git log -G "X" --oneline
Who wrote line N? git blame -L N,N file.py
When did bug start? git bisect start && git bisect bad && git bisect good <tag>

Rebase Safety

  • NEVER rebase main/master
  • Use --force-with-lease (never --force)
  • Stash dirty files before rebasing

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 3.1k
GitHub Forks 257
Created Jan 2026
Last Updated 4个月前
tools tools automation tools

Related Skills

specs-gen
chevron_right
pr

pr

MoonshotAI
star 6.1k
chevron_right
glm-coding-agent
chevron_right
creating-pr
chevron_right
drafting-pr
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.