Skills bpmn
Create business process diagrams using PlantUML syntax with BPMN, EIP, and Lean Mapping stencil icons. Best for workflow automation, approval chains, message-based integration patterns, and value stream mapping.
install
source · Clone the upstream repo
git clone https://github.com/markdown-viewer/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/markdown-viewer/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/bpmn" ~/.claude/skills/markdown-viewer-skills-bpmn && rm -rf "$T"
manifest:
bpmn/SKILL.mdsource content
Business Process & Integration Diagram Generator
Quick Start: Choose diagram type → Declare stencil icons for events/gateways/tasks → Group into pools/lanes → Connect with arrow syntax → Wrap in
```plantuml fence.
⚠️ IMPORTANT: Always use
or```plantumlcode fence. NEVER use```puml— it will NOT render as a diagram.```text
Critical Rules
- Every diagram starts with
and ends with@startuml@enduml - Use
for process flows (start→end reads left-to-right)left to right direction - Use
for BPMN events, gateways, and task markersmxgraph.bpmn.* - Use
for Enterprise Integration Pattern iconsmxgraph.eip.* - Use
for Value Stream Mapping symbolsmxgraph.lean_mapping.* - Default colors are applied automatically — you do NOT need to specify
orfillColorstrokeColor - Use
for BPMN pools and lanesrectangle "Pool" { ... } - Sequence flows use
, message flows use-->
(dashed)..>
Full stencil reference: See stencils/README.md for 9500+ available icons.
Mxgraph Stencil Syntax
mxgraph.<library>.<icon> "Label" as <alias>
BPMN Stencil Family (mxgraph.bpmn.*
)
mxgraph.bpmn.*Events — Circle shapes for process triggers and outcomes:
| Icon | Meaning |
|---|---|
| Start Event |
| End Event |
| Terminate End |
| Timer Start |
| Timer Intermediate |
| Message Start |
| Message Catching |
| Message End |
| Error End |
| Error Boundary |
| Signal Start |
| Signal End |
Gateways — Diamond shapes for branching/merging:
| Icon | Meaning |
|---|---|
| Exclusive Gateway (XOR) |
| Parallel Gateway (AND) |
| Inclusive Gateway (OR) |
| Complex Gateway |
Tasks — Use
rectangle for tasks, stencil markers for typed tasks:
| Icon | Meaning |
|---|---|
| User Task |
| Service Task |
| Script Task |
| Manual Task |
| Business Rule Task |
Data — Document-like shapes:
| Icon | Meaning |
|---|---|
| Data Object |
| Data Input |
| Data Output |
EIP Stencil Family (mxgraph.eip.*
)
mxgraph.eip.*| Icon | Meaning |
|---|---|
| Message Channel |
| Dead Letter Channel |
| Content-Based Router |
| Message Filter |
| Splitter |
| Aggregator |
| Message Translator |
| Content Enricher |
| Messaging Gateway |
| Channel Adapter |
| Messaging Bridge |
| Recipient List |
| Wire Tap |
| Event-Driven Consumer |
| Competing Consumers |
| Process Manager |
Lean Mapping Stencil Family (mxgraph.lean_mapping.*
)
mxgraph.lean_mapping.*| Icon | Meaning |
|---|---|
| Supplier / Customer |
| Process Step |
| Supermarket (Inventory Buffer) |
| FIFO Lane |
| Production Kanban |
| Withdrawal Kanban |
| Signal Kanban |
| Truck Shipment |
| Operator |
| Inventory |
| Kaizen Burst |
| MRP / ERP System |
| Warehouse |
| Push Arrow |
| Timeline |
Connection Types
| Syntax | Meaning | Use Case |
|---|---|---|
| Solid arrow | Sequence flow (task→task) |
| Dashed arrow | Message flow (cross-pool) / async trigger |
| Labeled solid | Conditional flow (gateway branch) |
| Labeled dashed | Named message / signal |
Quick Example
@startuml left to right direction mxgraph.bpmn.event.start "Start" as start rectangle "Review\nRequest" as review mxgraph.bpmn.gateway2.exclusive "Approved?" as gw rectangle "Process\nOrder" as process rectangle "Notify\nRejection" as reject mxgraph.bpmn.event.end "End" as end_ok mxgraph.bpmn.event.end "End" as end_fail start --> review review --> gw gw --> process : "Yes" gw --> reject : "No" process --> end_ok reject --> end_fail @enduml
Diagram Types
| Type | Purpose | Key Stencils | Example |
|---|---|---|---|
| Order Processing | E-commerce / fulfillment | , | order-processing.md |
| Approval Workflow | Multi-level approval | , | approval-workflow.md |
| EIP Messaging | Message routing & transformation | | eip-messaging.md |
| ETL Pipeline | Data extraction & loading | , | etl-pipeline.md |
| Value Stream | Lean manufacturing flow | | value-stream.md |
| Microservice Orchestration | Service choreography | , | microservice-orchestration.md |
| Event-Driven Architecture | Pub/Sub event flows | , | event-driven.md |
| Customer Service | Support ticket lifecycle | , | customer-service.md |