From 5544605006baf43ea6df594dda6c4c4fcefc59eb Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 2 Oct 2026 17:34:08 +0200 Subject: [PATCH] Answer the prose review's second round --- principles/technical-principles.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/principles/technical-principles.md b/principles/technical-principles.md index 1d75406f..48e67994 100644 --- a/principles/technical-principles.md +++ b/principles/technical-principles.md @@ -56,7 +56,7 @@ - Sort it, on a key that does not move: the name a line introduces, never where it came from. A sorted list is searchable, its diff shows only what changed, and two edits to it conflict only where they mean to. - An import sorts on its first binding, not its path, so moving or renaming a module reorders nothing. Where lines already group by kind — type imports, host packages — the key sorts within each group. * Keep It Simple, Stupid (KISS): keep solutions simple, so a reader new to the project understands each part on one read. - - Keep a size or complexity limit only while the readers of the comprehension panel (`~/.claude/skills/comprehension-panel/`) find hard what the limit flags. + - Keep a size or complexity limit only while the comprehension panel's readers (`~/.claude/skills/comprehension-panel/`) find the code it flags hard. * Don't Repeat Yourself (DRY): one authoritative home per piece of knowledge, one obvious way per need. - A value, rule, definition or concept lives in one place, and everywhere else derives it from there or points at it. A copy that can drift is a second spelling: derive it from its owner, or, for config a human writes, reject it where it is read and name the owner. - Before adding a way to do something, find the existing one and use it. The same goes for tests: extend an existing test with an assertion before writing a new one. Where two spellings serve the same caller for the same need, keep one and reject the other as early as possible — at load, parse or compile — with an error naming the one to use: `token {p} renders a level that {p.first} reads a path into; name the fields you want instead`.