plantuml-image-generator

Installation
SKILL.md

PlantUML Image Generator

When to Apply

  • When the user asks "draw a diagram for me" or "I need an architecture/flowchart/sequence/state-machine diagram".
  • When the user requires inserting an illustration of business processes or structural diagrams into development documents, READMEs, or any Markdown files.
  • When you need to visually explain complex code logic to the user for better understanding.

Execution Rules

  1. Requirement Analysis & Code Generation:

    • Extract the elements and relationships that need visualization based on the user's context.
    • Write standard PlantUML syntax code (must start with @startuml and end with @enduml).
  2. Core Encoding Logic (URL Generation): Convert the generated PlantUML code into ENCODED_TEXT using specific encoding rules:

    • First, encode the PlantUML source code into UTF-8.
    • Compress it using the zlib / Deflate algorithm.
    • Re-encode the compressed result using PlantUML's specialized Base64 dictionary (variant: 0-9, A-Z, a-z, -, _).
  3. URL Assembly:

Related skills
Installs
1
First Seen
Mar 9, 2026