/commit
Quick commit and push with minimal, clean messages
Overview
Quickly analyze git changes and create a conventional commit message following the commitizen format. Prioritizes speed and efficiency for straightforward commits.
Usage
BASH
/commitWorkflow
- Analyze changes: Reviews git status and stages changes if needed
- Generate message: Creates conventional commit following
type(scope): descriptionformat - Commit: Executes commit immediately with generated message
- Push: Automatically pushes changes to remote
Commit Format
type(scope): brief description
Types
feat: New featureupdate: Refresh/update existing featuresfix: Bug fixdocs: Documentation changeschore: Maintenance tasksrefactor: Code restructuringtest: Test changesperf: Performance improvementsrevert: Revert previous changes
Examples
update(statusline): refresh spend data
feat(auth): add email verification
fix(api): handle null user error
docs(readme): update installation steps
Rules
- Auto-stages changes if nothing staged
- Auto-pushes after committing
- No user interaction required
- Uses imperative mood (add, update, fix)
- Descriptions start lowercase
- Keeps messages under 72 characters
Model
Uses haiku model for fast execution.