uml

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).

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "uml" with this command: npx skills add markdown-viewer/skills/markdown-viewer-skills-uml

UML Diagram Generator

Quick Start: Choose diagram type → Define classes/objects/actors → Add relationships/edges → Use appropriate shapes and arrow styles → Wrap in ```drawio fence.

⚠️ IMPORTANT: Always use ```drawio code fence. NEVER use ```xml — it will NOT render as a diagram.

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=component, swimlane;childLayout=stackLayout
  • Use fillColor=none; for package/component containers to avoid covering child elements

UML Diagram Types

TypePurposeKey ShapeExample
ClassClass structure and relationshipsswimlane;childLayout=stackLayoutclass-diagram.md
SequenceMessage interactions over timeshape=umlLifelinesequence-diagram.md
ActivityWorkflow and process flowrounded=1;arcSize=50activity-diagram.md
State MachineObject lifecycle statesrounded=1 with colorsstate-machine-diagram.md
ComponentSystem component organizationshape=componentcomponent-diagram.md
Use CaseUser-system interactionsshape=umlActor, ellipseuse-case-diagram.md
DeploymentPhysical deployment architectureshape=cube;direction=southdeployment-diagram.md
ObjectRuntime object snapshotswimlane;fontStyle=4object-diagram.md
PackageModule organizationshape=folderpackage-diagram.md
CommunicationObject collaborationwhiteSpace=wrap with numbered messagescommunication-diagram.md
Composite StructureInternal class structureshape=ellipse;container=1;dashed=1composite-structure-diagram.md
Interaction OverviewActivity + sequence combinationshape=umlFrameinteraction-overview-diagram.md
TimingState changes over timeshape=waypointtiming-diagram.md
ProfileUML extension mechanisms<<stereotype>> labelsprofile-diagram.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

wireframe

No summary provided by upstream source.

Repository SourceNeeds Review
General

drawio

No summary provided by upstream source.

Repository SourceNeeds Review
General

floor-plan

No summary provided by upstream source.

Repository SourceNeeds Review
General

mermaid

No summary provided by upstream source.

Repository SourceNeeds Review