skills/modelscope.cn/plantuml-image-generator

plantuml-image-generator

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, -, _).
Installs
1
First Seen
Jun 3, 2026
plantuml-image-generator from modelscope.cn