agentleFS
guoliang1114-boopguoliang1114-boop/AriaAI/skills/bpmn/SKILL.md

bpmn

Skill40 starsChanged 3 months agoMITView on GitHub

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.

3 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 0 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every diagram starts with @startuml and ends with @enduml

    line 32
  2. Very specific:

    Use left to right direction for process flows (start→end reads left-to-right)

    line 33
  3. Very specific:

    Use mxgraph.bpmn.* for BPMN events, gateways, and task markers

    line 34
  4. Very specific:

    Use mxgraph.eip.* for Enterprise Integration Pattern icons

    line 35
  5. Very specific:

    Use mxgraph.lean_mapping.* for Value Stream Mapping symbols

    line 36
  6. Very specific:

    Default colors are applied automatically — you do NOT need to specify fillColor or strokeColor

    line 37
  7. Very specific:

    Use rectangle "Pool" { ...

    line 38

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

When To Use / Diagnostic Intake

适用于业务流程、消息集成或价值流示意。先确认角色、开始/结束事件、异常路径、等待条件,以及用户是否需要可执行流程模型。

Workflow

逐条列出正常与异常路径→选择 BPMN/EIP/Lean 图形→设置角色边界→核对分支汇合→生成并渲染 PlantUML。

Tools and Dependencies

依赖支持本包 stencil 的 PlantUML。图形输出不是 BPMN 2.0 执行文件;需要执行语义时明确后续建模接口。

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

Delivery Verification Materials

  • 场景与预期交付:合成案例及缺失输入、注入指令变体。
  • 逐项验收依据:本能力特有的检查项与复核记录。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.