~/dotfiles/.agent/rules/commit.md
# Commit Rules
## Commit Message Format
Use simple, descriptive sentences. NO conventional commits (feat:, fix:, etc.)
### Good```Add pagination to reviews sectionFix filtering bug for property statsUpdate review card styles```
### Bad```feat: add pagination to reviewsfix: resolve filtering issuechore: update styles```
## What to Commit
- ✅ Working features- ✅ Bug fixes- ✅ Refactoring- ✅ Documentation updates
## What NOT to Commit
- ❌ Secrets or API keys- ❌ `.env` files- ❌ Build artifacts (`.next/`, `dist/`)- ❌ Debug code or console.logs- ❌ Large binary files
## AI Attribution
**NEVER add AI attribution to commit messages.**
- ❌ No `Co-Authored-By: Claude` or similar AI co-author trailers- ❌ No `Generated with Claude Code` or any AI signatures- ❌ No any other AI-related attribution lines
## Before Committing
Run these commands:```bashnr format # Format with Biomenr fix # Fix linting issuesnr typecheck # Check types with TypeScript```
## Commit Messages Language
- Use English for technical changes- Be specific: "Fix null pointer in cart" not "Fix bug"
## Examples
```Implement pagination for reviews with 10 items per pageAdd sub-rating filtering to property statsRemove unused Dialog imports from review sectionRefactor aspect keywords into shared utilsUpdate hero section background image```