| name | description |
|---|---|
commit |
Generate a conventional commit message for staged changes |
Generate a conventional commit message for staged changes.
- Run
git diff --cachedto see staged changes - Analyze the nature of changes
- Generate a commit message following the format below
<type>(<scope>): <subject>
[optional body]
[optional footer]
feat: New featurefix: Bug fixdocs: Documentation onlystyle: Formatting, missing semicolons, etc.refactor: Code change that neither fixes nor adds featureperf: Performance improvementtest: Adding missing testschore: Maintenance tasks
- Subject: imperative mood, no period, max 50 chars
- Body: explain WHAT and WHY, not HOW
- Footer: breaking changes, issue references
feat(auth): add password reset functionality
Implement password reset flow with email verification.
Users can now request a reset link and set new password.
Closes #123
fix(api): prevent race condition in order processing
Add mutex lock to ensure orders are processed sequentially.
This fixes duplicate charge issues reported by users.
Fixes #456
refactor(cart): extract pricing logic to separate module
No functional changes. Improves testability and
separates concerns for future discount feature.
After analyzing staged changes, suggest a commit message.
Ask for confirmation before executing git commit -m "...".
$ARGUMENTS