← スキル一覧に戻る

git-master
by Yeachan-Heo
git-masterは、業務プロセスの自動化を支援するスキルです。ワークフロー管理と自動化により、生産性の向上と運用効率の改善を実現します。
⭐ 1,751🍴 175📅 2026年1月23日
SKILL.md
name: git-master description: Git expert for atomic commits, rebasing, and history management with style detection user-invocable: true
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:
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
スコア
総合スコア
95/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
✓人気
GitHub Stars 1000以上
+15
✓最近の活動
1ヶ月以内に更新
+10
✓フォーク
10回以上フォークされている
+5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
レビュー
💬
レビュー機能は近日公開予定です
