| name | doc-readability |
| description | Evaluates documentation readability, tone, structure, and audience-appropriateness per layer. Use when reviewing doc quality, auditing tone consistency, checking formatting compliance, reviewing a page before publishing, or running a readability audit across a documentation layer. |
Documentation Readability Evaluation
Evaluate readability and layer-appropriateness for: $ARGUMENTS
Parse the arguments to determine scope. Accepted inputs:
- A single page path (e.g.,
docs/dev/gas-model.md) — evaluate that page.
- A layer directory (e.g.,
docs/dev/, docs/spec/) — evaluate all pages in that layer.
all — evaluate every page listed in docs/SUMMARY.md.
- A glob pattern (e.g.,
docs/integration/*.md) — evaluate matching pages.
Default (no arguments): evaluate all pages.
Setup
- Read the writing rules. Before evaluating any page, load the applicable rules:
- Always read
docs/AGENTS.md (cross-layer conventions).
- Read the layer-specific
AGENTS.md for the page being evaluated (docs/user/AGENTS.md, docs/dev/AGENTS.md, or docs/spec/AGENTS.md).
- Read
docs/SUMMARY.md to understand the full page inventory and navigation structure.
- Detect each page's layer from its path prefix (
docs/user/, docs/dev/, docs/spec/). Top-level pages in docs/ (e.g., docs/architecture.md, docs/mini-block.md) follow the narrative tone rules in docs/AGENTS.md.
Evaluation Checklist
For each page, run through these checks in order. Not every check applies to every layer — the layer matrix below defines which checks apply where.
1. Structural Lint
2. Layer-Appropriate Content
3. Block Usage
4. Tone and Readability
5. Cross-Linking
Layer Matrix
| Check | User | Dev | Spec |
|---|
| Code blocks | Forbidden | Required for features with usage patterns | Pseudocode only |
| "you" / second person | Encouraged | OK | Forbidden in Specification sections |
| MUST/SHALL/SHOULD | Inappropriate | Avoid unless quoting spec | Required for behavioral rules |
| Stepper blocks | Required for multi-step | Optional | Not used |
| Summarize + link to spec | N/A | Required when referencing spec behavior | N/A |
| Copy-pasteable values | N/A | Nice-to-have | N/A |
{% hint style="success" %} | OK (tips) | OK (best practices) | Forbidden |
{% hint style="danger" %} | OK (warnings) | OK (breaking changes) | Deprecation notices only |
| Glossary first-use linking | Not required | Not required | Required |
| Page length | Flag >500 words, consider splitting | No hard limit | No hard limit |
Output Format
Produce a Markdown report with this structure:
# Readability Evaluation Report
**Scope**: {what was evaluated — page path, layer, or "all"}
**Date**: {date}
**Pages evaluated**: {count}
## Summary
| Layer | Pages | Pass | Fail | Findings |
| ----- | ----- | ---- | ---- | -------- |
| User | N | N | N | N |
| Dev | N | N | N | N |
| Spec | N | N | N | N |
## Findings
### R-001: {short description}
- **Severity**: Blocker | Major | Minor
- **Layer**: {layer}
- **Page**: {path}
- **Rule**: {which check failed}
- **Evidence**: {excerpt or description}
- **Suggested fix**: {concrete edit}
### R-002: ...
## Quick Edit Checklist
- [ ] {Concrete edit 1 — file:line or file:section}
- [ ] {Concrete edit 2}
- [ ] ...
Severity definitions:
- Blocker: Content in the wrong layer, code blocks in User layer, normative language in User layer, spec linking to dev/user docs.
- Major: Missing frontmatter, heading hierarchy violations, wrong hint block style for the layer, missing summarize+link pattern in Dev.
- Minor: Multi-sentence lines, missing glossary links, suboptimal block usage, minor tone drift.
Rules
- Evaluate against the AGENTS.md rules as written. Do not invent additional style rules.
- When a page has zero findings, still include it in the summary table as "Pass".
- If evaluating a batch, sort findings by severity (Blocker first), then by layer, then by page.
- Do NOT fix the issues yourself unless the user explicitly asks. This skill produces a report, not edits.
- If a finding is ambiguous (could be intentional), note it as Minor with "Review: may be intentional".
Related Skills
- After readability evaluation, run
/doc-correctness to verify factual claims.
- After doc updates, run
/doc-freshness to check for coverage gaps.