返回工作流列表 Back to workflows

从零开发新项目 Build a New Project

完整覆盖 Full Coverage

完整的项目开发流程,从构思到交付,每一步都有验证标准 Complete development workflow from ideation to delivery, with verification at every step

入口条件 Entry Condition

你有一个项目想法或需求 You have a project idea or requirement

交付物 Deliverables

代码完成,测试通过,评审通过,可以部署 Code complete, tests pass, review approved, ready to deploy

7 个步骤 7 Steps

1

构思 Ideate

Solo Solo

将模糊想法转化为结构化的需求和设计方案 Transform vague ideas into structured requirements and design proposals

质量标准 Quality Criteria

- 产出完整的需求文档 - 列出所有功能点和优先级 - 明确技术选型和约束条件 - Produce complete requirements document - List all features with priorities - Define tech stack and constraints

验证门 Verification Gate

需求文档是否覆盖了用户提到的所有功能点?是否有遗漏? Does the requirements doc cover all mentioned features? Any gaps?

2

规划 Plan

Solo Solo

将需求拆解为可执行的分步实施计划 Break down requirements into executable step-by-step implementation plan

质量标准 Quality Criteria

- 计划分步清晰,每步可独立执行 - 每步包含验证标准 - 估算复杂度和依赖关系 - Plan is clear with independently executable steps - Each step includes verification criteria - Complexity and dependencies estimated

验证门 Verification Gate

计划的每一步是否都有明确的完成标准?有没有遗漏的步骤? Does each step have clear completion criteria? Any missing steps?

3

搭建 Setup

Solo Solo

初始化项目骨架和 Git 工作流 Initialize project skeleton and Git workflow

质量标准 Quality Criteria

- Git 仓库初始化完成 - 基础目录结构就位 - Worktree 隔离工作分支 - Git repository initialized - Base directory structure in place - Worktree isolates working branches

验证门 Verification Gate

项目能正常启动吗?Git 仓库是否配置正确? Can the project start normally? Is Git configured correctly?

4

编码 Develop

可多人 Solo or Multi

按 TDD 纪律逐步实现功能,严格遵循红-绿-重构循环 Implement features step by step following TDD discipline — red-green-refactor

质量标准 Quality Criteria

- 先写测试,再写实现代码 - 每个功能有对应的测试用例 - 代码简洁,无冗余 - 遵循红-绿-重构循环 - Write tests before implementation - Every feature has corresponding test cases - Code is clean with no redundancy - Follow red-green-refactor cycle

验证门 Verification Gate

所有测试是否通过?是否严格遵循了 TDD 红-绿-重构循环? Do all tests pass? Was TDD red-green-refactor cycle strictly followed?

5

评审 Review

多人协作 Multi-Agent

派遣子代理做代码评审,在问题扩散前捕获它们 Dispatch review subagents to catch issues before they spread

质量标准 Quality Criteria

- 评审覆盖所有改动文件 - 所有评审意见得到技术性回应 - 关键问题已确认修复 - Review covers all changed files - All review comments get technical responses - Critical issues confirmed fixed

验证门 Verification Gate

评审意见是否全部处理?是否有未解决的关键问题? Are all review comments addressed? Any unresolved critical issues?

6

验证 Verify

Solo Solo

全面验证,确保所有修改完整正确 Comprehensive verification to ensure all changes are complete and correct

质量标准 Quality Criteria

- 所有功能按需求正常工作 - 边界条件已测试覆盖 - 无回归问题 - All features work as required - Edge cases tested and covered - No regression issues

验证门 Verification Gate

验证清单的每一项是否都勾选通过?有没有遗漏的场景? Has every verification checklist item passed? Any missed scenarios?

7

交付 Ship

Solo Solo

合并代码,清理分支,准备部署 Merge code, clean up branches, prepare for deployment

质量标准 Quality Criteria

- 所有测试通过 - 代码已合并到主分支 - 工作分支已清理 - All tests pass - Code merged to main branch - Working branches cleaned up

验证门 Verification Gate

合并是否成功?是否有未解决的冲突? Did merge succeed? Any unresolved conflicts?