+The rules in `.claude/rules/` are the binding contract: `mdx-style`, `mdx-mechanics`, `mdx-components`, `mdx-reference-pages`, and `docs-conventions` load on work under `fern/`; `spec-conventions` loads on TypeSpec under `specs/`; and root `CLAUDE.md` carries the repo-wide facts every session. Path-scoped rules fire when a matching file is read, so open the matching rule yourself when you create a file from scratch. This file is the rationale and depth behind them: read it when doing dedicated style work (polishing a page, writing a new guide from scratch, adjudicating a style dispute), not for routine edits. Nothing in `.claude/docs/` auto-loads. Built 2026-07-21 from a five-track research pass (Claude Code docs, this repo's 2,801-page corpus, Fern's docs source, and external style-guide research); the full source-evaluation and per-rule provenance tables are recorded in the PR that introduced these rules.
0 commit comments