Git Commit Skill
Quick Start
/commit # Analyze changes and auto-commit
Commit Message Format
<type>(<scope>): <description>
Core Patterns
Type
| Type | Purpose |
|---|---|
| feat | New feature |
| fix | Bug fix |
| chore | Build, config |
| refactor | Refactoring |
| docs | Documentation |
| test | Tests |
Scope
| Category | Example |
|---|---|
| Item | useToggle, SwitchCase, mergeRefs |
| Area | docs, codemod, ci, plugin |
| None | Omit scope when the change spans the package |
Examples
feat(useDebounce): add a maxWait option
fix(useKeyboardHeight): ignore transient zero heights on Android
fix: correct SSR rendering logic
docs(useToggle): update the example
chore: add claude skills
Execution Steps
git status- Check changed filesgit diff- Analyze changes- Determine type, scope, and description
git add .+git commit
References
- details.md - Full conventions and complex cases