| description | Create a commit with auto-generated concise message |
|---|
Generate a commit with a clean, concise message following conventional commit style.
- Run
git statusto see modified/staged files - Run
git diff(orgit diff --cachedif staged) to understand what changed - Identify the type of change: feature, fix, refactor, docs, test, chore, etc.
Use conventional commit format:
<type>: <short description>
- Detail about the change
- Another detail if needed
feat: New featurefix: Bug fixrefactor: Code refactoring (no feature/fix)docs: Documentation onlytest: Adding or updating testschore: Maintenance, dependencies, configstyle: Code style/formatting (no logic change)perf: Performance improvement
- First line: type + colon + space + short description (max 50 chars)
- Use imperative mood ("Add", "Fix", "Update", not "Added", "Fixed")
- Keep it concise - no fluff
- Empty line, then bullet points for details (optional, only if helpful)
feat: add user authentication endpoint
- Implement JWT-based auth
- Add login and logout routes
fix: resolve null pointer in payment processing
refactor: simplify database query logic
- Stage relevant changes:
git add <files> - Create the commit with generated message
- Show the result
- NEVER add "Generated with Claude Code" or co-author lines
- NEVER amend existing commits
- Keep messages concise and professional
- Commit message in English