From: Bjørn Erik Pedersen Date: Sat, 21 Feb 2026 17:53:41 +0000 (+0100) Subject: Add guideline for brevity in code and comments X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cc338a9d4854c7e7273a5c3c8fee436c642f4dde;p=brevno-suite%2Fhugo Add guideline for brevity in code and comments Added a guideline emphasizing brevity in code, comments, and commit messages. --- diff --git a/AGENTS.md b/AGENTS.md index 22febd9db..8bc6860c6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -8,6 +8,7 @@ * Avoid global state at (almost) all cost. * This is a project with a long history; assume that a similiar problem has been solved before, look hard for helper functions before creating new ones. * In tests, use `qt` matchers (e.g. `b.Assert(err, qt.ErrorMatches, ...)`) instead of raw `if`/`t.Fatal` checks. +* Brevity is good. This applies to code, comments and commit messages. Don't write a novel. * Use `./check.sh ./somepackage/...` when iterating. * Use `./check.sh` when you're done.