~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
55 lines · 2.3 KB Raw History

Brief for the writer

Fill in the brackets and hand it to a fresh agent.


Write the group host's [design page / reference page] for [topic] from scratch, as one Markdown file at [scratch path]. It will become [docs path].

Your inputs

These two files are your only sources. Read them in full before writing:

  • [context file]: the reader, background, a glossary, the pages you may link to, and the questions the page answers, in order.
  • [facts file]: the facts, from the code and the old pages.

[DOC WRONG] means an old page was wrong: write what the code does, without mentioning the old page. Leave out what the Quirks section lists, but never state the opposite of a quirk as design: describe the intended rule.

Do not read existing documentation: README.md, docs/, AGENTS.md. You may read code only to settle a doubt about a fact, and say so in your report. Describe this host as it is: never compare it with another implementation, or say where an idea came from.

How to write it

  • Lead with the problem: [what the page's subject is up against]. Explain each mechanism as the answer to a problem, so a reader knows why a rule exists by the time they meet it. Put the lowest-level details in a short plain list headed "Details" at the end of their section.
  • Define before use.
  • A list only for truly parallel items, a table only for tabular data.
  • Don't number the problems and refer back to them; let the structure make the connection.
  • The voice is .claude/skills/docs/voice.md: read it before writing, and run its mechanical pass over the page when done.
  • No diagrams.
  • What atproto defines (spaces, OAuth and DPoP, scopes, service auth, PLC, labels, migration) gets a clause and a link to its atproto.com page, from the context file. Explain only what this host does on top.
  • Links: only the paths and URLs the context file lists.
  • Length: about [n] lines. A design page is the problem, the mechanism and its trade-offs. Every method, parameter, error, lifetime, limit and variable belongs in ../reference/, and the page names one only where it helps the explanation.

Report back

  1. The headings, one line each.
  2. Facts you left off, and where each belongs.
  3. What you checked in the code, and what you found.
  4. The page length in lines.