uml
Original:🇺🇸 English
Translated
Create UML (Unified Modeling Language) diagrams using drawio XML format. Best for software modeling including Class, Sequence, Activity, State Machine, Component, Use Case, and Deployment diagrams. Built on drawio with UML-specific shapes and notation. NOT for simple flowcharts (use mermaid), layered system architecture (use architecture), or data charts (use vega).
17installs
Sourcemarkdown-viewer/skills
Added on
NPX Install
npx skill4agent add markdown-viewer/skills umlTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →UML Diagram Generator
Quick Start: Choose diagram type → Define classes/objects/actors → Add relationships/edges → Use appropriate shapes and arrow styles → Wrap in fence.
```drawio⚠️ IMPORTANT: Always usecode fence. NEVER use```drawio— it will NOT render as a diagram.```xml
Critical Rules
🔗 This is a drawio-derived skill. All structure, layout, and edge routing rules inherit from drawio SKILL.md. Read the base rules first.
UML-specific additions:
- Use standard UML shapes: ,
shape=umlLifeline,shape=umlActor,shape=componentswimlane;childLayout=stackLayout - Use for package/component containers to avoid covering child elements
fillColor=none;
UML Diagram Types
| Type | Purpose | Key Shape | Example |
|---|---|---|---|
| Class | Class structure and relationships | | class-diagram.md |
| Sequence | Message interactions over time | | sequence-diagram.md |
| Activity | Workflow and process flow | | activity-diagram.md |
| State Machine | Object lifecycle states | | state-machine-diagram.md |
| Component | System component organization | | component-diagram.md |
| Use Case | User-system interactions | | use-case-diagram.md |
| Deployment | Physical deployment architecture | | deployment-diagram.md |
| Object | Runtime object snapshot | | object-diagram.md |
| Package | Module organization | | package-diagram.md |
| Communication | Object collaboration | | communication-diagram.md |
| Composite Structure | Internal class structure | | composite-structure-diagram.md |
| Interaction Overview | Activity + sequence combination | | interaction-overview-diagram.md |
| Timing | State changes over time | | timing-diagram.md |
| Profile | UML extension mechanisms | | profile-diagram.md |