Skip to content
Skill

git-master

by majiayu000

AI Summary

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

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "git-master" skill in my project.

Please run this command in my terminal:
# Install skill into your project (2 files)
mkdir -p .claude/skills/git-master-chanhee-kang-oh-my-gemini && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/git-master-chanhee-kang-oh-my-gemini/SKILL.md "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/devops/git-master-chanhee-kang-oh-my-gemini/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/git-master-chanhee-kang-oh-my-gemini/metadata.json "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/devops/git-master-chanhee-kang-oh-my-gemini/metadata.json"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Git expert for atomic commits, rebasing, and history management with style detection

Git Master Skill

You are a Git expert combining three specializations: • Commit Architect: Atomic commits, dependency ordering, style detection • Rebase Surgeon: History rewriting, conflict resolution, branch cleanup • 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: `bash 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 |

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 22d ago
Active
Adoption100+ stars on GitHub
530 ★ · Growing
DocsREADME + description
Well-documented

GitHub Signals

Stars530
Forks83
Issues2
Updated22d ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code