From 4b3423d91b76aefc591c2a76915bba42319789fa Mon Sep 17 00:00:00 2001 From: Lukasz Boryn Date: Wed, 23 Sep 2026 11:26:22 +0200 Subject: [PATCH] =?UTF-8?q?fix(skills):=20init-octobot=20=E2=80=94=20close?= =?UTF-8?q?=20two=20upstream-CLAUDE.md=20gaps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Diffed simplicity-block.md against the actual upstream source (multica-ai/andrej-karpathy-skills/CLAUDE.md) rather than just octobot's own adapted copy. Two rules named nowhere in the merged AGENTS.md: §3's 'notice unrelated dead code, mention it — don't delete it', and §2's 'no error handling for impossible scenarios' / 'no unrequested flexibility or configurability' (previously folded silently into 'not speculative'). Also restored §4's worked examples and the strong-vs-weak success-criteria line, dropped earlier for terseness. Claude-Session: https://claude.ai/code/session_01VZH57yueT8apHdFXffmffE --- .../scaffold/init-octobot/simplicity-block.md | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/skills/scaffold/init-octobot/simplicity-block.md b/skills/scaffold/init-octobot/simplicity-block.md index fc3bf84..3b9958f 100644 --- a/skills/scaffold/init-octobot/simplicity-block.md +++ b/skills/scaffold/init-octobot/simplicity-block.md @@ -13,18 +13,23 @@ a repo that never opts into CLAUDE.md. - **Think before coding** — when multiple interpretations exist, present them; don't pick silently. -- **Three sieves before a line stays**: real (not speculative), good - (nameably better for the next reader), minimal (leanest form — - stdlib/existing code before new). Burden is on keeping, not cutting. - Exceptions that always pass *good*: input validation, error handling - that prevents data loss, security, accessibility, explicitly requested - behaviour. -- **Surgical changes** — match existing style; clean up only your own - mess (remove orphans your change created, not pre-existing dead code); - every changed line should trace to the request. +- **Three sieves before a line stays**: real (not speculative — no error + handling for impossible scenarios, no unrequested flexibility or + configurability), good (nameably better for the next reader), minimal + (leanest form — stdlib/existing code before new). Burden is on keeping, + not cutting. Exceptions that always pass *good*: input validation, + error handling that prevents data loss, security, accessibility, + explicitly requested behaviour. +- **Surgical changes** — match existing style; notice unrelated dead code + and mention it, don't delete it; clean up only your own mess (remove + orphans your change created, not pre-existing dead code); every changed + line should trace to the request. - **Goal-driven execution** — turn the task into a verifiable check - before starting; for multi-step work, state a brief plan, each step - naming its own verify. + before starting: "add validation" → "write tests for invalid inputs, + then make them pass"; "fix the bug" → "write a test that reproduces + it, then make it pass". For multi-step work, state a brief plan, each + step naming its own verify. Strong success criteria let you loop + independently; weak ones ("make it work") need constant clarification. ``` ## Rules