writing-skills
OBobra/superpowers331k近 7 天新增 5,757 个 star
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.
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.
Use these words exactly, each in this one sense.
Say concept where "topic" or "idea" might come to mind, and entry where "API doc" might.
The site has three sections, and each owns one kind of fact:
| Section | Owns | Links out to |
|---|---|---|
| Learn | what each concept is, why it exists, the order to learn it | Reference, on every export mention |
| Guides | the steps and choices of one task | Learn for concepts, Reference for exports |
| Reference | what each export does | Learn, for the concept behind it |
A fact lives in exactly one home. Every other page that needs it links there, with at most a one-line gloss. A change to a behaviour is then a one-place edit, and the site cannot contradict itself.
Every site has a quick start for each mode of use, first in the navigation, before Learn. A quick start takes the shape of a Guide (see guides.md): it ends with working, checked code and teaches nothing, so every concept links to its home in Learn and every export to its entry.
The quick starts, Learn and Reference are complete: every mode has a quick start, every concept has a home in Learn, and every public export has an entry in Reference. Guides are extra and never needed for completeness.
Read a topic file when the work touches that area.
learn.md: turning the learning graph into a reading order, breadth and depth, the problem-first arc, asides.guides.md: choosing Guide topics and the shape of a Guide.reference.md: the shape of an entry, and the coverage check.examples.md: concise examples, folds, and the examples check.links.md: cross-link rules, the link check, the URL list and redirects.style.md: the prose style, glossary terms, and the style review.Each runs in CI and fails the build on a violation.
examples.md.reference.md.links.md.links.md.links.md.What no check can judge (reading order, the problem each section opens with, the prose) is the job of the style review in style.md.
OBobra/superpowers331k近 7 天新增 5,757 个 star
OBobra/superpowers331k近 7 天新增 5,757 个 star
AFaffaan-m/ECC314k近 7 天新增 4,125 个 star
MUmultica-ai/andrej-karpathy-skills238k近 7 天新增 2,229 个 star
ANanthropics/skills203k近 7 天新增 3,333 个 star