diff --git a/AGENTS.md b/AGENTS.md index 7ad740b..5c72649 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -63,6 +63,23 @@ to the custom scripts instead of system-installed packages. - Windows/PowerShell: use `` ` `` for line continuation - Unix/Linux/macOS: use `\` for line continuation +## Commit Messages + +- Follow the 50/72 rule: + - Subject line: max 50 characters + - Body lines: wrapped at 72 characters +- Use conventional commit prefixes (`feat:`, `fix:`, `docs:`, `chore:`, etc.) +- Separate subject from body with a blank line + +Example: + + ``` + feat: add stopwatch timer + + Replace Hello World with a live stopwatch that prints elapsed time + in HH:MM:SS.mmm format, updating every 10ms with color output. + ``` + ## Source Layout ```