doc-review
БесплатноБез исполняемых скриптовНе проверенReview documentation with independent readers before it is called done: a cold reader who has only the file, a fact checker who checks every claim against the…
от prisma★ 47 814 звёзд на GitHubОб этом скилле
Reviewing documentation
Why two readers who are not you
The author of a doc cannot judge it. They know what each term means and what was decided, so the text reads as clear to them when it is not. They also wrote the facts from memory, and the memory is often of a spec or a draft that the code no longer matches.
On one pull request in this repository, an agent wrote two decision records and changed fifty other docs, and judged them clear. Readers who were given only the files found four kinds of fault, again and again:
- The mechanism came before the problem. A record opened by explaining how the framework marks its values, before the reader knew what could go wrong or why they should care.
- Terms were used before they were defined, and some were the author's own shorthand. A package "names" another, where the reader needed "lists it as a peer dependency". A version range "admits" a version, where they needed "accepts".
- Rules were stated and never shown. One sentence said that an application "has a tilde even on its GA lines, so that an update does not move them without the facade". Nobody could follow it. What worked was a table with one row for each dependency in
package.json, showing what an update installs for it. - Facts were wrong. The text said an error appears on the first query. It appears only when a default value is read. The text said every package manager prints a warning. One of them prints none.
A reader without your context finds the first three. Only a check finds the fourth: against the code, or, for a claim about another tool, against evidence (see "Claims the repository cannot settle" below). So a doc gets both, from agents that have not seen your session.
When a change needs this
The question is whether the change adds or alters something a reader has to understand or rely on: an explanation, a rule, a statement of behaviour, a code sample, a command, a number.
| The change | What it needs |
|---|---|
| A new or rewritten explanation: an ADR, a policy page, a guide, a section of one | Both reviews: a cold reader and a fact checker. |
| A small change that states something: up to about a paragraph, a changed example, command or number | A fact checker only, who also quotes any sentence it could not follow. One changed sentence can state a wrong fact, but it rarely needs a second reader. |
| A typo, formatting, a moved or renamed file, a link repointed to where the same content now lives | pnpm lint:doc-links only. |
| A link whose target no longer exists | The sentence around it is now a claim about something that is gone. Rewrite the sentence, and treat it as a small change that states something. |
| The same mechanical edit across many files, such as a renamed term | pnpm lint:doc-links. If the term is a name in the code, search the code to confirm the new name exists. Then one cold reader on the two or three files where the term matters most. If the edit changes what the term means, it is not mechanical: use the first row. |
| A generated doc | Change the generator or its template, never the output. Then give the cold reader a freshly generated sample, and have the fact checker check the template's own statements. |
| One section of a long doc | Name the changed part in both briefs. The cold reader reads the whole file but reports on your part and how it fits. The fact checker checks only your part. You are done when your part is clean. A fault they notice elsewhere you fix if it is small; otherwise mention it in your report and leave it. |
A working file under projects/ (spec, plan, notes) |
Nothing. It has to be correct, but it is not documentation. |
The reviewers only read files and search the code, so they do not load the machine. They do cost time and tokens, which is why a small change gets one of them and not both. When the pull request will also get a code review, that reviewer can take the fact checker brief for the docs in the diff.
The procedure
- Write or rewrite the doc.
- Start the reviewers that the table above calls for, as separate fresh agents, in parallel when there are two. Fill in the brief below for each and hand it over as it stands. Give the cold reader nothing else: if it needs your explanation to understand the doc, that is the finding.
- Fix what they find.
- For the cold reader's findings, change the doc. Do not explain the text to the reviewer, or argue it out of a finding: the next reader will not have you there. You may decline a finding that is only a matter of taste, and say that you did.
- For the fact checker's findings, look at the code it cites before you change the text. A reviewer can be wrong too.
- When a finding shows that the doc's reasoning has a gap, close the gap, or say plainly in the doc that it is there.
- Go round again. Give the next round's cold read to a new agent, because the previous one now knows what the text means, as you do. For the facts, mes
Установить doc-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл doc-review?
Review documentation with independent readers before it is called done: a cold reader who has only the file, a fact checker who checks every claim against the repository, or both, depending on the change. Use whenever you write or rewrite an ADR, a page under docs/, a README, a skill or a rule, when the user asks to review, improve or take a fresh-eyes pass on a doc, and when you review a pull request that changes docs.
Как установить скилл doc-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл doc-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic