diataxis-review
Review a documentation tree against the Diataxis spec — classify every page, run the structural pass, and optionally file findings as tech debt.
SKILL.mdplugin/skills/review/diataxis-review/SKILL.md
GitHubDiataxis Review
The Diataxis reference is the single source of truth for this review — the four modes and their criteria, classification heuristics, mode-mixing anti-patterns, structural checks, finding format, and severity levels live there and nowhere else. Read it end to end before opening a page and apply it verbatim; this file only sequences the work.
How the procedural pages are written is governed by a second source of truth: The Simplified Technical English reference (KAIROS-S-0009). Diataxis decides what a page is for; STE decides how a tutorial, how-to or reference page is worded. Read it before reviewing any page in those three modes, and cite its rule IDs (STE-S2, STE-G1, …) the way you cite Diataxis rules.
Do not apply STE to an explanation page. STE is a controlled language for procedures and is deliberately hostile to argument, so an explanation page is out of its scope — section 1.2 of the reference says so. Flagging an explanation page for a long sentence or a passive voice is a false finding, and one that would flatten exactly the reasoning the mode exists to carry.
1. Scope
Establish which tree is under review: the path the user gave, else the repo's docs root (ask if ambiguous). List every page in scope before classifying any — the structural pass needs the complete inventory.
2. Per-page pass
For each page in scope: determine its declared mode and actual mode(s) with the reference's Section 3 heuristics, then check it against its mode's Section 2 criteria and the Section 4 anti-patterns. Complete when every page in the inventory has a classification and a criteria check — a skipped page is an unfinished review.
3. Tree pass
With the full classification in hand, run the reference's Section 5 checks (S1–S6) across the tree. Complete when each of S1–S6 has an explicit verdict — pass or finding.
4. Report
Emit findings exactly in the reference's Section 6 format and ordering. Lead with the classification table — page, declared mode, actual distribution — for every page reviewed, findings or not. If the tree is clean, say so explicitly above that table.
5. File tech debt (optional)
Offer to file the findings on the team's delivery board. If accepted: resolve the board with whoami/my_boards, then one create_item per accepted finding — item_type: task, task_type: tech_debt, board set to the delivery board, title from the finding's proposed action, content the finding verbatim (rule IDs intact). Report the short codes created.