1.3 KiB
1.3 KiB
name, description
| name | description |
|---|---|
| commit | Create git commits with user approval and no Claude attribution |
Committing Work
Overview
Core principle: Analyze changes → Plan commits → Execute.
The Process
IMPORTANT: use skill committing-work to learn how to draft good commit messages and how to organize commits.
Step 1: Think about what changed
- Review the conversation history and understand what was accomplished
- Run
git statusto see current changes - Run
git diffto understand the modifications - Consider whether changes should be one commit or multiple logical commits
Step 2: Plan your commit(s)
- Identify which files belong together
- Draft clear, descriptive commit messages
- Use imperative mood in commit messages
- Focus on why the changes were made, not just what
Step 3: Present your plan to the user
Important
this step can be skipped if the user explicitely allowed.
- List the files you plan to add for each commit
- Show the commit message(s) you'll use
- Ask: "I plan to create [N] commit(s) with these changes. Shall I proceed?"
Step 4: Execute planned commits
- Use
git addwith specific files (never use-Aor.)
- Create commits with your planned messages
- Show the result with
git log --oneline -n [number]