From cc338a9d4854c7e7273a5c3c8fee436c642f4dde Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sat, 21 Feb 2026 18:53:41 +0100 Subject: [PATCH] Add guideline for brevity in code and comments Added a guideline emphasizing brevity in code, comments, and commit messages. --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) 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. -- 2.39.5