plantuml
БесплатноБез исполняемых скриптовНе проверенGenerate leftover PlantUML types Mermaid cannot do easily (Salt wireframes, use case, timing, ArchiMate, nwdiag, WBS) and convert them to PNG/SVG. Use when…
от SpillwaveSolutions★ 62 звезды на GitHubОб этом скилле
PlantUML Diagram Generation and Conversion
Table of Contents
- Purpose
- When to Use This Skill
- Prerequisites
- Creating Diagrams
- Converting Source Code to Diagrams
- Converting Diagrams to Images
- Best Practices
- Troubleshooting
- References
Purpose
This skill enables comprehensive PlantUML diagram creation and conversion workflows. PlantUML is a text-based diagramming tool that generates professional diagrams from simple, intuitive syntax.
Core capabilities:
- Create diagrams from natural language descriptions
- Convert source code to architecture diagrams (Spring Boot, FastAPI, Python ETL, Node.js, React)
- Convert standalone
.pumlfiles to PNG or SVG images - Extract
pumlcode blocks from markdown and convert to images - Process linked
.pumlfiles in markdown () - Validate PlantUML syntax without conversion
- Replace markdown diagrams with image links for publication (Confluence, Notion)
When to Use This Skill
Default for WikiTicket, GitHub wiki, architecture docs, walkthroughs, and requirements is design-doc-mermaid. GitHub renders fenced mermaid (flowchart, sequence, class, ER, state, C4). This skill is opt-in.
Activate for:
- Salt wireframes / UI mocks
- UML use case, timing, ArchiMate
- nwdiag networks, WBS, JSON/YAML trees
.pumlfile to PNG or SVG conversion (always required; GitHub wiki does not render PlantUML source)- Markdown files containing PlantUML fences or linked
.pumlfiles - Confluence or Notion image export (render first, then upload)
- PlantUML syntax validation
- A user who already has
.pumlsource and wants an image
Do not take class, ER, state, sequence, or C4 from WikiTicket design docs unless Mermaid cannot do the job or the user names PlantUML.
GitHub wiki: never leave a raw PlantUML fence as the only view. Render PNG or SVG, commit under docs/diagrams/, link the image, upload it with the wiki page.
Confluence/Notion: render PlantUML (and Mermaid, via design-doc-mermaid) to PNG or SVG and upload both. See references/wiki-ticket-integration.md.
Prerequisites
Before creating diagrams, verify the PlantUML setup:
python scripts/check_setup.py
Required components:
| Component | Purpose | Installation |
|---|---|---|
| Java JRE/JDK 8+ | Runtime | https://www.oracle.com/java/technologies/downloads/ |
| plantuml.jar | Diagram generator | https://plantuml.com/download (place in ~/plantuml.jar or set PLANTUML_JAR) |
| Graphviz (optional) | Complex layouts | https://graphviz.org/download/ |
Creating Diagrams
Diagram Type Identification
Identify the appropriate diagram type based on user intent.
WikiTicket / GitHub wiki default is design-doc-mermaid. Use the
sequence, class, activity, state, ER, and component rows below only when
the user names PlantUML or you are converting existing .puml files.
Always emit PNG or SVG. Never leave a raw PlantUML fence as the only view.
| User Intent | Diagram Type | Reference |
|---|---|---|
| UI mock, screen sketch | Salt wireframe | references/wireframes_salt.md |
| Actors and goals | Use Case | references/use_case_diagrams.md |
| Clock, waveform | Timing | references/timing_diagrams.md |
| Enterprise layers | ArchiMate | references/archimate_diagrams.md |
| Network rack | nwdiag | references/network_diagrams.md |
| Work breakdown | WBS | references/wbs_diagrams.md |
| Interactions over time (only if user names PlantUML) | Sequence | references/sequence_diagrams.md |
| System structure with classes (only if user names PlantUML) | Class | references/class_diagrams.md |
| Workflows, decision flows (only if user names PlantUML) | Activity | references/activity_diagrams.md |
| Object states and transitions (only if user names PlantUML) | State | references/state_diagrams.md |
| Database schemas (only if user names PlantUML) | ER (Entity Relationship) | references/er_diagrams.md |
| Project timelines | Gantt | references/gantt_diagrams.md |
| Idea organization | MindMap | references/mindmap_diagrams.md |
| System architecture (only if user names PlantUML) | Component | references/component_diagrams.md |
| All 19 types | See navigation hub | references/toc.md |
| WikiTicket / GitHub wiki / Confluence | Image export rules | references/wiki-ticket-integration.md |
Syntax resources:
- `references/t
Установить plantuml в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл plantuml?
Generate leftover PlantUML types Mermaid cannot do easily (Salt wireframes, use case, timing, ArchiMate, nwdiag, WBS) and convert them to PNG/SVG. Use when asked for a wireframe, PlantUML image export, extract puml from markdown, or prepare Confluence uploads. Class, ER, state, sequence, and C4 default to design-doc-mermaid on GitHub wiki.
Как установить скилл plantuml?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл plantuml запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic