一键导入
find-style-issues
Find documentation pages that need style improvements (long paragraphs, non-sentence-case headings, over-long shell code lines, and Vale findings)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Find documentation pages that need style improvements (long paragraphs, non-sentence-case headings, over-long shell code lines, and Vale findings)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
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
Assess English readability of documentation pages (Flesch Reading Ease, Flesch-Kincaid grade, Gunning Fog, LIX), excluding generated content
Apply style fixes and run Vale prose linting on modified or added pages
基于 SOC 职业分类
| name | find-style-issues |
| description | Find documentation pages that need style improvements (long paragraphs, non-sentence-case headings, over-long shell code lines, and Vale findings) |
| argument-hint | [path ...] [--vale] [--top N] |
Scan the documentation and rank pages by the number of style problems they
contain, so you know where to point /improve-style next.
A helper script does the finding in code — don't eyeball files by hand.
Microsoft.Headings rule remains the authoritative check.sh / bash / shell / console fenced code blocks.Run the structural scan (fast, pure Python, covers all 5000+ pages):
python3 .claude/skills/find-style-issues/find_style_issues.py
By default it scans src/content and excludes auto-generated sections
that aren't worth manual style review:
src/content/changes (changelogs)src/content/reference/platform-api/cluster-appssrc/content/reference/platform-api/crdTo include Vale findings, add --vale. This runs the same Docker image as
the improve-style skill, so it's slower — scope it to a directory or a few
files rather than the whole tree:
python3 .claude/skills/find-style-issues/find_style_issues.py --vale \
src/content/tutorials/observability
Useful flags:
--top N — only show the N worst files (results are ranked by Vale errors,
then total issue count).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.--max-paragraph N / --max-code-line N — override the thresholds.--json — machine-readable output for further processing.Report the ranked list to the user. The heading check is heuristic, so treat
its hits as candidates to review, not certain defects. To actually fix a
page, run /improve-style <path> on it.
# Worst 15 pages in the tutorials section, including Vale
python3 .claude/skills/find-style-issues/find_style_issues.py --vale --top 15 \
src/content/tutorials
Output is grouped per file, e.g.:
src/content/overview/security/platform-security/index.md
long-paragraph : 2 (longest 1137 chars) — L55 (762), L180 (1137)
heading-case : L53 — word 'Operator' is capitalized mid-heading: "Trivy Operator"
long-code-line : 16 (longest 158 chars) — L81 (158), L82 (158), ...
vale : 23 (6 error, 0 warning, 17 suggestion)