用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/MikeTreml/MissionControl --skill user-flow-diagram命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | user-flow-diagram |
| description | Generate user flow diagrams and flowcharts using Mermaid and other formats |
| allowed-tools | ["Read","Write","Edit","Bash","Glob","Grep"] |
Generate user flow diagrams, flowcharts, and navigation maps to visualize user journeys and application flows.
{
"type": "object",
"properties": {
"flowData": {
"type": "object",
"description": "User flow data structure",
"properties": {
"nodes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": { "type": "string" },
"label": { "type": "string" },
"type": { "type": "string" }
}
}
},
"edges": {
"type": "array",
"items": {
"type": "object",
"properties": {
"from": { "type": "string" },
"to": { "type": "string" },
"label": { "type": "string" }
}
}
}
}
},
"diagramType": {
"type": "string",
"enum": ["flowchart", "sequence", "state", "journey"],
"default": "flowchart"
},
"direction": {
"type": "string",
"enum": ["TB", "BT", "LR", "RL"],
"default": "TB"
},
"outputFormat": {
"type": "string",
"enum": ["mermaid", "svg", "png", "pdf"],
"default": "mermaid"
},
"validate": {
"type": "boolean",
"default": true
}
},
"required": ["flowData"]
}
{
"type": "object",
"properties": {
"diagramCode": {
"type": "string",
"description": "Mermaid or PlantUML code"
},
"outputPath": {
"type": "string",
"description": "Path to exported diagram"
},
"validation": {
"type": "object",
"properties": {
"isComplete": { "type": "boolean" },
"deadEnds": { "type": "array" }
const result = await skill.execute({
flowData: {
nodes: [
{ id: 'start', label: 'Home', type: 'page' },
{ id: 'login', label: 'Login', type: 'page' },
{ id: 'dashboard', label: 'Dashboard', type: 'page' }
],
edges: [
{ from: 'start', to: 'login', label: 'Sign In' },
{ from: 'login', to: 'dashboard', label: 'Success' }
]
},
diagramType: 'flowchart',
outputFormat: 'svg'
});