/learning-guide:renderfrom learning-guide
Renders a tour-spec.json into a single-file interactive HTML guide using a bundled Node renderer. Useful after editing the spec or when asked to regenerate the HTML.
Ships in learning-guide. 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.
Read when SKILL.md points to them.
Take a tour-spec.json and produce a single-file index.html with the bundled scripts/render.cjs.
Locate this installed SKILL.md through the current host's skill metadata or file tools. Resolve ../.. from its directory to get the absolute plugin root. Replace <absolute-plugin-root> below with that path and verify scripts/render.cjs exists before running it. If the resource is unavailable, report the missing path and stop; do not assume a host environment variable supplies it.
learning-guide:analyzetour-spec.json location. Default: CWD; explicit path supported.Locate the spec. If the user provides a path, use it. Otherwise look for tour-spec.json in CWD. If neither, ask the user where the spec is. Do NOT scan the entire repository.
Confirm Node is available. Run node --version. If exit code is non-zero, tell the user Node.js must be on PATH and stop. Do not attempt fallback rendering.
Inspect overrides. Look for <spec-dir>/.learning-guide/template.html. If present, ensure tour-spec.renderer.template_compatibility_version matches the <!-- template_compatibility_version: N --> declaration on the override's first line. If missing or mismatched, ask the user to fix it before rendering.
Run the renderer.
node "<absolute-plugin-root>/scripts/render.cjs" "<absolute-spec-path>"
If --output-dir is needed, pass it explicitly.
Surface output. On success, print the renderer's stdout summary verbatim. On non-zero exit, print stderr verbatim and offer the troubleshooting table from references/renderer-cli.md.
Confirm artifacts. Verify index.html and README.md exist with non-zero size. If anything expected is missing, surface the discrepancy — do not retry blindly.
The user can re-render from the shell by running node "<absolute-plugin-root>/scripts/render.cjs" "<absolute-spec-path>" with the resolved paths.
learning-guide:analyze instead.learning-guide:analyze.references/renderer-cli.md — flags, exit codes, troubleshooting.references/browser-compatibility.md — file:// constraints.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
3 skills in this plugin
/analyzeReads input artifact(s) — codebase, planning session, refactor plan, or generic doc — and writes a tour-spec.json describing sections, embedded sources, cross-refs, quizzes, and external link maps. Use when the user wants a fresh learning guide built from source material; auto-hands-off to learning-guide:render. Trigger phrases — "create a learning guide for X", "make an interactive tour", "generate onboarding doc", "build a learning module"./learning-guideUse when the user asks to "create a learning guide", "make an interactive tour", "generate onboarding doc", "build a learning module", or any variant of turning an artifact (codebase, planning session, refactor plan, design doc) into an interactive HTML guide. Dispatches to learning-guide:analyze for new tours or learning-guide:render for re-renders after spec edits. Also use when the user is uncertain which step they need.npx claudepluginhub dmitriyyukhanov/agent-plugins --plugin learning-guide