040-planning-plan-mode

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Java 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 file path: .cursor/plans/YYYY-MM-DD_<name>.plan.md
指导使用Cursor Plan模式创建结构化计划的流程。这是一个交互式SKILL。计划遵循适用于Java功能实现、重构或API设计的统一章节结构。
本Skill涵盖哪些内容?
  • 计划模式工作流:进入计划模式、收集上下文、草拟计划、迭代优化
  • YAML前置元数据:名称、概述、待办事项、isProject
  • 必备章节:需求摘要、实现方案(含Mermaid图)、任务列表、执行说明、文件检查清单、备注
  • 伦敦风格(由外而内)TDD模式
  • 计划执行规范:完成每项任务后更新状态,再进行下一步
  • 计划文件路径:.cursor/plans/YYYY-MM-DD_<name>.plan.md

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
    date
    before starting to get date prefix for plan filename
  • 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: Include Execution Instructions section in every generated plan
草拟计划前需收集上下文。每份计划必须包含执行说明。未更新计划的状态列时,不得进入下一项任务。
  • 强制要求:开始前运行
    date
    命令获取计划文件名的日期前缀
  • 必须:重新阅读参考模板——不得使用缓存内容
  • 必须:每次仅提出1-2个问题;不得一次性全部提出
  • 必须:在提议创建计划前,验证摘要(“这是否涵盖了你的需求?”)
  • 必须:等待用户确认“继续”后再生成计划
  • 必须:每份生成的计划都包含执行说明章节

When to use this skill

何时使用本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模式编写计划
  • 设计实现方案计划
  • 制定开发计划
  • 创建结构化设计计划
  • 重构计划
  • 优化计划
  • 更新计划

Reference

参考资料

For detailed guidance, examples, and constraints, see references/040-planning-plan-mode.md.
如需详细指南、示例和约束条件,请查看references/040-planning-plan-mode.md