Use this skill when user asks to generate state machine or class diagram with umple.
npx playbooks add skill elwinliu/umple-skills --skill umple-diagram-generator
| Type | language value | Read first |
| ------------- | ----------------------------- | ---------------------------------------- |
| Class diagram | classDiagram | references/class-diagram-syntax.md |
| State machine | stateDiagram | references/state-machine-syntax.md |
| ER diagram | entityRelationshipDiagram | references/class-diagram-syntax.md |
| Trait diagram | traitDiagram | references/class-diagram-syntax.md |
.svg file.Endpoint: POST https://cruise.umple.org/umpleonline/scripts/compiler.php
Content-Type: application/x-www-form-urlencoded
| Parameter | Value |
| --------------- | -------------------------------------------------------------- |
| language | See table above |
| languageStyle | diagramUpdate |
| umpleCode | The Umple source code |
| filename | model.ump |
Use whatever HTTP tool is available (WebFetch, curl, fetch, etc.).
Success: response contains two nested <svg> tags. Extract the inner SVG — the one with a viewBox attribute. Clean up any xlink:href="javascript:..." attributes.
Error: response contains <span class="umple-message-error">. Strip HTML tags to read the error.
umple code block.<name>/model.ump and <name>/diagram.svg.Final as a custom state name — it is a reserved keyword in Umple. Use Done, Completed, etc. instead.Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.