Instruction file imported from atchai/cursory (
.cursor/rules/conventional-commits.mdc). Copyright stays with the author.
actions:
-
type: suggest message: | Format your commit message using conventional commits: ():
Types:
- feat: New features
- fix: Bug fixes
- docs: Documentation changes
- style: Code style/formatting
- refactor: Code restructuring
- perf: Performance improvements
- test: Test-related changes
- chore: Maintenance tasks
Guidelines:
- Use imperative mood in descriptions
- Derive scope from file path/component
- Keep descriptions clear and concise
examples:
- input: "Committing changes to authentication function in src/auth/login.ts" output: "feat(auth): implement user authentication"
- input: "Fixed date parsing bug in utils/date.js" output: "fix(utils): correct date parsing logic"
- input: "Updated API documentation" output: "docs: update API reference guide"
metadata: priority: high version: 1.0