name: 路线图可视化 description: 为产品规划生成路线图可视化和规划工件 allowed-tools:
- Read
- Write
- Glob
- Grep
- Bash
路线图可视化技能
概述
专门用于生成路线图可视化和规划工件的技能。使产品团队能够以各种格式创建清晰、适合利益相关者的路线图视图。
能力
路线图视图
- 生成 现在/下一步/以后 路线图视图
- 创建基于时间线的路线图可视化
- 构建针对特定利益相关者的路线图版本
- 创建甘特图式规划图表
- 生成依赖关系图
- 构建资源分配视图
输出格式
- Markdown 表格和列表
- Mermaid 图表语法
- CSV 用于电子表格导入
- JSON 用于工具集成
- ASCII 时间线可视化
自定义
- 按主题、团队或优先级筛选
- 调整时间范围
- 显示/隐藏依赖关系
- 根据受众定制详细程度
- 应用置信度指示器
目标流程
此技能与以下流程集成:
quarterly-roadmap.js- 主要路线图规划和可视化product-vision-strategy.js- 战略路线图视图stakeholder-alignment.js- 针对特定利益相关者的路线图演示product-council-review.js- 可供评审的路线图工件
输入模式
{
"type": "object",
"properties": {
"viewType": {
"type": "string",
"enum": ["now-next-later", "timeline", "gantt", "dependency", "resource"],
"description": "要生成的路线图视图类型"
},
"initiatives": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": { "type": "string" },
"name": { "type": "string" },
"theme": { "type": "string" },
"timeframe": { "type": "string" },
"priority": { "type": "string" },
"dependencies": { "type": "array", "items": { "type": "string" } },
"team": { "type": "string" },
"confidence": { "type": "string", "enum": ["high", "medium", "low"] }
}
}
},
"timeHorizon": {
"type": "string",
"description": "路线图的时间范围(例如 '2026年Q1-Q4')"
},
"audience": {
"type": "string",
"enum": ["executive", "engineering", "sales", "customer", "internal"],
"description": "路线图视图的目标受众"
},
"outputFormat": {
"type": "string",
"enum": ["markdown", "mermaid", "csv", "json", "ascii"],
"default": "markdown"
}
},
"required": ["viewType", "initiatives"]
}
输出模式
{
"type": "object",
"properties": {
"visualization": {
"type": "string",
"description": "以请求格式渲染的路线图"
},
"summary": {
"type": "object",
"properties": {
"totalInitiatives": { "type": "number" },
"byTimeframe": { "type": "object" },
"byTheme": { "type": "object" },
"byPriority": { "type": "object" }
}
},
"dependencies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"from": { "type": "string" },
"to": { "type": "string" },
"type": { "type": "string" }
}
}
},
"riskFlags": {
"type": "array",
"items": { "type": "string" },
"description": "潜在的进度或依赖关系风险"
}
}
}
使用示例
const roadmap = await executeSkill('roadmap-viz', {
viewType: 'now-next-later',
initiatives: [
{ id: 'init-1', name: '核心平台升级', theme: '平台', timeframe: 'now', priority: 'P0' },
{ id: 'init-2', name: '移动应用发布', theme: '增长', timeframe: 'next', priority: 'P1' },
{ id: 'init-3', name: 'AI功能', theme: '创新', timeframe: 'later', priority: 'P2' }
],
timeHorizon: '2026年Q1-Q4',
audience: 'executive',
outputFormat: 'markdown'
});
依赖项
- 可视化库
- 导出格式处理器