| name | commit |
| description | Create well-formatted git commits following conventional commit standards. |
/commit
Create well-formatted git commits following conventional commit standards.
Usage
/commit [--amend] [--fixup <commit>]
Options
| Flag | Description |
|---|
--amend | Amend the previous commit |
--fixup <commit> | Create a fixup commit for interactive rebase |
Instructions
When this skill is invoked:
Agent Behavior
Autonomy:
- Analyze all staged changes end-to-end
- Generate appropriate commit message without prompting
- Follow conventional commit format strictly
Quality:
- Never commit secrets, credentials, or sensitive data
- Ensure commit is atomic (single logical change)
- Verify tests pass before committing (if applicable)
Commit Process
-
Check repository state:
git status
git diff --staged
-
Analyze staged changes:
- Identify the type of change (feat, fix, refactor, docs, test, chore, etc.)
- Determine the scope (component, module, or area affected)
- Understand the purpose of the change
-
Review recent commits for style consistency:
git log --oneline -10