From agentic-docs
Review agentic documentation — verify claims locally against source code first, then use chai-bot for cross-repo and cross-functional verification
How this skill is triggered — by the user, by Claude, or both
Slash command
/agentic-docs:review-docsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Reviews agentic documentation using **two-tier verification**: local codebase checks first, then cross-repo verification via **chai-bot MCP server** for claims that can't be resolved locally. Verify locally when possible, escalate to chai-bot when necessary.
Reviews agentic documentation using two-tier verification: local codebase checks first, then cross-repo verification via chai-bot MCP server for claims that can't be resolved locally. Verify locally when possible, escalate to chai-bot when necessary.
Recommended (for cross-repo verification): chai-bot MCP server configured with bearer token and Red Hat VPN connection. Without chai-bot, cross-repo claims (enhancements, platform terminology, convention compliance, non-vendored API types) are flagged as "unverified" but local verification still runs fully.
Setup instructions: See plugin README for chai-bot configuration steps.
/component-docs or /update-platform-docsThis skill verifies factual accuracy of what's documented. It does NOT detect:
For completeness and specificity, rely on the Implementation Pattern Discovery checklist in /component-docs and SME review.
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.
Verifiable by reading the repo's own source code, including vendor/:
go directive (minimum version) and toolchain directive (actual toolchain) in go.modvendor/github.com/openshift/api exists, verify struct definitions from vendored types.go filesvendor/github.com/openshift/library-go or vendor/github.com/openshift/api exists, verify gate names and stages from vendored coderegister.go for GroupName and SchemeGroupVersionClaims that cannot be resolved from local code or vendor/:
openshift/enhancements)openshift-docs)| Documentation Says | Local Claim | Cross-Repo Claim (chai-bot) |
|---|---|---|
| "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 — no need to query chai-bot.
AGENTS.md, ai-docs/ tree, *_DEVELOPMENT.md, *_TESTING.mdenhancements/ai-docs/ tree--path is specified, scope to that path insteadfind within the scoped paths to catalog ALL markdown filesFor each file, systematically extract every verifiable claim and track it internally as a claims inventory — the running list of assertions that drives all subsequent verification. For each claim, note: the source file, line number or range, what is being asserted, and whether it is local or cross-repo.
Extraction rules:
Cross-file consistency: After extracting claims from all files, check for internal contradictions — the same concept described differently across files (e.g., AGENTS.md says "uses SSA" while components.md says "strategic merge"). Flag these before any verification queries.
The claims inventory is internal — it is not written to a file or shown to the user. But every claim in it must receive a verification status (verified, failed, or skipped) before the review can proceed, and the final report must include coverage totals derived from it.
Verify all local claims from the Phase 2 claims inventory against the current repo's source code. Every local claim must receive a status: verified, failed, or skipped (with justification). Do not proceed to Phase 4 until all local claims have a status.
Build & toolchain:
go.mod — compare both go and toolchain directives to documented version_remote=$(git remote | head -1)
git symbolic-ref "refs/remotes/${_remote}/HEAD" # may need: git remote set-head "$_remote" --auto
Directory & file structure:
Framework & pattern claims:
admissionregistration, WebhookServer, webhook manifests)Vendored API types & feature gates (if vendor/github.com/openshift/api or vendor/github.com/openshift/library-go exists):
types.go in vendored openshift/api, compare struct field names, types, and defaults against documented claimsregister.go for GroupName and SchemeGroupVersionCode examples:
Naming conventions:
Test organization:
Links:
docs.openshift.com blocks curl. Treat 403/429 as "needs manual check" not automatic failureCross-file consistency:
Re-read each documentation file and compare it against the claims inventory from Phase 2. The goal is to catch claims that were missed during initial extraction — lines that contain verifiable assertions but were not included in the inventory.
For each missed claim found: add it to the inventory, verify it immediately (local or cross-repo classification), and update its status. This step addresses the pattern where category-level verification feels complete but individual claims within those categories were never extracted.
Verify all cross-repo claims that could not be resolved locally.
Step 1 — Check chai-bot availability:
mcp__chai-bot__ask_persona with a simple test questionStep 2 — Batch verification via chai-bot:
Batch related claims into grouped queries to reduce round-trips — each call takes ~15-25 seconds. Group all field claims for the same API type into one query, all convention claims for the same repo into one query, all enhancement references into one query, etc.
Question construction templates (substitute {component}, {api-type}, etc.):
API fields (batch all fields for one type): "In github.com/openshift/api,
what fields are defined in the {api-type}Spec struct? Please list field
names, types, and any documented default values from the actual Go type
definition."
Feature gates (batch per operator): "What feature gates are defined for
{component} in openshift/api? List gate names, stages, and version
information."
Enhancements (batch related): "Do the following enhancements exist in
openshift/enhancements, and do they match the claimed descriptions?
1. enhancements/{area}/{enhancement-file-1}.md
2. enhancements/{area}/{enhancement-file-2}.md"
Terminology: "In the official OpenShift documentation, how is {component}
described? What is the correct terminology?"
Cross-component: "How does {other-component} interact with {component}
during {operation}?"
Convention check: "What are the platform conventions for {pattern} in
OpenShift operators? Does the pattern used by {component} match?"
Severity guide:
Summarize findings directly to the user with:
/review-docs [--path <docs-path>] [--auto-fix] [--local-only]
--path: Path to documentation file(s) to review (defaults to current directory)--auto-fix: Automatically fix issues found (default: prompt user)--local-only: Skip chai-bot verification entirely, only run local checksAuto-discovery: Infers component repo from git remote or current working directory
/component-docs - Create component documentation/update-platform-docs - Update platform documentationnpx claudepluginhub cblecker/ai-helpers --plugin agentic-docsGuides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
Runs a structured interview session to sharpen plans or designs, producing ADRs and a glossary as output.
Applies curated color/font themes to slides, docs, and HTML artifacts. Includes 10 preset themes and can generate custom themes on demand.
2plugins reuse this skill
First indexed Jul 11, 2026