octobot/skills/scaffold/init-octobot/simplicity-block.md
Lukasz Boryn f20f05eb38 fix(skills): init-octobot — substitute <project> everywhere, dedupe simplicity block
Dry run surfaced two bugs: the Knowledge block's <project> placeholder
was never substituted outside the OKF templates, and the new Simplicity
& rigor section restated three of Behavioral guardrails' bullets instead
of adding only their delta — real duplication, not essence-merging.
Rewrote simplicity-block.md as a union-minus-overlap of CLAUDE.md §1-4
against agents-md-hook.md, verified no information lost by checking
every CLAUDE.md §1-4 claim resolves in one of the two sections.

Claude-Session: https://claude.ai/code/session_01VZH57yueT8apHdFXffmffE
2026-09-23 12:47:33 +02:00

1.6 KiB
Raw Blame History

AGENTS.md simplicity block

Insert verbatim into the target AGENTS.md, after the Knowledge and Behavioral guardrails sections from write-OKF's agents-md-hook.md. Each bullet below carries only what that hook block does not already say — CLAUDE.md §1–4 in full still holds every claim; this is the union minus the overlap, not a restatement, so nothing is lost even for a repo that never opts into CLAUDE.md.

## Simplicity & rigor

- **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.
- **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.

Rules

  • Keep this block verbatim across scaffolded projects — same source (CLAUDE.md §1–4, adapted from https://github.com/multica-ai/andrej-karpathy-skills) every time.
  • If the target repo already has an AGENTS.md with an equivalent section, merge by hand and show the diff; never duplicate.