Create a simple, descriptive commit on the current branch.
Commit Format
| Type | Format |
|---|---|
| Feature | As a [role] I [action] so that [benefit] |
| Fix | Fix: [description] |
| Refactor | Refactor: [description] |
| Style | Style: [description] |
Rules
- •Simple descriptive message
- •NEVER include "Co-Authored-By: Claude"
- •NEVER include "Closes #XX"
- •Do NOT push (only add and commit)
- •Do NOT ask about creating issues - just commit
Examples
code
Add event history modal UI
code
Implement move tracking with from/to locations
code
Fix styling on modal dialog
Bad: wip, fixed stuff, updates
Pre-Commit Checklist
- • Tests pass locally
- • No linting/type errors
- • No
console.logstatements left in code - • No commented-out code
- • Environment variables documented in
.env.example - • Database migrations tested (if applicable)
- • API changes documented (if applicable)
Process
- •Run
git statusandgit diffto review changes - •Verify pre-commit checklist
- •Check staged files - unstage any files unrelated to this commit
- •Stage specific files (avoid
git add -A) - •Commit with simple descriptive message
- •Run
git statusto verify