---
name: commit-messages
description: How this project writes commit messages — scope prefix, imperative mood, why over what
---

# Commit messages

1. Prefix with the scope: `cli:`, `lib:`, `docs:`, `examples:`.
2. Imperative mood, under 70 chars: "add X", not "added X".
3. The body says *why*, not *what* — the diff already shows what.
