041-planning-plan-mode
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseJava Design Plan Creation for Cursor Plan Mode
适用于Cursor Plan模式的Java设计计划创建指南
Guide the process of creating a structured plan using Cursor Plan mode. This is an interactive SKILL. Plans follow a consistent section structure suitable for Java feature implementation, refactoring, or API design.
What is covered in this Skill?
- Plan mode workflow: enter Plan mode, gather context, draft plan, iterate
- YAML frontmatter: name, overview, todos, isProject
- Required sections: Requirements Summary, Approach (with Mermaid), Task List, Execution Instructions, File Checklist, Notes
- London Style (outside-in) TDD pattern
- Plan execution discipline: update Status after each task before advancing
- Plan storage: ask user for preferred folder and filename convention before creating artifact
指导如何使用Cursor Plan模式创建结构化计划。这是一个交互式SKILL。计划遵循适合Java功能实现、重构或API设计的统一章节结构。
本技能涵盖哪些内容?
- 计划模式工作流:进入计划模式、收集上下文、草拟计划、迭代优化
- YAML前置元数据:名称、概述、待办事项、isProject
- 必填章节:需求摘要、实现方案(含Mermaid图)、任务列表、执行说明、文件检查清单、注意事项
- 伦敦风格(由外而内)TDD模式
- 计划执行规范:完成每项任务后更新状态,再进行下一项任务
- 计划存储:在创建计划文件前,询问用户偏好的文件夹和文件名命名规则
Constraints
约束条件
Gather context before drafting. Include Execution Instructions in every plan. Never advance to next task without updating the plan's Status column.
- MANDATORY: Run before starting to get date prefix for plan filename
date - MUST: Read the reference template fresh—do not use cached content
- MUST: Ask one or two questions at a time; never all at once
- MUST: Validate summary (Does this capture what you need?) before proposing plan creation
- MUST: Wait for user to confirm proceed before generating the plan
- MUST: Ask the user where they want to store the plan before generating the plan artifact
- MUST: Include Execution Instructions section in every generated plan
草拟计划前需收集上下文。每份计划必须包含执行说明。未更新计划的状态列之前,不得进行下一项任务。
- 强制要求:开始前运行命令获取日期前缀,用于计划文件名
date - 必须:重新读取参考模板——不得使用缓存内容
- 必须:一次仅提出1-2个问题;不得一次性全部提出
- 必须:在提议创建计划前,验证摘要是否准确(“这是否涵盖了您的需求?”)
- 必须:等待用户确认继续后,再生成计划
- 必须:在生成计划文件前,询问用户计划的存储位置
- 必须:每份生成的计划都包含执行说明章节
When to use this skill
本技能的适用场景
- Create a plan with Cursor Plan mode
- Write a plan with Claude Plan mode
- Design an implementation plan
- Structure a development plan
- Create a structured design plan
- Refactor the plan
- Improve the plan
- Update the plan
- 使用Cursor Plan模式创建计划
- 使用Claude Plan模式编写计划
- 设计实现方案
- 构建开发计划
- 创建结构化设计计划
- 重构计划
- 优化计划
- 更新计划
Workflow
工作流
- Get current date
Run before planning and use it to derive the plan filename prefix .
dateYYYY-MM-DD- Read reference and gather context
Read and ask one or two questions at a time to clarify requirements, constraints, and target scope.
references/041-planning-plan-mode.md- Validate summary and confirm proceed
Summarize understanding, ask Does this capture what you need?, and wait for explicit proceed before creating the plan artifact.
- Confirm plan storage location
Ask where the user wants to store the plan (for example, or another folder) and confirm the target filename pattern before writing.
.cursor/plans/- Generate structured plan artifact
Create the plan at the confirmed location using required sections and YAML frontmatter, including Execution Instructions.
- Apply execution discipline
When executing tasks from the plan, update the Status column after each task before moving to the next one.
- 获取当前日期
开始计划前运行命令,使用生成的作为计划文件名的前缀。
dateYYYY-MM-DD- 读取参考资料并收集上下文
读取,一次提出1-2个问题,明确需求、约束条件和目标范围。
references/041-planning-plan-mode.md- 验证摘要并确认继续
总结理解内容,询问“这是否涵盖了您的需求?”,等待用户明确确认后再创建计划文件。
- 确认计划存储位置
询问用户计划的存储位置(例如或其他文件夹),并确认目标文件名规则后再写入文件。
.cursor/plans/- 生成结构化计划文件
在确认的位置创建计划,包含必填章节和YAML前置元数据,以及执行说明。
- 遵循执行规范
执行计划中的任务时,完成每项任务后更新状态列,再进行下一项任务。
Reference
参考资料
For detailed guidance, examples, and constraints, see references/041-planning-plan-mode.md.
如需详细指导、示例和约束条件,请参阅references/041-planning-plan-mode.md。