fix(skills): init-octobot — close two upstream-CLAUDE.md gaps

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
This commit is contained in:
Łukasz Boryń 2026-09-23 11:26:22 +02:00
parent f20f05eb38
commit 4b3423d91b

View File

@ -13,18 +13,23 @@ a repo that never opts into CLAUDE.md.
- **Think before coding** — when multiple interpretations exist, present - **Think before coding** — when multiple interpretations exist, present
them; don't pick silently. them; don't pick silently.
- **Three sieves before a line stays**: real (not speculative), good - **Three sieves before a line stays**: real (not speculative — no error
(nameably better for the next reader), minimal (leanest form — handling for impossible scenarios, no unrequested flexibility or
stdlib/existing code before new). Burden is on keeping, not cutting. configurability), good (nameably better for the next reader), minimal
Exceptions that always pass *good*: input validation, error handling (leanest form — stdlib/existing code before new). Burden is on keeping,
that prevents data loss, security, accessibility, explicitly requested not cutting. Exceptions that always pass *good*: input validation,
behaviour. error handling that prevents data loss, security, accessibility,
- **Surgical changes** — match existing style; clean up only your own explicitly requested behaviour.
mess (remove orphans your change created, not pre-existing dead code); - **Surgical changes** — match existing style; notice unrelated dead code
every changed line should trace to the request. 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 - **Goal-driven execution** — turn the task into a verifiable check
before starting; for multi-step work, state a brief plan, each step before starting: "add validation" → "write tests for invalid inputs,
naming its own verify. 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 ## Rules