Guidance for AI coding agents (Claude Code, Codex, Warp, etc.) working in this repository.
A Claude Code / OpenCode skill implemented entirely as Markdown. The runtime artifact is SKILL.md: the agent reads its YAML frontmatter (metadata + allowed tools) followed by the editor prompt. There is no build step and no code to run.
SKILL.md— the skill itself. YAML frontmatter (name,version,description,allowed-tools) followed by the canonical, numbered pattern list with before/after examples. This is the source of truth.README.md— for humans: installation, usage, a summary table of the patterns, and a version history.
SKILL.md and README.md must stay in sync. When you change behavior or content:
- Patterns: the skill currently defines 33 numbered patterns. If you add, remove, or renumber any, update the README pattern table, its "N Patterns Detected" heading, and every cross-reference in the same change. Keep numbering stable unless you are deliberately renumbering.
- Version:
SKILL.mdfrontmatter has aversion:field andREADME.mdhas a "Version History" section. Bump both together. - Non-obvious fixes: if you change the prompt to handle a tricky failure mode (a repeated mis-edit, an unexpected tone shift), add a short note to the README version history explaining what was fixed and why.
- Preserve valid YAML frontmatter (formatting and indentation).
- The prompt below the frontmatter is the product. Edit it like a careful instruction document, not code.