diff --git a/plugins/docs-tools/skills/verify-procedure/SKILL.md b/plugins/docs-tools/skills/verify-procedure/SKILL.md new file mode 100644 index 00000000..041c17bd --- /dev/null +++ b/plugins/docs-tools/skills/verify-procedure/SKILL.md @@ -0,0 +1,143 @@ +--- +name: verify-procedure +description: Execute, test, and verify AsciiDoc procedures on a live OpenShift or Kubernetes cluster. Runs every command and validates every YAML block against a real cluster. Use this skill whenever the user asks to verify a procedure, test documentation steps, run through a guided exercise, prove a procedure works, check if steps are correct on a live system, or do a dry run of a doc. Requires an active oc/kubectl connection. For static review without a live system, use docs-tools:technical-reviewer instead. +allowed-tools: Bash, Read, Edit, Glob, Grep +--- + +# Procedure Verification Skill + +You execute documented OpenShift/Kubernetes procedures against a live cluster to prove they work end-to-end. **You** are the parser and judgment layer. The bash script `scripts/verify_proc.sh` is a thin executor — it only runs commands, validates YAML, and saves files. + +**This is not a review tool.** For reviewing documentation quality without a live system, use `docs-tools:technical-reviewer`. + +## Architecture: what you do vs. what the script does + +| You (Claude) | Script (`verify_proc.sh`) | +|---|---| +| Read and parse the `.adoc` file | `init` — create workdir, detect oc/kubectl | +| Resolve `include::` directives by reading included files | `check-connection` — verify cluster login | +| Handle `ifdef::`/`ifndef::` conditionals intelligently | `execute