Illustrating Plan
ASecurityUse when the choices of a change are to be shown as pictures: the options of a decision with their gains, costs, scores and the chosen one, the settled flow, the order and the checks of the work items, and the packages the change touches. A bundled script draws each picture from a source through one model, as text boxes and arrows for the reply or as a PlantUML source with a rendered SVG image, or PNG on request, in the bundle's diagrams directory. Triggers on 'draw the diagram', 'a picture o...
- 6 stars
- 0 votes
- 0 copies
- 0 views
- Added November 30, 2026
Security analysis
100/100Pro scans all 20 files and shows the line behind each finding
npx -y skills add xonovex/platform --skill illustrating-plan --agent claude-codeAre you the author of Illustrating Plan?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/xonovex-illustrating-plan)---
name: illustrating-plan
description: "Use when the choices of a change are to be shown as pictures: the options of a decision with their gains, costs, scores and the chosen one, the settled flow, the order and the checks of the work items, and the packages the change touches. A bundled script draws each picture from a source through one model, as text boxes and arrows for the reply or as a PlantUML source with a rendered SVG image, or PNG on request, in the bundle's diagrams directory. Triggers on 'draw the diagram', 'a picture of the options', 'compare the options', 'show the work order as a picture', 'which package uses which', or a diagram that went stale, even when the user doesn't say 'PlantUML'. Not for deciding what the plan says, charts of measured data, or linking the pictures into the plan."
compatibility: "Python 3.12+ with uv runs the bundled script that draws every picture; PlantUML renders the images, locally or through Docker or Podman with the plantuml/plantuml image; Graphviz is needed for images other than sequences; the structurizr/structurizr image exports the views of an optional system model. A container route pulls its image from a registry on first use."
allowed-tools: "Read Bash(uv:*) Bash(plantuml:*) Bash(date:*)"
---
# Illustrating the Plan
Purpose: show the choices of a change as pictures a reader can take in within a minute, and keep every picture true to the files: what is settled, what each option of a decision gains, costs and scores, and what follows for the work and the packages. A script draws every picture; no picture is drawn by hand.
**Load first:** **recording-handoff**, and run its entry step before anything below.
## Essentials
- `scripts/plan-diagram.py` draws every picture in three parts that do not know each other: a source gives a view, one model holds it, and a presentation draws it. Every source works with every presentation.
- The sources: `decision` reads the options of a decision file, `work` and `checks` read the bundle, and `model` reads a view that you write, such as the settled flow or the packages.
- The presentations: `text` is boxes and arrows in plain characters for the reply, and `plantuml` is a source that is rendered to an image.
- The options of a decision can always be shown: their gains, costs, scores and the chosen one. Give each option its own diagram only when the options change who calls whom or which package uses which.
- The settled flow shows what is settled and nothing else. A node is marked with its state in color and in text.
- Text goes into the reply and changes nothing in the bundle. An image needs files in `diagrams/`: the model you wrote as `.json`, the generated `.puml`, and the image. No markdown file is created there.
- Images are SVG. Render PNG only when the user asks for it, and then keep PNG for every image of the change.
- This skill links nothing into the plan: it hands the link lines to the step that owns the plan.
- Keep sensitive findings out of every label, note and comment. Never commit or stage. Never start the next step.
## Procedure
1. **Run the entry step** of **recording-handoff**. A run that writes into `diagrams/` confirms the branch of that repository; a run that only shows text reads only. The precondition is `plan.md` and at least one decision file. If either is missing, say which step normally writes it and stop.
2. **Read** the plan, the decisions in every state through the decisions index, the research they rest on for the current topology, and a listing of `diagrams/`. When an image is wanted, detect the renderer now with the commands in [references/rendering.md](references/rendering.md).
3. **Choose and announce what gets a picture.** Write one line for each decision and one each for the work, the checks and the packages: the picture, or the reason for none. Apply [references/selection.md](references/selection.md).
4. **Write the models** that the choice needs, from the templates: the settled flow, the diagram of each option of a decision, the packages. See [references/models.md](references/models.md), [references/views.md](references/views.md) and [references/labels.md](references/labels.md). Announce each write in one line.
5. **Draw** with the script, as [references/script.md](references/script.md) says: the text presentation into the reply in a fenced code block, and the PlantUML presentation into `diagrams/` when an image is wanted. If the script cannot run, stop at the models and report the command.
6. **Render** each generated source to SVG from the `diagrams/` directory with the command for the context: [references/macos.md](references/macos.md), [references/linux.md](references/linux.md) or [references/windows.md](references/windows.md). Use `--png` only when the user asked for PNG. A container image is pulled from a registry on first use: say so before the first run.
7. **Open every changed image** and read it against the plan: labels, state marks, width. A picture the change did not touch must come out unchanged. See [references/checking.md](references/checking.md).
8. **Close the run.** When the run wrote a file, write one `Workflow Log Entry` with `skill: illustrating-plan` and the paths in the one-sentence body, regenerate the log, validate the bundle and report any finding. In the reply, give the link lines for the plan and name the step that owns it. See [references/hand-off.md](references/hand-off.md).
9. **Stop.** Offer writing the links with **writing-plan** or **revising-plan**. Never start either.
## Available scripts
- `scripts/plan-diagram.py <decision <file>|work <bundle-dir>|checks <bundle-dir>|model <file>> [--format text|plantuml|model] [--output <file>] [--check]`: draws a view. `decision` also takes `--pictures <file>` and `--chosen <option>`. Exit 0 drawn or current, 1 a fault or a stale file, 2 usage error. Run it with `uv run`.
## When not to use
- Deciding what the plan says, or which options exist: use **writing-plan** and **settling-questions**.
- Charts of measured data: this skill draws choices and structures, never data.
- Linking a picture into the plan: **writing-plan** and **revising-plan** own the plan.
## Gotchas
- A picture drawn by hand, in PlantUML or in characters, or an edit of a `.puml` that the script wrote. Change the decision, the work files or the model, and run the script again.
- A diagram for each option of a decision whose options differ only in a payload shape, a field list or a gate. The table of the options shows that; add no diagrams.
- An open option in the settled flow. It shows settled nodes only; the open ones belong to the pictures of their decision.
- A score, a gain or a pick that the decision file does not hold. The `decision` source reads the file; put nothing into a picture that the file does not say.
- A model changed to hide an arrow that points up. The script refuses it; report it as a finding.
- A rendered image exactly 4096 pixels wide is cropped, because the renderer limits width and height to 4096. Shorten the labels or split the picture.
- A PNG nobody asked for, or a change that mixes SVG and PNG.
- A container run on a Linux host without the user mapping leaves root-owned files. The Linux reference carries the flag.
- A decision number in a title or a label. Display numbers change with the discussion order; use the decision's title.
- Creating a markdown file in `diagrams/`, or editing `plan.md` to add the link. Hand the link lines on.
## Done when
- Every picture in the reply and in `diagrams/` came from the script, and each generated `.puml` is current: the script with `--check` exits 0 for it.
- Every `.puml` has an image of the same base name next to it, and every image has a source.
- Every image is SVG, or every image is PNG because the user asked for PNG.
- The settled flow holds only settled nodes, and the options, scores and pick of each choice are those of its decision file.
- No label carries a hostname, a token, an address or a person's name.
- Each changed image was opened and read against the plan, and an unchanged source rendered an unchanged image.
- A run that wrote a file has its log entry, the bundle validates and the reply lists the link lines and their owner.
## Progressive Disclosure
- Read [references/selection.md](references/selection.md) - Load when deciding what gets a picture, and whether the options of a decision get their own diagrams.
- Read [references/views.md](references/views.md) - Load when choosing a kind or reading its arrows and states, or writing the keys of a model file or a pictures file.
- Read [references/models.md](references/models.md) - Load when writing a model: file names, the settled flow, the diagrams of the options, the packages and the system model.
- Read [references/script.md](references/script.md) - Load when running the script: its sources and presentations, how to read the text form, the generated files and its faults.
- Read [references/labels.md](references/labels.md) - Load when naming nodes or deciding what stays out of a label, a note or a comment.
- Read [references/rendering.md](references/rendering.md) - Load when detecting the renderer, choosing SVG or PNG, rendering or exporting the views of a system model.
- Read [references/checking.md](references/checking.md) - Load when opening a rendered image to check it, or re-rendering after a decision changed.
- Read [references/hand-off.md](references/hand-off.md) - Load when closing the run: the log entry, the link lines and what to redraw when decisions change.
- Read [references/macos.md](references/macos.md) - Load when working on macOS: installing the renderer, the container route and the Structurizr route.
- Read [references/linux.md](references/linux.md) - Load when working on Linux: the distribution packages, docker and podman with the user mapping.
- Read [references/windows.md](references/windows.md) - Load when working on Windows: the Chocolatey package and the container route from PowerShell.
- Read [assets/templates/lead-flow.json](assets/templates/lead-flow.json) - Load when writing the model of the settled flow.
- Read [assets/templates/option-pictures.json](assets/templates/option-pictures.json) - Load when writing the diagram of each option of a decision.
- Read [assets/templates/package-dependencies.json](assets/templates/package-dependencies.json) - Load when writing the model of a package dependency diagram.
- Read [assets/templates/system-model.dsl](assets/templates/system-model.dsl) - Load when one system model feeds several views.
Files in this skill
- SKILL.md
- assets/templates/lead-flow.json
- assets/templates/option-pictures.json
- assets/templates/package-dependencies.json
- assets/templates/system-model.dsl
- eval-output.json
- eval-trigger.json
- evals/files/draws-the-work-order-with-the-script/plans/reminders/decisions/index.md
- evals/files/draws-the-work-order-with-the-script/plans/reminders/decisions/message-fields-w3ne.md
- evals/files/draws-the-work-order-with-the-script/plans/reminders/decisions/transport-kq2d.md
- evals/files/draws-the-work-order-with-the-script/plans/reminders/decisions/trigger-m7px.md
- evals/files/draws-the-work-order-with-the-script/plans/reminders/index.md
- evals/files/draws-the-work-order-with-the-script/plans/reminders/log.md
- evals/files/draws-the-work-order-with-the-script/plans/reminders/log/2026-10-20-recording-handoff-a2b3.md
- evals/files/draws-the-work-order-with-the-script/plans/reminders/log/2026-11-26-recording-handoff-pnnd.md
- evals/files/draws-the-work-order-with-the-script/plans/reminders/log/index.md
- evals/files/draws-the-work-order-with-the-script/plans/reminders/plan.md
- evals/files/draws-the-work-order-with-the-script/plans/reminders/work/index.md
- evals/files/draws-the-work-order-with-the-script/plans/reminders/work/retire-the-nightly-reminder-job-t7qd.md
- evals/files/draws-the-work-order-with-the-script/plans/reminders/work/send-reminders-from-booking-events-k4wa.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.