learning-guide
Installation
SKILL.md
Learning Guide — Entry Point
Discoverability shim. Decides whether the user needs to start fresh (analyze) or re-render an existing spec (render).
Decision tree
-
Does a
tour-spec.jsonalready exist at the target path?- Yes → ask the user: re-render only (dispatch
learning-guide:render), update spec (dispatchlearning-guide:analyzein update mode), or regenerate from scratch (dispatchlearning-guide:analyzeafter deleting the spec). - No → dispatch
learning-guide:analyze.
- Yes → ask the user: re-render only (dispatch
-
Does the user want to manually edit
tour-spec.jsonand just re-render?- Confirm Node is on PATH.
- Tell them they can run
node "${CLAUDE_PLUGIN_ROOT}/scripts/render.cjs" tour-spec.jsondirectly. They don't need to invoke any skill for that.
When NOT to use this skill
- The user already invoked
analyzeorrender— let those run. - The user wants help debugging a generated tour — point them at
learning-guide:render's references (renderer-cli.md,browser-compatibility.md).