Skills Plugins MCP Prompt Model 博客 我的中心

bpmn-workflow

Generate and maintain BPMN 2.0 diagrams linked to Gherkin scenarios

DeepseekModel 官方收录技能 质量 优秀 · 78 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=wellapp-ai-well-cursor-rules-skills-bpmn-workflow-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name bpmn-workflow description Generate and maintain BPMN 2.0 diagrams linked to Gherkin scenarios BPMN Workflow Skill Generate BPMN 2.0 process diagrams from feature specifications, link them to Gherkin scenarios, and compose a system-wide workflow diagram. When to Use After completing Ask mode (feature exploration) to visualize the flow When documenting system processes for stakeholders Before Plan mode to ensure all scenarios are captured When updating existing features with new scenarios Prerequisites Feature has been explored in Ask mode with wireframes User flows have been identified API endpoints (if any) have been specified Instructions Phase 1: Gather Feature Context Step 1.1: Check for existing .feature files Glob docs/bpmn/features/**/*.feature If found, parse existing scenarios: CallMcpTool: server: "bpmn-mcp" toolName: "read-feature" arguments: { "featurePath": "docs/bpmn/features/{feature-id}/{feature-id}.feature" } Step 1.2: If no .feature file exists, generate scenarios from: Ask mode wireframes (each screen = potential scenario) User flow descriptions API endpoints defined (CRUD operations = scenarios) Edge cases identified (error states, empty states) Phase 2: Generate Gherkin (if needed) If generating new scenarios, structure them as: Feature: [Feature Name] As a [user type] I want to [action] So that [benefit] Scenario: [Happy path name] Given [precondition] When [action] Then [expected result] Scenario: [Error case name] Given [precondition] When [invalid action] Then [error handling] Scenario naming conventions: Happy path: Successful [action] , [Action] completes Validation: [Action] with invalid [field] Error: [Action] when [error condition] Edge: [Action] with [edge case] Phase 3: Generate BPMN Call the generate-bpmn MCP tool: CallMcpTool: server: "bpmn-mcp" toolName: "generate-bpmn" arguments: { "featureId": "{feature-id}", "featureName": "{Feature Name}", "scenarios": [ { "id": "{scenario-id}", "name": "{Scenario Name}", "steps": [ { "keyword": "Given", "text": "{step text}" }, { "keyword": "When", "text": "{step text}" }, { "keyword": "Then", "text": "{step text}" } ] } ], "outputPath": "docs/bpmn/features/{feature-id}/{feature-id}.bpmn" } Phase 4: Create Manifest Link Link BPMN elements to Gherkin scenarios: CallMcpTool: server: "bpmn-mcp" toolName: "link-gherkin" arguments: { "featureId": "{feature-id}", "featureName": "{Feature Name}", "bpmnFile": "docs/bpmn/features/{feature-id}/{feature-id}.bpmn", "featureFile": "docs/bpmn/features/{feature-id}/{feature-id}.feature" } This creates docs/bpmn/features/{feature-id}/manifest.json with traceability links. Phase 5: Compose System Diagram Update the master system diagram: CallMcpTool: server: "bpmn-mcp" toolName: "compose-system" arguments: { "systemName": "Well Platform", "featuresDir": "docs/bpmn/features", "outputPath": "docs/bpmn/system.bpmn" } Output Format After completing all phases, present: ## BPMN Workflow Generated ### Files Created/Updated | File | Status | Description | |------|--------|-------------| | `docs/bpmn/features/{id}/{id}.feature` | Created/Updated | [N] scenarios | | `docs/bpmn/features/{id}/{id}.bpmn` | Created | Process diagram | | `docs/bpmn/features/{id}/manifest.json` | Created | [N] links | | `docs/bpmn/system.bpmn` | Updated | Added {Feature Name} pool | ### Scenarios Mapped | Scenario | BPMN Element | Steps | |----------|--------------|-------| | [Name] | Task _{id} | [N] | ### System Diagram [ASCII representation of system pools] ┌─────────────────┐ ┌─────────────────┐ │ Auth │────▶│ Workspaces │ │ • Login │ │ • Create │ │ • Register │ │ • Switch │ └─────────────────┘ └─────────────────┘ BPMN Element Mapping Gherkin Concept BPMN Element Scenario UserTask Given steps Documentation (preconditions) When steps Documentation (action) Then steps Documentation (expected) Feature Process Background Subprocess (shared) Storage Structure docs/bpmn/ ├── README.md # Documentation ├── system.bpmn # Master system diagram └── features/ └── {feature-id}/ ├── {feature-id}.bpmn # Feature process diagram ├── {feature-id}.feature # Gherkin scenarios └── manifest.json # BPMN ↔ Gherkin links Related Skills problem-framing - Defines the problem before BPMN generation competitor-scan - Research how competitors document workflows design-context - Ensures BPMN aligns with existing patterns Troubleshooting No MCP server available: Ensure bpmn-mcp is configured in .cursor/mcp.json Check that @wellapp/bpmn package is built Invalid BPMN generated: Validate with validate-bpmn tool Check scenario IDs are unique Ensure step keywords are valid (Given/When/Then/And/But) Manifest links broken: Re-run link-gherkin after updating scenarios Ensure scenario IDs match between .feature and manifest
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。