commit 443d27a9a2b104ddd19422cfd94afc8597b94dbd
parent d3c470d447fa99edf219eba302586ab97ca66462
Author: Anders Hedman <anders.hedman01@gmail.com>
Date: Wed, 26 Aug 2026 20:56:56 +0200
opencode(commit-work): add subject length rule
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.config/opencode/skills/commit-work/SKILL.md b/.config/opencode/skills/commit-work/SKILL.md
@@ -42,6 +42,7 @@ Make commits that are easy to review and safe to ship:
- blank line
- body (what/why, not implementation diary)
- footer (BREAKING CHANGE) if needed
+ - Prefer a subject line less than 50 characters, never more than 68 (including whitespace)
- Prefer an editor for multi-line messages: `git commit -v`
- Use `references/commit-message-template.md` if helpful.
7) Run the smallest relevant verification
@@ -52,4 +53,4 @@ Make commits that are easy to review and safe to ship:
Provide:
- the final commit message(s)
- a short summary per commit (what/why)
-- the commands used to stage/review (at minimum: `git diff --cached`, plus any tests run)
-\ No newline at end of file
+- the commands used to stage/review (at minimum: `git diff --cached`, plus any tests run)