一键导入
assess-readability
Assess English readability of documentation pages (Flesch Reading Ease, Flesch-Kincaid grade, Gunning Fog, LIX), excluding generated content
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Assess English readability of documentation pages (Flesch Reading Ease, Flesch-Kincaid grade, Gunning Fog, LIX), excluding generated content
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Understand and maintain how the CRD reference pages under /reference/platform-api/crd/ are generated — register a new CRD source repo, make sure every published CRD has an example CR, and fix pages that render without an example
Classify documentation pages into their Diátaxis type and propose the diataxis_content_type frontmatter value, flagging pages that mix modes
Create a box on a Miro board for every row in a CSV inventory of pages (e.g. the output of the export-csv skill) — each box shows the page title as a clickable link to its URL, with the navigation path as a subline
Export a CSV inventory of all documentation pages (title, navigation path levels, and public URL) from the frontmatter of every Markdown file under src/content
Apply style fixes and run Vale prose linting on modified or added pages
Find documentation pages that need style improvements (long paragraphs, non-sentence-case headings, over-long shell code lines, and Vale findings)
| name | assess-readability |
| description | Assess English readability of documentation pages (Flesch Reading Ease, Flesch-Kincaid grade, Gunning Fog, LIX), excluding generated content |
| argument-hint | [path ...] [--top N] [--max-grade N] |
Measure how hard the prose is to read across (almost) the whole content tree, so
you can find the pages that most need simplifying — then point
/improve-style at them.
A helper script does the measuring in code — don't eyeball files by hand.
For each page it strips frontmatter, code fences, shortcodes and markup, then computes four widely-cited metrics over the remaining prose:
Everything is computed with the Python standard library and a fixed syllable-counting heuristic, so the assessment is completely deterministic: the same input always yields the same scores. No network, no external libraries.
_index.md list/section pages are skipped by default — by convention they are
frontmatter-only and shouldn't carry body prose (use --include-index to score
them anyway). Pages with fewer than 50 words of prose (redirects, stubs) are also
skipped, since their scores would be meaningless.
Sweep the whole tree and list the hardest pages (fast, pure Python):
python3 .claude/skills/assess-readability/assess_readability.py --top 20
By default it scans src/content and excludes auto-generated sections:
src/content/changes (changelogs)src/content/reference/platform-api/cluster-appssrc/content/reference/platform-api/crdIt prints the corpus average across all scored pages, then a table of the pages above the difficulty target, worst first.
For a detailed per-metric breakdown of one page, pass a single file:
python3 .claude/skills/assess-readability/assess_readability.py \
src/content/overview/security/platform-security/index.md
Useful flags:
--top N — only show the N hardest files.--max-grade N — Flesch-Kincaid grade above which a page is flagged
(default 12).--min-flesch N — also flag pages below this Flesch Reading Ease score.path ... — one or more files or directories to scan instead of the default.--exclude SUBSTR — skip paths containing SUBSTR (repeatable).--no-default-excludes — also scan the generated sections listed above.--include-index — also score _index.md list pages (skipped by default).--json — machine-readable output for further processing.Report the ranked list to the user. The scores are heuristic indicators, not
verdicts — treat high-grade pages as candidates to simplify. To actually
improve a page, run /improve-style <path> on it.
# The 15 hardest tutorial pages
python3 .claude/skills/assess-readability/assess_readability.py --top 15 \
src/content/tutorials
Output, worst first:
Scored 94 page(s); 22 above Flesch-Kincaid grade 12.
Corpus average:
Flesch Reading Ease 44.10 (Difficult (college))
Flesch-Kincaid Grade 9.80 (High school)
Gunning Fog Index 12.40
LIX 44.30 (Medium (non-fiction, newspapers))
Hardest page(s), worst first (top 15 of 22 flagged):
FK Flesch Fog LIX Path
------------------------------------------------------------------------
15.4 14.4 19.6 61.3 src/content/tutorials/.../index.md
...