Commit Rules
March 26, 2026 · View on GitHub
Commit Message Format
Use simple, descriptive sentences. NO conventional commits (feat:, fix:, etc.)
Good
Add pagination to reviews section
Fix filtering bug for property stats
Update review card styles
Bad
feat: add pagination to reviews
fix: resolve filtering issue
chore: update styles
What to Commit
- ✅ Working features
- ✅ Bug fixes
- ✅ Refactoring
- ✅ Documentation updates
What NOT to Commit
- ❌ Secrets or API keys
- ❌
.envfiles - ❌ 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: Claudeor similar AI co-author trailers - ❌ No
Generated with Claude Codeor any AI signatures - ❌ No any other AI-related attribution lines
Before Committing
Run these commands:
nr format # Format with Biome
nr fix # Fix linting issues
nr 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 page
Add sub-rating filtering to property stats
Remove unused Dialog imports from review section
Refactor aspect keywords into shared utils
Update hero section background image