Skill

perfect-docs

@mattpocock 1.7k installs Trending #159 on Skills.Sh Not reviewed yet Updated 2026-11-30

The target state for a library's documentation site: quick starts, Learn, Guides and Reference, one home per fact, concepts taught in learning-graph order, every code example checked against the source, every export covered, rigorous cross-links, redirects for every moved URL. Use when writing, restructuring or auditing a docs site, deciding where a piece of documentation belongs, or adding a check that keeps docs true to the code.

Install

With your agent

Install OMGSkills skill "mattpocock/skills:perfect-docs" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

tmp="$(mktemp -d)" && { git clone -q --filter=blob:none --no-checkout https://github.com/mattpocock/skills "$tmp" && git -C "$tmp" checkout -q fe3b143d813e0d9f0b22531e4e4c5f239745d643 && { [ ! -L ~/.claude/skills/perfect-docs ] || rm ~/.claude/skills/perfect-docs; } && { [ ! -e ~/.claude/skills/perfect-docs ] || { echo "~/.claude/skills/perfect-docs already exists; move it away to reinstall." >&2; false; }; } && mkdir -p ~/.claude/skills/perfect-docs && cp -R "$tmp/skills/in-progress/perfect-docs/." ~/.claude/skills/perfect-docs/; ok=$?; rm -rf "$tmp"; [ "$ok" = 0 ]; }

From README

Perfect Docs Measure a docs site against this target: every gap is a finding, and every change moves the site toward it. The target holds for any language and any docs tool. Each automated check below says what it must guarantee; the project picks the tool. Vocabulary Use these words exactly, each in this one sense. Learn: the reader's first journey through the library. It names the problems the library solves, then teaches every concept in learning-graph order. the shortest path from to working code, for one mode of use. Mode: a distinct way to use the library, such as a CLI and a library API, or one framework among several. Guide: one task, titled the way a developer searches for it. Reference: one entry per public export, written by hand. Concept: an idea a reader must hold to use the library. Its home is a heading in Learn. Learning graph: concepts as nodes, with an edge from A to B when B makes sense only after A. It has no cycles.