Skills mindmap
Create hierarchical mind maps using PlantUML @startmindmap syntax. Best for brainstorming, topic decomposition, study notes, and decision trees with automatic radial layout, left/right branches, and per-node styling.
install
source · Clone the upstream repo
git clone https://github.com/markdown-viewer/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/markdown-viewer/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/mindmap" ~/.claude/skills/markdown-viewer-skills-mindmap && rm -rf "$T"
manifest:
mindmap/SKILL.mdsource content
Mind Map Diagram Generator
Quick Start: Start with
@startmindmap -> define root and branches with * or +/- markers -> optionally set branch side, direction, and styles -> wrap in ```plantuml fence.
⚠️ IMPORTANT: Always use
or```plantumlcode fence. NEVER use```puml— it will NOT render as a diagram.```text
Critical Rules
- Every diagram starts with
and ends with@startmindmap@endmindmap - Each hierarchy level is represented by repeating markers:
style:*
(root),*
(level 1),**
(level 2)***
style:+/-
grows left branch,+
grows right branch-
- Keep one marker style consistent in the same local branch (do not randomly mix indentation styles)
- Use
to switch subsequent branches to the left side of the rootleft side - Use direction keywords when needed:
top to bottom directionright to left direction
- Multi-line node content must use block syntax:
**:Line 1\nLine 2;
- For quick color coding, use inline node color:
*[#Orange] Root**[#lightgreen] Child
- For reusable themes, define
and apply stereotypes like<style><<green>> - Rich text/Creole and icon syntax are supported inside node text (see examples)
Node Syntax Cheat Sheet
| Pattern | Meaning | Example |
|---|---|---|
| Root node with star syntax | |
| First-level child | |
| Deeper hierarchy | |
| Root node with +/- syntax | |
| Branch expanding on one side | |
| Branch expanding on opposite side | |
| Boxless/minimal child node | |
| Alternative root marker style | |
| Multi-line block node | |
Branch Side and Direction
| Control | Syntax | Use Case |
|---|---|---|
| Left-side split | | Split map into left/right groups from root |
| Top-to-bottom | | Tree-like vertical hierarchy |
| Right-to-left | | RTL reading flow or mirrored layouts |
Styling Options
| Method | Syntax | Best For |
|---|---|---|
| Inline node color | | Fast per-node emphasis |
| Reusable class style | + | Consistent visual themes |
| Depth-based style | | Global formatting by hierarchy depth |
| Node/arrow global style | / | Unified typography and connectors |
Recommended Color Palettes
Pick a palette that matches the map's purpose. Use inline
[#hex] for quick coloring or define <style> classes for reuse.
General-Purpose (Pastel)
| Role | Hex | Preview | Usage |
|---|---|---|---|
| Root | | 🔵 | Central topic |
| Branch A | | 🟢 | Category / group 1 |
| Branch B | | 🔵 | Category / group 2 |
| Branch C | | 🟣 | Category / group 3 |
| Branch D | | 🟡 | Category / group 4 |
| Leaf | | ⚪ | Detail nodes |
Status / RAG
| Status | Hex | Usage |
|---|---|---|
| Done / OK | | Completed, healthy |
| In Progress | | Active, warning |
| Blocked / Risk | | Issue, danger |
| Not Started | | Pending, neutral |
Warm Corporate
| Role | Hex |
|---|---|
| Root | |
| Level 1 | |
| Level 2 | |
| Level 3 | |
Cool Tech
| Role | Hex |
|---|---|
| Root | |
| Level 1 | |
| Level 2 | |
| Level 3 | |
Earth Tone
| Role | Hex |
|---|---|
| Root | |
| Level 1 | |
| Level 2 | |
| Level 3 | |
Tip: Avoid pure saturated colors (
,#FF0000) — they reduce readability. Prefer soft/muted tones for backgrounds and reserve bold colors for the root only.#00FF00
Mind Map Patterns
| Pattern | Purpose | Example |
|---|---|---|
| Basic Hierarchy | Topic decomposition and study outlines | basic-hierarchy.md |
| Bilateral Layout | Pros/cons, options vs risks, two-side analysis | bilateral-layout.md |
| Boxless Branches | Lightweight secondary nodes and annotations | boxless-branches.md |
| Styled Theme | Color-coded branches and reusable classes | styled-theme.md |
| Direction Control | Vertical or RTL reading direction | direction-control.md |
| Rich Text Content | Detailed notes with icons and formatting | rich-text-content.md |
| Project Planning | Work breakdown and action map | project-planning.md |
Quick Example
@startmindmap * Product Launch ** Goals *** Revenue *** User Growth left side ** Risks *** Timeline Slip *** Budget Overrun right to left direction ** Channels *** Content *** Ads @endmindmap
Common Pitfalls
| Issue | Solution |
|---|---|
| Diagram not rendered | Use fence + |
| Branch depth looks wrong | Check marker count (, , ) and indentation consistency |
| Multi-line text breaks parser | Use block syntax, ensure trailing exists |
| Colors not applied | Verify hex format () or stereotype class names |
| Layout direction unexpected | Add explicit or |