Files
claude-config/skills/larv-review/standards

README

A README covers what a reader needs before opening the code: how it meets its goals, and how to build, test, run, and deploy it. It does not narrate an individual symbol, file, or test case — whoever wants to know what a test asserts opens the test, where the answer is exact and cannot drift.

Refresh README.md only to keep it true. A change that alters a build/test/run/deploy step, a required env var, or a prerequisite makes the README a false claim by omission, fixed per ~/.claude/skills/larv-review/standards/quality.md → "A false claim is a bug". Otherwise most changes need no README edit at all. GOOD: run-tests.sh gained a required --profile flag → update the documented command. BANNED: the change added a test case → add a paragraph describing it.

Package README (what someone finds on npm or GitHub)

  • The public API is the contract, so the README documents it: options, results, events, everything exported. The rule against narrating a file or test case still holds.
  • Sections, in order: install, the main task, the next task, and so on. The reference half — options tables, in-depth behaviour, low-level API, development — goes below the quick starts. Each quick start opens with a line or two that links its in-depth section.
  • Keep every documented behaviour, as facts, bullets and tables rather than paragraphs. Where the README is the only record of a behaviour, cutting it is a decision to ask about, not a tidy-up.
  • Write for the app developer using the package.
  • Top: badges (package version, CI), a one-line tagline that is also the package manifest's description, a feature list, a one-line table of contents. Near the bottom: a table of everything exported.
  • A guide for migrating from an older major goes in MIGRATION.md, linked from one line in the README.