diff --git a/.cursor/rules/commit-message-convention.mdc b/.cursor/rules/commit-message-convention.mdc new file mode 100644 index 0000000..99c0074 --- /dev/null +++ b/.cursor/rules/commit-message-convention.mdc @@ -0,0 +1,25 @@ +--- +description: Monorepo conventional commit message format +alwaysApply: true +--- + +# Commit Message Convention + +Use monorepo-style conventional commit messages for all git commits. + +## Format + +`type(scope): subject` + +- `type` is a conventional commit type like `feat`, `fix`, `chore`, `docs`, `refactor`, or `test`. +- `scope` should identify the monorepo package or area (for example `lotato`, `lo-star`, `meshtastic`). +- `subject` must be concise, imperative, and lowercase when possible. + +## Limits + +- Keep the full commit subject line to **50 characters or fewer**. + +## Examples + +- `feat(lotato): add meshcore cli gateway` +- `fix(lo-star): correct readme typo`