visualize-plan
Installation
SKILL.md
Visualize Plan
Transform an existing plan into a faithful, polished HTML explanation. Do not review, rewrite, execute, or expand the plan into new requirements.
Step 1: Resolve the plan
Resolve the plan source in this order:
- If the input names a readable file, use that file. Treat the full input as one path after removing optional surrounding quotes or a leading
@. - If the input is empty, derive the session file (
PI_SESSION_FILE, or in Claude Code$HOME/.claude/projects/<project slug>/$CLAUDE_CODE_SESSION_ID.jsonlwith/and.in the project path mapped to-) and use${SESSION_FILE%.jsonl}.plan.mdwhen it exists. - If the input contains substantial inline plan content, use it directly.
- Otherwise, stop and ask for a plan file path or pasted plan.
For path-like input that does not exist, report the missing path; do not reinterpret it as plan text. Read the complete plan before generating anything.