PlantUML Diagram Generator
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_15292d5a/yjkj-plantuml-skill.
About this skill
Problem
When natural-language descriptions need to become sequence, class, activity, use case, component, deployment, state, Gantt, or mind-map diagrams, PlantUML output can be hard to reuse because styling, syntax, and rendering setup vary. This skill connects requirement parsing, source generation, and image rendering to produce maintainable *.puml files and reviewable outputs.
How It Works
- Diagram selection: infer sequence, class, activity, use case, component, deployment, state, Gantt, or mind-map diagrams from signals such as
request/response,inherits/fields,approval flow,permissions, ordeployment nodes; ask for clarification when ambiguous. - PlantUML generation: emit
@startumland@enduml, include a descriptive title, avoid decorative styling, and enforce a black-and-white, thin-line, shadow-free UML visual baseline. - Rendering: use the bundled script to render through the PlantUML public server, Docker, or a local
plantuml.jar, producingsvg,png,pdf, or text; show inlinesvgwhere possible and report saved files otherwise. - Iteration: update the
.pumlsource based on feedback and re-render to keep code and image consistent.
Limits and Notes
- Good for turning text into structured diagrams and standardizing UML style; not ideal for branded visuals, animation, or pixel-perfect layout.
- The monochrome line-art style is the default; request explicit deviations for color themes, decorative corners, or custom icons.
- Public-server rendering depends on network access; offline use requires Docker or Java with
plantuml.jaras fallbacks.
Use Cases
- Create a sequence diagram from order-to-inventory calls.
- Turn entity fields and relationships into a class diagram.
- Draw an activity diagram for approval and rollback flows.
- Generate a component diagram from service and node links.
Best For
- Architecture engineers turning service calls into reviewable UML.
- Docs writers converting process text into monochrome PlantUML.
- PMs drawing approval workflows into activity or use-case maps.
- DBAs generating class diagrams from entity and aggregate notes.
Related Skills
A QQ bot messaging framework based on qq-botpy, covering guild, C2C, and group message flows, scheduled pushes, and troubleshooting.
Explains how to calculate N+1 severance, including service-year rounding, monthly wage base, caps, taxes, and notice pay.
Takes a name input and returns a simple hello greeting.
A BPU quantization tool for Horizon RDK S100 that handles PyTorch/ONNX calibration, stride alignment, post-processing, and board-side validation.