view-plan

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Display a readable summary of a plan's phases, tasks, and status.
显示计划的阶段、任务和状态的可读摘要。

Step 1: Identify the Plan

步骤1:识别计划

If no topic is specified, list available plans:
bash
ls docs/workflow/planning/
Ask the user which plan to view.
如果未指定主题,列出可用的计划:
bash
ls docs/workflow/planning/
询问用户要查看哪个计划。

Step 2: Read the Plan Index

步骤2:读取计划索引

Read the plan file from
docs/workflow/planning/{topic}/plan.md
and check the
format:
field in the frontmatter.
docs/workflow/planning/{topic}/plan.md
读取计划文件,并检查前置元数据中的
format:
字段。

Step 3: Load Format Reading Reference

步骤3:加载格式读取参考文档

Load the format's reading reference:
../technical-planning/references/output-formats/{format}/reading.md
This file contains instructions for reading plans in that format.
加载对应格式的读取参考文档:
../technical-planning/references/output-formats/{format}/reading.md
该文件包含读取该格式计划的说明。

Step 4: Read Plan Content

步骤4:读取计划内容

Follow the reading reference to locate and read the actual plan content.
按照读取参考文档的指引定位并读取实际的计划内容。

Step 5: Present Summary

步骤5:呈现摘要

Display a readable summary:
Output the next fenced block as a code block:
Plan: {topic}

**Format:** {format}
显示可读的摘要:
将下方的围栏块作为代码块输出:
Plan: {topic}

**Format:** {format}

Phase 1: {phase name}

Phase 1: {phase name}

  • Task 1.1: {description}
  • Task 1.2: {description}
  • Task 1.1: {description}
  • Task 1.2: {description}

Phase 2: {phase name}

Phase 2: {phase name}

  • Task 2.1: {description} ...

Show:
- Phase names and acceptance criteria
- Task descriptions and status (if trackable)
- Any blocked or dependent tasks

Keep it scannable - this is for quick reference, not full detail.
  • Task 2.1: {description} ...

需展示:
- 阶段名称和验收标准
- 任务描述和状态(如果可追踪)
- 任何被阻塞或存在依赖的任务

保持内容易于快速浏览——这是用于快速参考,而非详细查阅。

Notes

注意事项

  • Some formats (like external issue trackers) may not be fully readable without API access - note this if applicable
  • If status tracking isn't available in the format, just show the task structure
  • 某些格式(如外部问题追踪器)可能需要API访问才能完全读取——如有适用请注明这一点
  • 如果该格式不支持状态跟踪,仅展示任务结构即可