writing-commits
Installation
SKILL.md
Writing Commits
The reader of a commit message arrives from git blame or git bisect,
looking at one changed line and asking why it is like this. They have the
diff. They do not have the conversation, the issue thread, the dev server or
the person who wrote it. The message is the only account of the change that
survives, so it has to carry the reason on its own.
That reader wants the problem first. A diff shows what changed; it never shows what was wrong before, or what would break if the change were reverted.
Follow the repository, or use this form
If the repository has a convention, follow it. Read git log to find out.
If it has none, use this form:
Retry only idempotent HTTP requests by default