Supply this file to the AI to generate a git commit message based on changes since the last commit. For small changes, aim for 140 characters. For large changes (10+ files or 100+ lines), allow up to 300 characters.
The AI should:
- Analyze the git diff to understand changes
- Create a concise commit message under 140 characters for small changes
- For large changes (10+ files or 100+ lines), allow up to 300 characters
- Use conventional commit format:
type: description - Focus on the most significant changes
- Use commas instead of dashes between items (per user preference)
- Prioritize the most impactful changes when space is limited
feat: New featuresfix: Bug fixesrefactor: Code refactoringdocs: Documentation changesstyle: Code style changestest: Test changeschore: Maintenance tasksperf: Performance improvementsci: CI/CD changesbuild: Build system changes
refactor: remove duplicate metadata titles, update depsfeat: add user authentication, implement password resetfix: resolve type errors, update component propsfix: host van detail route css, correct container width and image sizing
feat: implement van state system with dynamic pricing, refactor components to use GenericComponent, add discount functionality, update schema with VanState enum and discount field, create VanPrice and VanBadge components, migrate to prisma.config.ts, enhance seed data with state management, update README with new features
- Run
git diffto see unstaged changes - Run
git diff --cachedto see staged changes - Run
git diff --statto see change summary - Analyze the changes and categorize them
- Count files changed and lines modified
- Generate a descriptive commit message:
- Small changes (under 10 files, under 100 lines): aim for 140 characters
- Large changes (10+ files or 100+ lines): allow up to 300 characters
- Use conventional commit format with appropriate type
- Focus on the most impactful changes
- Use commas instead of dashes between items