← スキル一覧に戻る

splitting-commit
by kkhys
My personal marketplace for Claude Code.
⭐ 1🍴 0📅 2026年1月21日
SKILL.md
name: splitting-commit description: Split large changes into logical commits by semantic meaning. Use when handling large features or refactors that should be split into focused commits.
Split Commit Workflow
Split large changes into logical commits organized by semantic meaning. This ensures each commit represents a single, cohesive unit of work.
Workflow Steps
-
Analyze Changes
- Run
git statusto identify all modified, added, and deleted files - Run
git diffto review the full scope of changes - Group files by their semantic purpose (features, fixes, refactors, docs, etc.)
- Run
-
Identify Semantic Groups
- Group related changes together logically
- Ensure each group has a clear, single purpose
- Consider dependencies between groups (e.g., fix before feature that uses it)
-
Interactive Selection
- For each semantic group, use
git add <files>to stage relevant files - Review staged changes with
git diff --cached - Invoke
formatting-commitskill to create properly formatted commit - Repeat for each semantic group
- For each semantic group, use
-
Commit Creation For each semantic group, use the
formatting-commitskill to ensure Conventional Commits compliance. The skill provides detailed guidance on commit format, types, and best practices.
Best Practices
- One concern per commit: Each commit should represent a single logical unit
- Atomic changes: Commits should be testable and deployable independently
- Clear messages: Messages should explain why, not just what
- Logical ordering: Commits should flow from foundation to features
- Test verification: Each commit should pass tests independently
Example Workflow
Given changes across auth, API, and docs:
- First commit -
fix(auth): handle token expiration - Second commit -
feat(api): add user profile endpoint - Third commit -
docs(api): add authentication guide - Fourth commit -
refactor(core): extract validation utilities
Common Patterns
Feature with tests
feat(feature): implement new functionality
test(feature): add unit tests for new feature
Bug fix with docs
fix(bug): resolve issue with edge case
docs(bug): document expected behavior
Refactor with improvements
refactor(module): extract shared logic
perf(module): optimize performance after refactoring
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です