project-planning
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTable of Contents
目录
- When to Use
- Integration
- Planning Phases
- Phase 1: Architecture Design
- Phase 2: Task Breakdown
- Phase 3: Dependency Analysis
- Phase 4: Sprint Planning
- Architecture Design Patterns
- Component Identification
- Component Template
- Component: [Name]
- Task Breakdown Template
- TASK-[XXX]: [Task Name]
- Task Estimation Guidelines
- Dependency Graph
- Sprint Structure
- Sprint [N]: [Focus Area]
- Planned Tasks ([X] story points)
- Deliverable
- Risks
- Dependencies
- Risk Assessment
- Output Format
- Architecture
- System Overview
- Component Diagram
- Components
- Data Flow
- Task Breakdown
- Phase 1: [Name] (Sprint [N]) - TASK-001 through TASK-010
- Phase 2: [Name] (Sprint [M]) - TASK-011 through TASK-020
- Dependency Graph
- Sprint Schedule
- Risk Assessment
- Success Metrics
- Timeline
- Next Steps
- Quality Checks
- Related Skills
- Related Commands
- Examples
- 适用场景
- 集成说明
- 规划阶段
- 阶段1:架构设计
- 阶段2:任务拆分
- 阶段3:依赖分析
- 阶段4:Sprint规划
- 架构设计模式
- 组件识别
- 组件模板
- 组件:[名称]
- 任务拆分模板
- 任务-[XXX]:[任务名称]
- 任务估算指南
- 依赖图谱
- Sprint结构
- Sprint [N]:[核心方向]
- 规划任务([X]个故事点)
- 交付物
- 风险
- 依赖项
- 风险评估
- 输出格式
- 架构
- 系统概览
- 组件图
- 组件列表
- 数据流
- 任务拆分
- 阶段1:[名称] (Sprint [N]) - 任务001 至 任务010
- 阶段2:[名称] (Sprint [M]) - 任务011 至 任务020
- 依赖图谱
- Sprint日程表
- 风险评估
- 成功指标
- 时间线
- 下一步动作
- 质量检查
- 相关技能
- 相关命令
- 示例
Project Planning Skill
项目规划技能
Transform specification into implementation plan with architecture design and dependency-ordered tasks.
将需求规格转换为包含架构设计和按依赖排序任务的实施计划。
Delegation
职责委托
For detailed task planning workflows, this skill delegates to as the canonical implementation. Use this skill for quick planning needs; use spec-kit for comprehensive project plans.
spec-kit:task-planning对于详细的任务规划工作流,本技能会委托作为标准实现。快速规划需求可使用本技能;完整项目规划请使用spec-kit。
spec-kit:task-planningWhen To Use
适用场景
- After specification phase completes
- Need to design system architecture
- Need task breakdown for implementation
- Planning sprints and resource allocation
- Converting requirements into actionable tasks
- Defining component interfaces and dependencies
- 需求规格阶段完成后
- 需要设计系统架构
- 需要拆分实施任务
- 规划Sprint和资源分配
- 将需求转换为可执行任务
- 定义组件接口和依赖关系
When NOT To Use
不适用场景
- No specification exists yet (use first)
Skill(attune:project-specification) - Still exploring problem space (use instead)
Skill(attune:project-brainstorming) - Ready to execute existing plan (use instead)
Skill(attune:project-execution) - Need to adjust running project (update plan incrementally, don't restart)
- 暂无需求规格说明(请先使用)
Skill(attune:project-specification) - 仍在问题空间探索阶段(请改用)
Skill(attune:project-brainstorming) - 准备执行现有计划(请改用)
Skill(attune:project-execution) - 需要调整正在进行的项目(请增量更新计划,不要重启规划流程)
Integration
集成说明
With superpowers:
- Uses for structured planning
Skill(superpowers:writing-plans) - Applies checkpoint-based execution patterns
- Uses dependency analysis framework
Without superpowers:
- Standalone planning methodology
- Task breakdown templates
- Dependency tracking patterns
搭配superpowers使用:
- 调用实现结构化规划
Skill(superpowers:writing-plans) - 应用基于检查点的执行模式
- 使用依赖分析框架
独立使用:
- 独立规划方法论
- 任务拆分模板
- 依赖追踪模式
Planning Phases
规划阶段
Phase 1: Architecture Design
阶段1:架构设计
Activities:
- Identify system components
- Define component responsibilities
- Design interfaces between components
- Map data flows
- Select technologies
Output: Architecture documentation with diagrams
活动内容:
- 识别系统组件
- 定义组件职责
- 设计组件间接口
- 梳理数据流
- 选型技术栈
输出:带示意图的架构文档
Phase 2: Task Breakdown
阶段2:任务拆分
Activities:
- Decompose FRs into implementation tasks
- Add testing tasks for each FR
- Add infrastructure tasks
- Add documentation tasks
- Estimate each task
Output: Task list with estimates
活动内容:
- 将功能需求(FR)拆分为实施任务
- 为每个功能需求添加测试任务
- 添加基础设施相关任务
- 添加文档相关任务
- 估算每个任务的工作量
输出:带工作量估算的任务列表
Phase 3: Dependency Analysis
阶段3:依赖分析
Activities:
- Identify task dependencies
- Create dependency graph
- Identify critical path
- Detect circular dependencies
- Optimize for parallelization
Output: Dependency-ordered task execution plan
活动内容:
- 识别任务依赖关系
- 生成依赖图谱
- 识别关键路径
- 检测循环依赖
- 优化任务支持并行执行
输出:按依赖排序的任务执行计划
Phase 4: Sprint Planning
阶段4:Sprint规划
Activities:
- Group tasks into sprints
- Balance sprint workload
- Identify milestones
- Plan releases
- Allocate resources
Output: Sprint schedule with milestones
活动内容:
- 将任务分组到不同Sprint
- 平衡Sprint工作量
- 确定里程碑
- 规划发布节奏
- 分配资源
输出:带里程碑的Sprint日程表
Architecture Design Patterns
架构设计模式
Component Identification
组件识别
Questions:
- What are the major functional areas?
- What concerns should be separated?
- What components can be developed independently?
- What components can be reused?
Common Patterns:
- Frontend/Backend: Separate UI from business logic
- API Layer: Separate interface from implementation
- Data Layer: Separate data access from business logic
- Integration Layer: Isolate external dependencies
参考问题:
- 核心功能域有哪些?
- 哪些关注点需要分离?
- 哪些组件可以独立开发?
- 哪些组件可以复用?
常见模式:
- 前端/后端:将UI与业务逻辑分离
- API层:将接口与实现分离
- 数据层:将数据访问与业务逻辑分离
- 集成层:隔离外部依赖
Component Template
组件模板
markdown
undefinedmarkdown
undefinedComponent: [Name]
Component: [Name]
Responsibility: [What this component does]
Technology: [Stack and tools]
Interfaces:
Dependencies:
- [Component 1]: [What's needed]
- [Component 2]: [What's needed]
Data:
- [Data structure 1]
- [Data structure 2]
Configuration:
- [Config param 1]
- [Config param 2]
undefinedResponsibility: [What this component does]
Technology: [Stack and tools]
Interfaces:
Dependencies:
- [Component 1]: [What's needed]
- [Component 2]: [What's needed]
Data:
- [Data structure 1]
- [Data structure 2]
Configuration:
- [Config param 1]
- [Config param 2]
undefinedTask Breakdown Template
任务拆分模板
markdown
undefinedmarkdown
undefinedTASK-[XXX]: [Task Name]
TASK-[XXX]: [Task Name]
Description: [What needs to be done]
Type: Implementation | Testing | Documentation | Infrastructure | Deployment
Priority: P0 (Critical) | P1 (High) | P2 (Medium) | P3 (Low)
Estimate: [Story points or hours]
Dependencies: TASK-XXX, TASK-YYY
Sprint: Sprint N
Assignee: [Name or TBD]
Linked Requirements: FR-XXX, NFR-YYY
Acceptance Criteria:
- [Criterion 1]
- [Criterion 2]
- Tests passing
- Documentation updated
Technical Notes:
- [Implementation detail 1]
- [Implementation detail 2]
Testing Requirements:
- Unit tests: [What to test]
- Integration tests: [What to test]
- E2E tests: [What to test]
Definition of Done:
- Code complete
- Tests passing
- Code reviewed
- Documentation updated
- Deployed to staging
undefinedDescription: [What needs to be done]
Type: Implementation | Testing | Documentation | Infrastructure | Deployment
Priority: P0 (Critical) | P1 (High) | P2 (Medium) | P3 (Low)
Estimate: [Story points or hours]
Dependencies: TASK-XXX, TASK-YYY
Sprint: Sprint N
Assignee: [Name or TBD]
Linked Requirements: FR-XXX, NFR-YYY
Acceptance Criteria:
- [Criterion 1]
- [Criterion 2]
- Tests passing
- Documentation updated
Technical Notes:
- [Implementation detail 1]
- [Implementation detail 2]
Testing Requirements:
- Unit tests: [What to test]
- Integration tests: [What to test]
- E2E tests: [What to test]
Definition of Done:
- Code complete
- Tests passing
- Code reviewed
- Documentation updated
- Deployed to staging
undefinedTask Estimation Guidelines
任务估算指南
Story Points (Fibonacci):
- 1 point: < 2 hours, trivial, well-understood
- 2 points: 2-4 hours, straightforward
- 3 points: 4-8 hours, some complexity
- 5 points: 1-2 days, moderate complexity
- 8 points: 2-3 days, significant complexity
- 13 points: 3-5 days, high complexity (consider breaking down)
- 21 points: > 5 days, very complex (MUST break down)
Factors to consider:
- Technical complexity
- Uncertainty/unknowns
- Dependencies on other work
- Testing requirements
- Documentation needs
故事点(斐波那契数列):
- 1点:< 2小时,非常简单,需求完全明确
- 2点:2-4小时,流程清晰
- 3点:4-8小时,存在一定复杂度
- 5点:1-2天,中等复杂度
- 8点:2-3天,复杂度较高
- 13点:3-5天,复杂度高(建议拆分)
- 21点:> 5天,复杂度极高(必须拆分)
估算参考因素:
- 技术复杂度
- 不确定性/未知问题
- 对其他工作的依赖
- 测试要求
- 文档需求
Dependency Graph
依赖图谱
Notation:
TASK-001 (Foundation)
├─▶ TASK-002 (Database schema)
│ ├─▶ TASK-003 (Models)
│ └─▶ TASK-011 (Data import)
└─▶ TASK-004 (Authentication)
└─▶ TASK-005 (Auth middleware)
└─▶ TASK-010 (Protected endpoints)Validation:
- No circular dependencies (A depends on B, B depends on A)
- Critical path identified
- Parallel work opportunities identified
- Blocking tasks highlighted
表示方法:
TASK-001 (Foundation)
├─▶ TASK-002 (Database schema)
│ ├─▶ TASK-003 (Models)
│ └─▶ TASK-011 (Data import)
└─▶ TASK-004 (Authentication)
└─▶ TASK-005 (Auth middleware)
└─▶ TASK-010 (Protected endpoints)校验规则:
- 无循环依赖(A依赖B,B依赖A)
- 关键路径已识别
- 可并行执行的任务已识别
- 阻塞性任务已标记
Sprint Structure
Sprint结构
Sprint Template:
markdown
undefinedSprint模板:
markdown
undefinedSprint [N]: [Focus Area]
Sprint [N]: [Focus Area]
Dates: [Start] - [End]
Goal: [Sprint objective]
Capacity: [Team capacity in story points]
Dates: [Start] - [End]
Goal: [Sprint objective]
Capacity: [Team capacity in story points]
Planned Tasks ([X] story points)
Planned Tasks ([X] story points)
- TASK-XXX ([N] points)
- TASK-YYY ([M] points)
- ...
- TASK-XXX ([N] points)
- TASK-YYY ([M] points)
- ...
Deliverable
Deliverable
[What will be demonstrable at sprint end]
[What will be demonstrable at sprint end]
Risks
Risks
- [Risk 1 with mitigation]
- [Risk 2 with mitigation]
- [Risk 1 with mitigation]
- [Risk 2 with mitigation]
Dependencies
Dependencies
- [External dependency 1]
- [External dependency 2]
undefined- [External dependency 1]
- [External dependency 2]
undefinedRisk Assessment
风险评估
Risk Template:
markdown
| Risk | Impact | Probability | Mitigation |
|------|--------|-------------|------------|
| [Risk description] | High/Med/Low | High/Med/Low | [How to address] |Common Risks:
- Technology unknowns
- Third-party API dependencies
- Resource availability
- Scope creep
- Performance issues
- Security vulnerabilities
风险模板:
markdown
| Risk | Impact | Probability | Mitigation |
|------|--------|-------------|------------|
| [Risk description] | High/Med/Low | High/Med/Low | [How to address] |常见风险:
- 技术未知问题
- 第三方API依赖
- 资源可用性
- 范围蔓延
- 性能问题
- 安全漏洞
Output Format
输出格式
Save to :
docs/implementation-plan.mdmarkdown
undefined保存到:
docs/implementation-plan.mdmarkdown
undefined[Project Name] - Implementation Plan v[version]
[Project Name] - Implementation Plan v[version]
Author: [Name]
Date: [YYYY-MM-DD]
Sprint Length: [Duration]
Team Size: [Number]
Target Completion: [Date]
Author: [Name]
Date: [YYYY-MM-DD]
Sprint Length: [Duration]
Team Size: [Number]
Target Completion: [Date]
Architecture
Architecture
System Overview
System Overview
[High-level architecture description]
[High-level architecture description]
Component Diagram
Component Diagram
[ASCII or markdown diagram]
[ASCII or markdown diagram]
Components
Components
[Component details using template above]
[Component details using template above]
Data Flow
Data Flow
[How data moves through system]
[How data moves through system]
Task Breakdown
Task Breakdown
Phase 1: [Name] (Sprint [N]) - TASK-001 through TASK-010
Phase 1: [Name] (Sprint [N]) - TASK-001 through TASK-010
[Tasks using template above]
[Tasks using template above]
Phase 2: [Name] (Sprint [M]) - TASK-011 through TASK-020
Phase 2: [Name] (Sprint [M]) - TASK-011 through TASK-020
[Tasks using template above]
[Tasks using template above]
Dependency Graph
Dependency Graph
[Dependency visualization]
[Dependency visualization]
Sprint Schedule
Sprint Schedule
[Sprint details using template above]
[Sprint details using template above]
Risk Assessment
Risk Assessment
[Risk table]
[Risk table]
Success Metrics
Success Metrics
- [Metric 1]
- [Metric 2]
- [Metric 1]
- [Metric 2]
Timeline
Timeline
| Sprint | Dates | Focus | Deliverable |
|---|---|---|---|
| 1 | Jan 3-16 | Foundation | Dev environment |
| 2 | Jan 17-30 | Core | Feature X working |
| Sprint | Dates | Focus | Deliverable |
|---|---|---|---|
| 1 | Jan 3-16 | Foundation | Dev environment |
| 2 | Jan 17-30 | Core | Feature X working |
Next Steps
Next Steps
- Review plan with team
- Initialize project with
/attune:project-init - Start execution with
/attune:execute
undefined- Review plan with team
- Initialize project with
/attune:project-init - Start execution with
/attune:execute
undefinedQuality Checks
质量检查
Before completing plan:
- ✅ All architecture components documented
- ✅ All FRs mapped to tasks
- ✅ All tasks have acceptance criteria
- ✅ Dependencies are acyclic
- ✅ Effort estimates provided
- ✅ Critical path identified
- ✅ Risks assessed with mitigations
- ✅ Sprints balanced by capacity
完成规划前需确认:
- ✅ 所有架构组件已完成文档记录
- ✅ 所有功能需求已映射到对应任务
- ✅ 所有任务都有验收标准
- ✅ 依赖无循环
- ✅ 已提供工作量估算
- ✅ 关键路径已识别
- ✅ 已评估风险并给出缓解方案
- ✅ Sprint工作量与团队容量匹配
Post-Completion: Workflow Continuation (REQUIRED)
完成后:工作流接续(必填)
Automatic Trigger: After Quality Checks pass and is saved, MUST auto-invoke the next phase.
docs/implementation-plan.mdWhen continuation is invoked:
- Verify exists and is non-empty
docs/implementation-plan.md - Display checkpoint message to user:
Implementation plan complete. Saved to docs/implementation-plan.md. Proceeding to execution phase... - Invoke next phase:
Skill(attune:project-execution)
Bypass Conditions (ONLY skip continuation if ANY true):
- flag was provided by the user
--standalone - does not exist or is empty (phase failed)
docs/implementation-plan.md - User explicitly requests to stop after planning
Do NOT prompt the user for confirmation — this is a lightweight checkpoint, not an interactive gate. The user can always interrupt if needed.
自动触发:质量检查通过且保存后,必须自动调用下一阶段。
docs/implementation-plan.md接续流程触发时:
- 校验存在且非空
docs/implementation-plan.md - 向用户展示检查点消息:
实施计划已完成,已保存到 docs/implementation-plan.md。 正在进入执行阶段... - 调用下一阶段:
Skill(attune:project-execution)
跳过条件:满足任意一项即可跳过接续流程:
- 用户提供了参数
--standalone - 不存在或为空(阶段执行失败)
docs/implementation-plan.md - 用户明确要求规划完成后停止
无需向用户确认——这是轻量级检查点,而非交互式关卡。用户如有需要可随时中断流程。
Related Skills
相关技能
- - Planning methodology (if available)
Skill(superpowers:writing-plans) - - Task breakdown (if available)
Skill(spec-kit:task-planning) - - Previous phase
Skill(attune:project-specification) - - AUTO-INVOKED next phase after planning
Skill(attune:project-execution) - - Full lifecycle orchestration
Skill(attune:mission-orchestrator)
- - 规划方法论(如有)
Skill(superpowers:writing-plans) - - 任务拆分(如有)
Skill(spec-kit:task-planning) - - 上一阶段
Skill(attune:project-specification) - - 自动调用规划完成后的下一阶段
Skill(attune:project-execution) - - 全生命周期编排
Skill(attune:mission-orchestrator)
Related Commands
相关命令
- - Invoke this skill
/attune:blueprint - - Next step in workflow
/attune:execute
- - 调用本技能
/attune:blueprint - - 工作流下一步
/attune:execute
Examples
示例
See command documentation for complete examples.
/attune:blueprint完整示例请查看命令文档。
/attune:blueprintTroubleshooting
问题排查
Common Issues
常见问题
If you find circular dependencies in your task graph, break one of the tasks into smaller sub-tasks. If sprint capacity is consistently exceeded, re-estimate tasks using the Fibonacci scale or reduce sprint scope.
如果任务图谱中存在循环依赖,请将其中一个任务拆分为更小的子任务。如果Sprint容量持续超出,请使用斐波那契量表重新估算任务,或者缩小Sprint范围。