Validate AsciiDoc documentation for technical accuracy using Extract-Identify-Validate pattern. Runs Vale, asciidoctor, lychee, YAML syntax checks, and LLM-powered cross-reference validation. Produces workspace/validation-findings.json.
Ships in rhoai-security-reviewer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Validate AsciiDoc documentation files for technical accuracy, style compliance, and structural correctness.
$ARGUMENTS contains:
workspace/context-package.json)Resolve the target argument to a list of .adoc files:
**/*.adocExecute the validation script on all discovered files:
bash ${CLAUDE_SKILL_DIR}/scripts/validate-artifacts.sh <file1.adoc> <file2.adoc> ...
This runs:
Collect all findings from the script output.
For each AsciiDoc file, extract embedded technical artifacts:
[source,yaml] delimiters[source,bash] or [source,terminal] delimiters{attribute-name}/api/v1/...If a context package is available, use LLM judgment to cross-reference extracted artifacts against the gathered context:
For each extracted artifact:
Ask the LLM:
Check AsciiDoc structure requirements:
source ${CLAUDE_SKILL_DIR}/scripts/product-config.sh
source ${CLAUDE_SKILL_DIR}/scripts/asciidoc-conventions.sh
for file in <files>; do
adoc_validate_structure "$file"
done
Verify:
[id="..."]):_mod-docs-content-type:)Merge all findings from Steps 2-5, deduplicating and normalizing:
{
"validated_at": "2026-04-14T10:40:00Z",
"files_validated": 5,
"findings": [
{
"file": "modules/serving/pages/con_model-serving.adoc",
"line": 42,
"severity": "high|medium|low",
"category": "vale|asciidoctor|lychee|yaml_syntax|cross_reference|structure",
"tool": "vale|asciidoctor|lychee|yaml_syntax|llm|structural",
"rule": "RedHat.Spelling",
"message": "Description of the issue",
"suggestion": "How to fix it"
}
],
"summary": {
"high": 0,
"medium": 3,
"low": 5,
"total": 8,
"tools_run": ["vale", "asciidoctor", "yaml_syntax"],
"tools_skipped": ["lychee"]
}
}
Write workspace/validation-findings.json with the compiled results.
Primary: workspace/validation-findings.json
Report to caller: total findings by severity, which tools ran vs skipped.
What SKILL.md sets; muted values are Claude Code's defaults
claude-sonnet-4-5high/rhoai-security-reviewer:doc-validate <file-or-directory> [--context workspace/context-package.json]from rhoai-security-reviewer
rhoai-security-reviewer@opendatahub-skills is listed by opendatahub-io/skills-registry — review the source before installing
npx claudepluginhub opendatahub-io/skills-registry --plugin rhoai-security-reviewerOther plugins' skills for the same job
28 skills in this plugin
/bug-completenessScore bug report completeness (0-100)