docs-review
Skill1 starsChanged 11 days agoMITView on GitHub
Use when reviewing pyeye's own documentation for usability and honesty — "review the docs", "docs review", "check the pages bound to the facts this PR changed", "work down the uncovered-fact ledger", "/docs-review". Reviews registered pages over a caller-supplied scope with a fresh-context reviewer, and returns findings that each name their anchor and give a way forward. Nothing is ever applied automatically. Internal to this repo (not shipped). Does NOT check facts (that is `docs_facts check`), and does NOT audit code conventions (architecture-review) or copies (duplication-review).
30 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/vscode-docstheir own version, first seen Nov 29, 2026
- langchain-ai/docstheir own version, first seen Nov 23, 2026
- uchida-s07/claude-skillstheir own version, first seen Nov 22, 2026
- jamie8johnson/cqstheir own version, first seen Nov 17, 2026
- SVN11X/skillstheir own version, first seen Nov 16, 2026
- swarm-routing/skillstheir own version, first seen Nov 15, 2026
Used with
Projects with it also use pr-review, code-review and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillpr-review
Verify the technical accuracy of a vscode-docs pull request against the VS Code source code in microsoft/vscode. Use when reviewing a docs PR for factual correctness: setting names, command IDs, default values, API shapes, keybindings, versioned availability, and described behavior.
Also in 3 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 4 projects that use this
MicrosoftSkillrelease
Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).
Also in 3 projects that use this
Other versions30 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 30
- storybookjs/storybook★ 92ksame name
- metabase/metabase★ 51ksame name
- microsoft/vscode-docs★ 6.7ksame name
- grafana/tempo★ 5.6ksame name
- graphistry/pygraphistry★ 2.6ksame name
- perber/leafwiki★ 1.3ksame name
- jtenniswood/espcontrol★ 1.2ksame name
- Harry-kp/vortix★ 807same name
- getsentry/sentry-rust★ 755same name
- mintlify/docs★ 469same name
20 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- architecture-reviewSkill
- decision-logSkill
- duplication-reviewSkill
- pyeye-scenariosSkill
- pyeye-verifySkill
- python-exploreSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 28 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 49
All mechanics are in scripts/docs_review.py (logic in pyeye.docs_facts.review).
- Very specific: line 68
Scope: Run lift-blocked first (a code_bug finding whose issue has closed comes back for review), then scope, and read the packets.
“Common” is measured: kept by at least 6 in 10 of the 28 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Docs Review (internal)
Review the hand-written documentation for what a fact check can't see: prose
that misleads, overclaims, or doesn't serve its audience. This is the
presentation layer of #818: facts come from the code and docs_facts check
keeps them right, while this review keeps the prose usable. It sits beside
architecture-review and duplication-review and reuses their state machinery
(D7).
The Review Principle — Read First
- The tool never decides. A finding is a recommendation or a set of options, never an edit. Nothing is applied, codified or dismissed without the human.
- Every finding names its anchor: the fact ID, the code symbol (its canonical pyeye handle, for prose the code contradicts), the D12 clause, the audience rule or the style rule it rests on.
- Every finding gives a way forward:
- a clear fix (plain fact drift, a broken link) carries one proposed replacement text, and no options;
- genuine ambiguity carries
needs_decision, the question it needs answered, and two or three options, each with its cost. It recommends one and names the recommendation's anchor whenever an anchor exists. When none exists it still gives an assessment, labelledunanchored: judgment only, never presented as settled.
architecture-review uses the same validator, with its own outcomes (#1179).
scripts/docs_review.py validate enforces the shape; a finding that fails it is
never shown.
Scope Is Required
There is no default scope. Pick one of:
- Change-triggered:
scope --base origin/main. It selects every page that binds or covers a fact added or changed since the base, plus the ledger's new uncovered facts. Run it for a PR that changed facts. - On demand:
scope <pages or globs>and/orscope --audience human|claude|both.
The release-time full pass with task scoring is not part of this internal skill yet (#830).
Running It
All mechanics are in scripts/docs_review.py (logic in
pyeye.docs_facts.review). Every command prints JSON.
| Command | Does |
scope [PAGES…] [--audience A] [--base REF] | Reviewer packets: per page, its audience, kind, facts and sections, each section marked needs_review or not. |
validate FINDINGS.json [--today D] | Rejects any finding without its anchor or a way forward (exit 1); otherwise gives each one's status. |
mark-fine PAGE SECTION --date D | Records a section as reviewed and fine. |
dismiss FINDINGS.json --index N --reason R --date D [--review-after D] | Records one finding as dismissed. |
dismiss-uncovered FACT --reason TEXT --date D | Records a fact as deliberately not covered. |
move KEY NEW | Carries an orphaned or lapsed dismissal over to its anchor's new form: the new fact ID, the new canonical handle, or the reworded subject. |
forget KEY | Deletes a dismissal, e.g. one whose fact was removed. |
lift-blocked | Lifts every code_bug dismissal whose blocking issue is now closed (needs gh; offline it changes nothing). |
State lives in docs/facts/review-state.json. Commit it, so the whole team
shares the verdicts. Dates are always supplied by the caller; nothing reads a clock.
The Review Loop
- Scope. Run
lift-blockedfirst (acode_bugfinding whose issue has closed comes back for review), thenscope, and read the packets. Skip sections whoseneeds_reviewis false: they were marked fine and neither their text nor their facts have changed since. - Dispatch the reviewer, one fresh subagent per page, with
reviewer.mdand that page's packet. It reads the page with targeted reads and returns a JSON array of findings, nothing else. - Validate. You run it, never the reviewer. Write the findings to a
scratch file and run
validate. A finding with problems goes back to the reviewer with the problems quoted; never fix it up yourself.- "page … changed since scope": the page changed under the review. Re-run
scopefor that page and send the reviewer its fresh packet. - A repeated finding (same page, section, category, anchor and, for a rule anchor, subject) is rejected: there is one finding per identity, the same identity dismissals use.
- Proposed wording is checked against the rules too: an unbacked claim, or a hand-written value of the anchor fact, is rejected.
- "page … changed since scope": the page changed under the review. Re-run
Present each shown finding to the human verbatim, with its status:
new: not seen before;resurfaced: dismissed before, but its anchor fact's value changed;review-due: a dismissal whosereview_afterdate has come.
Lead with
fact_drift,code_contradictionandhonest_claimsfindings, thenaudience, thenstyle.- The human decides, per finding:
- accept: the human edits the page, or tells you to apply the proposed text. Only on that explicit instruction, and only that text;
- dismiss:
dismisswith a reason (fine,deliberate,other); - choose an option, for a needs-decision finding.
- Mark sections fine with
mark-fine, only for sections the human agrees need nothing. - Uncovered facts (from the scope's
uncoveredlist): for each, either propose where prose should explain it (anuncovered_factfinding with a replacement, anchored on the fact), or, if the human says it deliberately needs no prose,dismiss-uncoveredwith their reason. Then runuv run python scripts/docs_facts.py generate, which moves the fact to the ledger's read-onlydismissedsection.
Dismissals
- A dismissed finding stays dismissed when it is reworded: identity is the page,
section, category and anchor, never the prose. For a rule anchor (claims,
audience, style) its quoted
subjectis part of the identity too, so dismissing one broken link doesn't hide a different one added later. - It returns as
resurfacedwhen what it rests on changes: the anchor fact's value, or the anchored symbol's signature or docstring as pyeye reports them (a body edit doesn't count). - A "deliberately not covered" fact returns to the ledger when its value changes.
- A heading rename resets that section: its "fine" verdict and its dismissals are pruned on the next state write (the command output lists them), so its findings come back for review rather than staying hidden.
- A dismissal whose quoted subject no longer occurs in its section has lapsed:
checkstays green, the next command here prunes it (the output lists it), and its finding may come back. Editing prose never means touching the state. docs_facts checkfails on a dismissal whose fact no longer exists or whose symbol no longer resolves. The PR that made the change fixes it:move KEY NEWfor a rename,forget KEYotherwise. The failure message gives both commands with the key.
Honest Limits
- The review is judgment, not verification. Its findings say what they rest on so the human can check them.
- It sees only registered pages (the doc registry) and never generated reference pages.
- Fact values are checked mechanically elsewhere. A reviewer that "finds" a
wrong value in a fact block has found a
docs_factsbug: report it as an issue, not a finding.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

