Turns notes/summary.md into a small set of diagrams that show the structure of the record — the fork, the chain, the open question — and adds nothing the record does not hold. Use when a diagram would help the user understand what is being discussed.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Visualize?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/uniterra-solutions-visualize-a3939e98)
---
name: visualize
description: "Turns notes/summary.md into a small set of diagrams that show the structure of the record — the fork, the chain, the open question — and adds nothing the record does not hold. Use when a diagram would help the user understand what is being discussed."
version: 3.0.0
author: Tsz Kin Lai (LaiTszKin), Hermes Agent
license: MIT
platforms: [linux, macos, windows]
metadata:
hermes:
tags: [software-development, planning, mermaid, diagram, mindmap, visualization]
related_skills: [brainstorm, plan]
---
# Visualize — the notes' summary, drawn
## Context
- **`notes/summary.md` in full**, `notes/BRIEF.md` for the open threads, and `notes/qa.md` only when a statement's provenance matters.
- **Every line classified by the job it does**, because the job picks the diagram: a definition supplies the vocabulary, a criterion supplies the diamonds, a consequence supplies an edge, a weighing supplies the quadrant's axes, a change of mind supplies the timeline, actors and an order supply the sequence, a condition supplies the state, and an open line supplies a dashed node.
- **The record's own vocabulary**, taken from `Term usage`, because a label the user would not recognise is the agent's word rather than his.
- **`references/mermaid-templates.md`**, which holds one verified template per diagram type, so the agent copies the closest template and writes no mermaid from memory.
## Goal
Two to four `.mmd` files sit under `<plan-dir>/notes/diagrams/`, each opening with `%% source:` naming the summary lines it rests on, each rendered to a `.png` on a white background beside its `.svg`, and `notes/visual.md` lists every diagram with one caption and the section it came from.
**One diagram answers one question**, named in its caption, and a second question that appears while drawing gets its own file. An open question is a dashed node or a dashed diamond, because a solid shape claims the summary establishes it. Shape and line style carry the meaning and colour is decoration, because a distinction held only in a fill colour disappears in print and for a colour-blind reader. Every edge out of a decision carries its outcome, because an unlabelled edge is a branch the reader cannot follow.
## Constraints
- **A gap in the drawing is a gap in the summary**: when the shape needs a node the record lacks, stop and name the unanswered question rather than inventing the node.
- **A `.mmd` that has not rendered is not a diagram**: mermaid-cli v11 and v12 take `--size` and `-s` while `-w` is rejected and the PNG is silently not written, so the render's flags are read from `--help` before the first one.
- **Look at every PNG before delivering it**, and fix a cut-off label or an overlapping edge in the source rather than in the bitmap.
- **A correction about the drawing edits the `.mmd`, and a correction about the thought amends `summary.md` first** and regenerates every diagram that inherits it, so the record and the picture never disagree.
- **`notes/diagrams/REVISIONS.md` records one append-only entry per correction** with the user's words verbatim, the level, the affected files and the redrawn files.
- **A correction that changes what `PRD.md` rests on routes through `pdd:plan`**, because a silent PRD edit here would put a decision outside the skill that owns decisions.