dev-docs-review
Review all project documentation for staleness — READMEs, skills, plans, CLAUDE.md, project structure trees
от Nebulavenus★ 51 звезда на GitHub
Установить dev-docs-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Sweep every documentation file in the repo for staleness, inaccuracy, and gaps. This catches stale project structure trees, completed plan items that should be removed, missing READMEs, skill docs referencing deleted files, and lesson lists that are behind the actual lesson count.
When to use this skill:
- After a batch of lessons or features lands on main
- After a major refactor that moved files or directories
- Periodically (monthly) to keep docs honest
- Before tagging a release or milestone
The user optionally provides:
--fix— auto-fix issues where possible (update trees, prune plans, add missing READMEs). Without this flag, report findings only.--lesson <track>/<NN>— review only docs relevant to a specific lesson (e.g.--lesson gpu/37). See "Lesson-scoped review" below.--pr <number>— review only the documentation files changed in a pull request (e.g.--pr 199). See "PR-scoped review" below.
Lesson-scoped review (--lesson)
When --lesson <track>/<NN> is provided, skip the full parallel sweep and
instead run a single focused agent that checks only the documentation touched
by that lesson. This is fast and useful right after creating or updating a
lesson.
Resolve the lesson from the argument:
<track>isgpu,math,ui,engine,assets,physics, oraudio<NN>is the lesson number (zero-padded or not)- Find the actual directory: glob
lessons/<track>/<NN>-*to get the full slug (e.g.gpu/37→lessons/gpu/37-3d-picking/) - If no directory matches, report an error and exit
Files to review:
| File | What to check |
|---|---|
lessons/<track>/README.md |
Lesson listed in the track's lesson table (GPU track uses screenshot gallery table) |
lessons/<track>/<NN>-*/README.md |
Lesson README exists, links are valid, diagrams referenced exist in assets/ |
scripts/forge_diagrams/README.md |
Diagram count and lesson count for the track are accurate |
scripts/forge_diagrams/<track>/lesson_<NN>.py |
Diagram module exists if lesson has diagrams |
.claude/skills/*/SKILL.md |
Find the skill created for this lesson (search for the lesson name or number), verify its path references are valid |
PLAN.md (root) |
Lesson is not still listed as a TODO if it exists and is complete |
Checks per file:
Track
README.md(lessons/<track>/README.md):- The lesson is listed in the track's lesson table. For the GPU track, this is a screenshot gallery table (thumbnail + name + description). For other tracks, it is a markdown table.
- If missing, add the lesson entry in the correct format for that track.
- Skills list (GPU track): The GPU README has an "Available skills"
bullet list. If the lesson has a matching skill in
.claude/skills/, verify it appears in this list. If missing, add it.
Lesson
README.md(lessons/<track>/<NN>-*/README.md):- Exists. If missing, report (don't auto-generate — lesson READMEs are substantive).
- All
assets/*.pngreferences point to files that exist. - All internal links (e.g. to other lessons, common/ headers) are valid.
Diagram infrastructure:
- If
scripts/forge_diagrams/<track>/lesson_<NN>.pyexists, verify it is re-exported inscripts/forge_diagrams/<track>/__init__.py(the track package__init__.pysurfaces modules to the__main__.pyregistry). - Check that
scripts/forge_diagrams/README.mdcounts are still accurate (total diagrams, per-track lesson counts).
- If
Lesson skill:
- Search
.claude/skills/*/SKILL.mdfor references to the lesson number or slug. The matching skill is the one created alongside the lesson (e.g.forge-stencil-testingfor lesson 34). - Verify all path references in that skill doc are valid.
- Search
Root
PLAN.md:- If the lesson directory exists and is complete (has
main.c+ README), it should not appear as an unchecked TODO in the plan.
- If the lesson directory exists and is complete (has
Report format (lesson-scoped):
Lesson Documentation Review: <track>/<NN>-<slug>
═══════════════════════════════════════════════════
Root README: ✓ ok | X issues (Y fixed)
Track README: ✓ ok | X issues (Y fixed)
Lesson README: ✓ ok | X issues (Y fixed)
Diagram infrastructure: ✓ ok | X issues (Y fixed)
Lesson skill: ✓ ok | X issues (Y fixed)
Root PLAN.md: ✓ ok | X issues (Y fixed)
Details:
────────────────────────────────────────────
[Findings, if any]
PR-scoped review (--pr)
When --pr <number> is provided, review only the documentation files changed
in that pull request. This is useful after a PR lands to verify that all the
docs it touched are consistent.
Get the changed files:
gh pr diff <number> --name-only
Filter to documentation files — keep only files matching:
*.md(READMEs, PLANs, lesson docs).claude/skills/*/SKILL.md(skill docs)CLAUDE.md- `scrip
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл dev-docs-review?
Review all project documentation for staleness — READMEs, skills, plans, CLAUDE.md, project structure trees
Как установить скилл dev-docs-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dev-docs-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…