uml
- Repo stars 2,891
- Author updated Live
- Author repo skills
- Domain
- DevOps
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @markdown-viewer · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- macOS · Linux · Windows
- Runtime requirements
- Node.js
- Permissions
-
- Read-only
- Write / modify
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: uml
description: Create UML diagrams using PlantUML syntax. Best for software modeling — Class, Sequence, Activit…
category: devops
runtime: Node.js
---
# uml output preview
## PART A: Task fit
- Use case: Create UML diagrams using PlantUML syntax. Best for software modeling — Class, Sequence, Activity, State Machine, Component, Use Case, and Deployment diagrams with concise text-based notation and auto-layout..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “Critical Rules / UML Diagram Types / Mxgraph Stencil Icons” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “Create UML diagrams using PlantUML syntax. Best for software modeling — Class, Sequence, Activity, State Machine, Component, Use Case, and Deployment diagrams with concise text-based notation and auto-layout.”.
- **02** When the source has headings, the agent prioritizes “Critical Rules / UML Diagram Types / Mxgraph Stencil Icons” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files.
Start with a small task and check whether the result follows “Critical Rules / UML Diagram Types / Mxgraph Stencil Icons”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: uml
description: Create UML diagrams using PlantUML syntax. Best for software modeling — Class, Sequence, Activit…
category: devops
source: markdown-viewer/skills
---
# uml
## When to use
- Create UML diagrams using PlantUML syntax. Best for software modeling — Class, Sequence, Activity, State Machine, Comp…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “Critical Rules / UML Diagram Types / Mxgraph Stencil Icons” and keep inference separate from source facts.
- read files, write/modify files; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "uml" {
input -> user goal + target files + boundaries + acceptance criteria
context -> Critical Rules / UML Diagram Types / Mxgraph Stencil Icons
rules -> SKILL.md triggers / order / output contract
runtime -> Node.js | read files, write/modify files | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} UML Diagram Generator
Quick Start: Choose diagram type → Write PlantUML text → Define elements and relationships → Wrap in ```plantuml fence.
⚠️ IMPORTANT: Always use
```plantumlor```pumlcode fence. NEVER use```text— it will NOT render as a diagram.
Critical Rules
- Every diagram starts with
@startumland ends with@enduml - Use standard PlantUML keywords:
class,interface,abstract,enum,actor,participant,component,node,database,package - Relationships use arrow syntax:
-->,<|--,*--,o--,..>,..|> - Use
skinparamfor global styling and colors - Use
#coloron individual elements for specific colors - Notes use
note left of,note right of,note over, or standalonenote "text" as N
UML Diagram Types
| Type | Purpose | Key Syntax | Example |
|---|---|---|---|
| Class | Class structure and relationships | class, interface, <|-- |
class-diagram.md |
| Sequence | Message interactions over time | participant, ->, --> |
sequence-diagram.md |
| Activity | Workflow and process flow | start, :action;, if/else |
activity-diagram.md |
| Swimlane Activity | Multi-role activity with swimlanes | |Lane|, :action; |
swimlane-activity-diagram.md |
| State Machine | Object lifecycle states | state, [*] --> |
state-machine-diagram.md |
| Component | System component organization | component, [name], interface |
component-diagram.md |
| Use Case | User-system interactions | actor, usecase, (name) |
use-case-diagram.md |
| Deployment | Physical deployment architecture | node, artifact, database |
deployment-diagram.md |
| Object | Runtime object snapshot | object "name" as id |
object-diagram.md |
| Package | Module organization | package "name" |
package-diagram.md |
| Communication | Object collaboration | Numbered messages with sequence syntax | communication-diagram.md |
| Composite Structure | Internal class structure | component with nested port |
composite-structure-diagram.md |
| Interaction Overview | Activity + sequence combination | group, ref over |
interaction-overview-diagram.md |
| Profile | UML extension mechanisms | <<stereotype>> labels |
profile-diagram.md |
Mxgraph Stencil Icons
draw-uml supports 9500+ mxgraph stencil icons (AWS, Azure, Cisco, Kubernetes, etc.) via the mxgraph.* syntax. Default colors are applied automatically — you do NOT need to specify fillColor or strokeColor.
Full stencil reference: See stencils/README.md.
Syntax
mxgraph.<namespace>.<icon> "Label" as <alias>
mxgraph.<namespace>.<icon> "Label" as <alias> #color
mxgraph.<namespace>.<icon> <alias>
mxgraph.<namespace>.<icon>— the stencil shape key (e.g.mxgraph.aws4.lambda,mxgraph.kubernetes.pod)"Label"— display text (quoted if contains spaces, unquoted for single word)as <alias>— identifier for use in relationships#color— optional override color (e.g.#FF6600,#LightBlue)
Examples
@startuml
' Simple icon declaration
mxgraph.aws4.lambda "Lambda\nFunction" as fn
mxgraph.aws4.api_gateway "API GW" as gw
mxgraph.aws4.dynamodb "DynamoDB" as db
gw --> fn
fn --> db
@enduml
@startuml
' Kubernetes architecture with icons
mxgraph.kubernetes.ing "Ingress" as ing
mxgraph.kubernetes.svc "Service" as svc
mxgraph.kubernetes.pod "Pod" as pod
mxgraph.kubernetes.deploy "Deployment" as deploy
ing --> svc
svc --> pod
deploy --> pod
@enduml
@startuml
' Mixing standard UML with stencil icons
node "Cloud" {
mxgraph.aws4.ec2 "EC2" as ec2
mxgraph.aws4.rds "RDS" as rds
}
database "Legacy DB" as legacy
ec2 --> rds
rds --> legacy
@enduml
Decide Fit First
Design Intent
How To Use It
Boundaries And Review