Business Process & Integration Diagram Generator

SkillCommunication

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.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Business Process & Integration Diagram Generator skill

What this skill tells your AI

The instructions your AI receives, as published by guoliang1114-boop/ariaai in skills/bpmn/SKILL.md and read by ahel’s review.

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 ```plantuml or ```puml code fence. NEVER use ```text — it will NOT render as a diagram.

Critical Rules

  • Every diagram starts with @startuml and ends with @enduml
  • Use left to right direction for process flows (start→end reads left-to-right)
  • Use mxgraph.bpmn.* for BPMN events, gateways, and task markers
  • Use mxgraph.eip.* for Enterprise Integration Pattern icons
  • Use mxgraph.lean_mapping.* for Value Stream Mapping symbols
  • Default colors are applied automatically — you do NOT need to specify fillColor or strokeColor
  • Use rectangle "Pool" { ... } for BPMN pools and lanes
  • 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.*)

Events — Circle shapes for process triggers and outcomes:

IconMeaning
mxgraph.bpmn.event.startStart Event
mxgraph.bpmn.event.endEnd Event
mxgraph.bpmn.event.terminateEndTerminate End
mxgraph.bpmn.event.timerStartTimer Start
mxgraph.bpmn.event.timerCatchingTimer Intermediate
mxgraph.bpmn.event.messageStartMessage Start
mxgraph.bpmn.event.messageCatchingMessage Catching
mxgraph.bpmn.event.messageEndMessage End
mxgraph.bpmn.event.errorEndError End
mxgraph.bpmn.event.errorBoundError Boundary
mxgraph.bpmn.event.signalStartSignal Start
mxgraph.bpmn.event.signalEndSignal End

Gateways — Diamond shapes for branching/merging:

IconMeaning
mxgraph.bpmn.gateway2.exclusiveExclusive Gateway (XOR)
mxgraph.bpmn.gateway2.parallelParallel Gateway (AND)
mxgraph.bpmn.gateway2.inclusiveInclusive Gateway (OR)
mxgraph.bpmn.gateway2.complexComplex Gateway

Tasks — Use rectangle for tasks, stencil markers for typed tasks:

IconMeaning
mxgraph.bpmn.user_taskUser Task
mxgraph.bpmn.service_taskService Task
mxgraph.bpmn.script_taskScript Task
mxgraph.bpmn.manual_taskManual Task
mxgraph.bpmn.business_rule_taskBusiness Rule Task

Data — Document-like shapes:

IconMeaning
mxgraph.bpmn.data2.dataObjectData Object
mxgraph.bpmn.data2.dataInputData Input
mxgraph.bpmn.data2.dataOutputData Output

EIP Stencil Family (mxgraph.eip.*)

IconMeaning
mxgraph.eip.messageChannelMessage Channel
mxgraph.eip.deadLetterChannelDead Letter Channel
mxgraph.eip.content_based_routerContent-Based Router
mxgraph.eip.message_filterMessage Filter
mxgraph.eip.splitterSplitter
mxgraph.eip.aggregatorAggregator
mxgraph.eip.message_translatorMessage Translator
mxgraph.eip.content_enricherContent Enricher
mxgraph.eip.messaging_gatewayMessaging Gateway
mxgraph.eip.channel_adapterChannel Adapter
mxgraph.eip.messaging_bridgeMessaging Bridge
mxgraph.eip.recipient_listRecipient List
mxgraph.eip.wire_tapWire Tap
mxgraph.eip.event_driven_consumerEvent-Driven Consumer
mxgraph.eip.competing_consumersCompeting Consumers
mxgraph.eip.process_managerProcess Manager

Lean Mapping Stencil Family (mxgraph.lean_mapping.*)

IconMeaning
mxgraph.lean_mapping.outside_sourcesSupplier / Customer
mxgraph.lean_mapping.manufacturing_processProcess Step
mxgraph.lean_mapping.supermarketSupermarket (Inventory Buffer)
mxgraph.lean_mapping.fifo_laneFIFO Lane
mxgraph.lean_mapping.production_kanbanProduction Kanban
mxgraph.lean_mapping.withdrawal_kanbanWithdrawal Kanban
mxgraph.lean_mapping.signal_kanbanSignal Kanban
mxgraph.lean_mapping.truck_shipmentTruck Shipment
mxgraph.lean_mapping.operatorOperator
mxgraph.lean_mapping.inventory_boxInventory
mxgraph.lean_mapping.kaizen_lightening_burstKaizen Burst
mxgraph.lean_mapping.mrp_erpMRP / ERP System
mxgraph.lean_mapping.warehouseWarehouse
mxgraph.lean_mapping.push_arrowPush Arrow
mxgraph.lean_mapping.timeline2Timeline

Connection Types

SyntaxMeaningUse Case
A --> BSolid arrowSequence flow (task→task)
A ..> BDashed arrowMessage flow (cross-pool) / async trigger
A --> B : "label"Labeled solidConditional flow (gateway branch)
A ..> B : "label"Labeled dashedNamed 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

TypePurposeKey StencilsExample
Order ProcessingE-commerce / fulfillmentmxgraph.bpmn.event.*, mxgraph.bpmn.gateway2.*order-processing.md
Approval WorkflowMulti-level approvalmxgraph.bpmn.event.*, mxgraph.bpmn.gateway2.*approval-workflow.md
EIP MessagingMessage routing & transformationmxgraph.eip.*eip-messaging.md
ETL PipelineData extraction & loadingmxgraph.bpmn.event.*, mxgraph.eip.*etl-pipeline.md
Value StreamLean manufacturing flowmxgraph.lean_mapping.*value-stream.md
Microservice OrchestrationService choreographymxgraph.bpmn.event.*, mxgraph.eip.*microservice-orchestration.md
Event-Driven ArchitecturePub/Sub event flowsmxgraph.bpmn.event.*, mxgraph.eip.*event-driven.md
Customer ServiceSupport ticket lifecyclemxgraph.bpmn.event.*, mxgraph.bpmn.gateway2.*customer-service.md

Capability Upgrade

Mode Selection

  • Quick: 把文字流程转成基础 BPMN。
  • Standard: 补齐泳道、事件、网关、任务、异常路径和消息流。
  • Deep: 结合角色职责、系统边界、审批规则、SLA 和异常场景,形成流程优化或自动化设计图。

Process Modeling Logic

先确定流程边界、开始/结束事件、参与角色和关键决策点。没有明确事件和责任人的流程不应直接画成最终 BPMN。

Quality Gates

  • 每个泳道对应真实角色、部门或系统。
  • 网关条件互斥且完整。
  • 异常、退回、超时和取消路径已处理。
  • 消息流和顺序流没有混用。
  • 输出包含图和流程说明,便于业务复核。

Deliverable Catalog

DeliverableWhen to useMinimum contentFormat
BPMN process diagram文字流程转图开始/结束、任务、泳道、网关、异常路径PlantUML / Markdown
Process narrative业务复核流程目标、角色、输入、输出、规则和异常Word / Markdown
Approval workflow map审批流程申请、审批层级、条件、退回、超时和通知BPMN / PPT
Integration flow diagram系统/消息流发送方、接收方、消息、转换、错误处理BPMN / EIP
Process improvement backlog流程优化痛点、根因、改进项、owner、优先级和收益Excel / Tasks
BPMN QA checklist发布前泳道、网关、事件、异常、命名和可读性检查Checklist

Signals

GitHub stars
37
Forks
2
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
bpmn
Source
github.com/guoliang1114-boop/ariaai