review-docs
БесплатноЗапускает вложенные скриптыНе проверенReview agentic documentation by verifying local claims against source code and cross-repository claims against available authoritative resources. Use when…
от openshift-eng★ 123 звезды на GitHubОб этом скилле
Documentation Review & Verification
Reviews agentic documentation using two-tier verification: local codebase checks first, then authoritative cross-repository sources for claims that cannot be resolved locally.
Prerequisites
Verify cross-repository facts against authoritative sources, such as upstream
GitHub sources or Chai Bot's configured CodeRAG. Claims that cannot be
checked remain unverified; local verification still runs fully.
Tribal knowledge: When running inside an environment with access to researcher and knowledge-source callbacks (e.g. Chai Bot), query the researcher and configured knowledge sources (Slack, Jira) directly for tribal knowledge about this repository. Cross-reference generated documentation against discovered tribal knowledge during verification — particularly for undocumented conventions, common pitfalls, and historical context that may not appear in source code.
When to Use
- After
/component-docsor/update-platform-docs - Before documentation PRs
- When docs may contain outdated/incorrect information
Limitations
This skill verifies factual accuracy of what's documented. It does NOT detect:
- Missing documentation — incomplete coverage, absent sections
- Low information density — generic placeholders instead of repo-specific details
- Misleading by omission — technically correct but useless (e.g., "uses controllers" without specifying which framework)
For completeness and specificity, rely on the Implementation Pattern Discovery checklist in /component-docs and SME review.
Review mode and immutable evidence
Follow Claim cache below for snapshots, evidence,
review planning, and cleanup. Resolve scripts/claim_cache.py from this skill.
Keep the cache outside the doc scope; delegated reviewers never delete it.
After each report, compact verified observations into aggregate receipts while
retaining failed and unresolved evidence.
Without a valid independent baseline, review the full scope. Otherwise, check affected claims and their dependencies, reusing valid independent evidence. Use a fresh context with immutable evidence and the diff, not the fixer's chat. Check reviewer independence and inventory coverage; cache entries prove neither.
Claim Classification
Classify each claim by what it asserts. A single doc sentence may contain both a local fact and a cross-repo assertion — extract these as separate claims.
Local: "Can this be verified from the current repo?"
Verifiable by reading the repo's own source code, including vendor/:
- File/directory paths exist
- Makefile targets exist
- Go version — check both the
godirective (minimum version) andtoolchaindirective (actual toolchain) ingo.mod - Default branch name
- Import statements present (which frameworks a controller imports)
- Code patterns present (apply/update/patch calls, webhook registration code, feature gate checks)
- Go symbols referenced in examples exist
- YAML examples parse without errors
- Internal doc links resolve
- External links return HTTP 200 (with caveats — see Phase 3)
- Cross-file consistency (same concept not contradicted across doc files)
- Test directories and framework imports exist
- API/CRD field names, types, defaults — if
vendor/github.com/openshift/apiexists, verify struct definitions from vendoredtypes.gofiles - Feature gate definitions — if
vendor/github.com/openshift/library-goorvendor/github.com/openshift/apiexists, verify gate names and stages from vendored code - API group/version — if vendored, check
register.goforGroupNameandSchemeGroupVersion
Cross-repo: "Is this correct against external sources?"
Claims that cannot be resolved from local code or vendor/:
- API/CRD fields, feature gates, API group/version when not vendored, or when checking whether the vendored version is current
- Enhancement existence and status (in
openshift/enhancements) - Official terminology (must match
openshift-docs) - Cross-component interactions (how other operators behave)
- Platform convention compliance (whether a locally-verified pattern follows platform norms)
- Platform pattern references (whether linked platform docs are accurate)
- Historical context (design decisions in Slack/Jira, not code)
Examples
| Documentation Says | Local Claim | Cross-Repo Claim |
|---|---|---|
| "Uses admission webhooks" | Webhook registration code exists in repo | Webhooks follow platform conventions |
| "Applies resources via SSA" | SSA apply calls exist in controller code | Field manager names match platform norms |
| "Feature gate TechPreviewNoUpgrade controls X" | Code checks for this gate name | Gate exists in openshift/api with claimed stage (if not vendored) |
Always run the local check first. If a claim fails locally, report it without searching for external evidence to override the repository.
Установить review-docs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл review-docs?
Review agentic documentation by verifying local claims against source code and cross-repository claims against available authoritative resources. Use when checking generated or existing agent docs for factual accuracy, stale claims, broken references, or pre-PR readiness.
Как установить скилл review-docs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл review-docs запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic