feat(dev-workflow): Phase 1 - 技能框架搭建
- 创建 SKILL.md 定义9阶段流程 - 定义触发词: '开始开发...' - 创建状态文件结构 state.json - 创建需求收集模板 requirements.json - 创建状态管理工具 state_manager.py - 支持跨会话状态恢复
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"schema": "dev-workflow-requirements-v1",
|
||||
"collected_at": null,
|
||||
"project_type": null,
|
||||
"summary": {
|
||||
"name": null,
|
||||
"description": null,
|
||||
"core_value": null
|
||||
},
|
||||
"functional_requirements": [],
|
||||
"technical_requirements": {
|
||||
"language": null,
|
||||
"framework": null,
|
||||
"database": null,
|
||||
"dependencies": []
|
||||
},
|
||||
"constraints": [],
|
||||
"acceptance_criteria": [],
|
||||
"out_of_scope": [],
|
||||
"questions_asked": [],
|
||||
"user_answers": []
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"schema": "dev-workflow-state-v1",
|
||||
"project_name": null,
|
||||
"current_phase": 0,
|
||||
"current_stage": "initialized",
|
||||
"started_at": null,
|
||||
"updated_at": null,
|
||||
"retry_count": 0,
|
||||
"max_retries": 3,
|
||||
"phases": {
|
||||
"1": {
|
||||
"name": "头脑风暴",
|
||||
"status": "pending",
|
||||
"started_at": null,
|
||||
"completed_at": null,
|
||||
"data": null
|
||||
},
|
||||
"2": {
|
||||
"name": "方案设计",
|
||||
"status": "pending",
|
||||
"started_at": null,
|
||||
"completed_at": null,
|
||||
"agents": [],
|
||||
"data": null
|
||||
},
|
||||
"3": {
|
||||
"name": "方案审核",
|
||||
"status": "pending",
|
||||
"started_at": null,
|
||||
"completed_at": null,
|
||||
"data": null
|
||||
},
|
||||
"4": {
|
||||
"name": "方案汇报",
|
||||
"status": "pending",
|
||||
"started_at": null,
|
||||
"completed_at": null,
|
||||
"user_decision": null,
|
||||
"data": null
|
||||
},
|
||||
"5": {
|
||||
"name": "Spec编排",
|
||||
"status": "pending",
|
||||
"started_at": null,
|
||||
"completed_at": null,
|
||||
"data": null
|
||||
},
|
||||
"6": {
|
||||
"name": "并行开发",
|
||||
"status": "pending",
|
||||
"started_at": null,
|
||||
"completed_at": null,
|
||||
"waves": [],
|
||||
"data": null
|
||||
},
|
||||
"7": {
|
||||
"name": "测试",
|
||||
"status": "pending",
|
||||
"started_at": null,
|
||||
"completed_at": null,
|
||||
"test_results": null,
|
||||
"data": null
|
||||
},
|
||||
"8": {
|
||||
"name": "代码审查",
|
||||
"status": "pending",
|
||||
"started_at": null,
|
||||
"completed_at": null,
|
||||
"agents": [],
|
||||
"issues": [],
|
||||
"data": null
|
||||
},
|
||||
"9": {
|
||||
"name": "修复验证",
|
||||
"status": "pending",
|
||||
"started_at": null,
|
||||
"completed_at": null,
|
||||
"fixes": [],
|
||||
"verification": null,
|
||||
"data": null
|
||||
}
|
||||
},
|
||||
"context": {
|
||||
"trigger_message": null,
|
||||
"working_directory": null,
|
||||
"project_type": null
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user