ba-bpmn-doc-gen

Translate process descriptions into BPMN Mermaid or Draw.io XML flowcharts.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/Yukine5377/common --skill ba-bpmn-doc-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ba-bpmn-doc-gen
Source: https://github.com/Yukine5377/common/tree/main/.cursor/skills/ba-bpmn-doc-gen
Command: npx skills add https://github.com/Yukine5377/common --skill ba-bpmn-doc-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Skill chuyên nghiệp tạo sơ đồ quy trình nghiệp vụ, hỗ trợ hai định dạng output: BPMN Mermaid (Markdown) và Flowchart Draw.io XML. Chỉ tập trung vào vẽ sơ đồ trực quan, không mô tả chi tiết.

Core Features & Use Cases

  • Dual Format Output: BPMN Mermaid (Markdown) hoặc Flowchart Draw.io XML.
  • Task Numbering & Swimlanes: Tự động đánh số và phân chia theo Actors.
  • Confirmation Workflow: Phân tích và xác nhận cấu trúc trước khi sinh file.
  • Tối giản hóa thông minh: Đề xuất gộp các bước quá chi tiết để quy trình gọn gàng.
  • Hỗ trợ nhiều End Events và Gateways để xử lý phức tạp.
  • Tài liệu tham khảo & templates tích hợp để tăng tốc sinh diagram.

Quick Start

Provide the process description and select the output format to generate either BPMN Mermaid or Draw.io flowcharts.

Frequently Asked Questions about ba-bpmn-doc-gen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert text process descriptions into BPMN Mermaid diagrams?

To convert text process descriptions into BPMN Mermaid diagrams, provide your raw process steps to trigger automated translation. The system parses actors, tasks, and gateways, then outputs a code-ready Markdown Mermaid file for immediate rendering.

Can I generate Draw.io flowcharts automatically from text?

Yes, you can generate Draw.io flowcharts automatically from text by selecting the Draw.io output format. The system translates your raw process description into mxGraphModel XML, which you can directly import into Draw.io for professional visual diagrams.

How do I create swimlanes for different actors when generating process diagrams?

To create swimlanes for different actors, include the actor roles in your raw process description. The diagram generator automatically partitions tasks into swimlanes and numbers them by actor, ensuring clear responsibility allocation in the final BPMN or Draw.io output.

Does the diagram generation workflow support complex gateways and multiple end events?

Yes, the diagram generation workflow supports complex gateways and multiple end events. It structures your raw process descriptions to handle branching logic and various termination states, ensuring accurate representation of complex business processes.

What is the best way to simplify overly detailed steps before generating a Draw.io XML flowchart?

The best way to simplify overly detailed steps before generating a Draw.io XML flowchart is to use the built-in smart minimization feature. It analyzes your raw process description and suggests merging highly granular steps to keep the diagram clean.

How does the confirmation workflow validate process diagram structure before output?

The confirmation workflow validates process diagram structure by analyzing your raw text and prompting you to confirm the parsed tasks, gateways, and lanes before generating the final Mermaid or Draw.io XML file. This prevents structural errors in the output.