Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ir:doc-review

БесплатноБез исполняемых скриптовНе проверен

Audit all project documentation for understandability, completeness, and validity using objective, binary criteria, then fix every finding directly in place…

ingo-eichhorstот ingo-eichhorst★ 105 звёзд на GitHub

Об этом скилле

ir:doc-review — Objective Documentation Audit

Goal: audit every in-scope documentation surface against three axes — understandability (U), completeness (C), validity (V) — and fix every finding directly, in place. Filing a GitHub issue is the fallback for the rare finding that can't be safely applied (see step 7) — it is not the default outcome of a finding.

The audit must be reproducible: every finding is binary (a named criterion failed), anchored to a verbatim quote at a location, scored by a fixed severity rubric, and stamped with a stable finding-ID. Two runs on an unchanged tree must converge on the same findings.

Two companion files define the objective parts. Read both before auditing and apply them literally — never invent criteria, never grade on subjective grounds (tone, elegance, "feels unclear"):

  • references/rubric.md — the criteria (U1–U6, C1–C4, V1–V6), the severity rubric, the finding-ID recipe, and a worked pass/fail example per criterion. This is the contract.
  • references/inventory-sources.md — the bash recipes that derive the authoritative inventories (adapters, CLI flags, env vars, routes, states, events, relay frames, version) from code each run. Axes C and V check docs against these inventories, never against memory.

Inputs

  • --report-only — run the full audit and print per-surface findings, but change nothing and file nothing. Use this first, and for the convergence check.
  • An optional path or glob — limit the audit to matching surfaces (default: all in-scope).

ir:release Step 4b runs this fix-by-default workflow on every release (#834, #837), so drift can't silently accumulate the way the stale "no hooks" claim once did.

Workflow

1. Locate the repo root and confirm gh

Work from git rev-parse --show-toplevel. Confirm the repo is ingo-eichhorst/Irrlicht (gh repo view --json nameWithOwner) and gh auth status succeeds. If --report-only, the gh auth check is optional.

2. Build the code-derived inventories

Run every recipe in references/inventory-sources.md and capture the resulting sets: adapters, CLI binaries + flags, config env vars, daemon routes, session states, lifecycle event kinds, relay frames + ProtocolVersion, the version string, and default ports/TTLs. These sets are the authoritative truth for axes C and V. Never hardcode them — they change with the code. If a recipe errors because code moved, fix the recipe in references/inventory-sources.md and note the drift in the run summary; do not fall back to a remembered list.

3. Enumerate in-scope surfaces

In scope (each file is one surface):

  • Top-level markdown: README.md, AGENTS.md, CLAUDE.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, CHANGELOG.md, events.md
  • docs/**/*.md (e.g. docs/relay-protocol.md)
  • tools/*/README.md and tools/*/SKILL.md
  • .claude/skills/*/SKILL.md and .claude/skills/*/skill.md
  • Published site: site/index.html and site/docs/*.html
  • Design-system surfaces: tools/irrlicht-design-system/README.md and its ui_kits/*/README.md

Out of scope — never audit, never count toward completeness: replaydata/**, .claude/worktrees/**, node_modules/**, .build/**, .aider.chat.history.md, generated replay goldens, vendored assets.

The published site drives axis V's cross-surface check: pair each site/docs/<x>.html with its in-repo source where one exists, e.g. CONTRIBUTING.md ↔ site/docs/contributing.html, events.md ↔ site/docs/state-machine.html / session-detection.html, the README feature/agent list ↔ site/index.html agent grid, CHANGELOG.md ↔ site/docs/changelog.html.

4. Apply the rubric per surface

For each surface, evaluate every criterion in references/rubric.md. Raise a finding ONLY when a criterion fails AND you can anchor it to file:line (or an HTML anchor) with a verbatim quote of the offending text — and, for C/V findings, name the authoritative source it was checked against. If you cannot quote it, it is not a finding.

You MAY fan out one read-only subagent per surface to parallelize, handing each the rubric text and the pre-built inventories. Because the criteria, severity, and ID recipe are fully specified in the rubric, fan-out must not change the result.

5. Score and ID each finding

  • Severity comes solely from the fixed rubric (Critical / Major / Minor / Nit) — by criterion + audience, never reviewer taste.
  • Compute the stable finding-ID exactly as references/rubric.md specifies. Same input → same ID across runs.

6. Draft the fix for each finding

For every finding, write out (this is scratch working state, not an issue body yet — step 7 reuses it verbatim for whatever remains unresolved):

  • Location — file:line (or HTML anchor) + a verbatim quote of the offending text.
  • What's wrong — one sentence, tied to the named criterion.
  • Exact fix — the specific replacement text / precise
Полный SKILL.md на GitHub

Установить ir:doc-review в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/inventory-sources.mdreferences/rubric.md

FAQ

Что делает скилл ir:doc-review?

Audit all project documentation for understandability, completeness, and validity using objective, binary criteria, then fix every finding directly in place. Filing a GitHub issue is the rare fallback — only for a finding whose fix is genuinely ambiguous or that fails verification after being applied. Every finding is anchored to a quoted location and stamped with a stable ID so independent runs converge. Triggers on "/ir:doc-review", "audit docs", "review documentation", "check the docs", "doc audit". Supports a --report-only dry run that changes nothing and files nothing.

Как установить скилл ir:doc-review?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ir:doc-review запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ir:doc-review с