chore: add conventional commits rules for standardized commit messages

This commit is contained in:
Ben Allfree
2026-04-22 19:48:03 -07:00
parent 9ea8900651
commit 0423117fd6
+18
View File
@@ -0,0 +1,18 @@
---
description: Use Conventional Commits; keep subject under 50 characters.
alwaysApply: true
---
# Conventional commits
When writing git commit messages:
- Use Conventional Commits: `<type>(<scope>): <subject>` or `<type>: <subject>`.
- Allowed types: `feat`, `fix`, `docs`, `style`, `refactor`, `test`, `chore`, `perf`, `build`, `ci`, `revert`.
- Keep the subject line under 50 characters (including type/scope prefix).
- Use imperative mood and lowercase subject text.
Examples:
- `feat(flasher): add retry after connect failure`
- `fix(repo): handle missing branch metadata`