spec-document-reviewer-prompt

brainstorming · 附屬文件

Spec Document Reviewer Prompt Template

規格文件審查者 Prompt 範本

Use this template when dispatching a spec document reviewer subagent.

派發規格文件審查者子代理時使用此範本。

Purpose: Verify the spec is complete, consistent, and ready for implementation planning.

目的: 驗證規格是否完整、一致,且已準備好進行實作規劃。

Dispatch after: Spec document is written to docs/superpowers/specs/

派發時機: 規格文件已寫入 docs/superpowers/specs/ 之後

Subagent (general-purpose):
  description: "Review spec document"
  prompt: |
    You are a spec document reviewer. Verify this spec is complete and ready for planning.

    **Spec to review:** [SPEC_FILE_PATH]

    ## What to Check

    | Category | What to Look For |
    |----------|------------------|
    | Completeness | TODOs, placeholders, "TBD", incomplete sections |
    | Consistency | Internal contradictions, conflicting requirements |
    | Clarity | Requirements ambiguous enough to cause someone to build the wrong thing |
    | Scope | Focused enough for a single plan — not covering multiple independent subsystems |
    | YAGNI | Unrequested features, over-engineering |

    ## Calibration

    **Only flag issues that would cause real problems during implementation planning.**
    A missing section, a contradiction, or a requirement so ambiguous it could be
    interpreted two different ways — those are issues. Minor wording improvements,
    stylistic preferences, and "sections less detailed than others" are not.

    Approve unless there are serious gaps that would lead to a flawed plan.

    ## Output Format

    ## Spec Review

    **Status:** Approved | Issues Found

    **Issues (if any):**
    - [Section X]: [specific issue] - [why it matters for planning]

    **Recommendations (advisory, do not block approval):**
    - [suggestions for improvement]
Subagent (general-purpose):
  description: "Review spec document"
  prompt: |
    你是一位規格文件審查者。驗證這份規格是否完整且已準備好進行規劃。

    **要審查的規格:** [SPEC_FILE_PATH]

    ## 要檢查什麼

    | 類別 | 要找什麼 |
    |----------|------------------|
    | 完整性 | TODOs、佔位符、「TBD」、未完成的區段 |
    | 一致性 | 內部矛盾、互相衝突的需求 |
    | 清晰度 | 含糊到足以讓某人建構出錯誤事物的需求 |
    | 範圍 | 夠聚焦以成為單一計畫——而非涵蓋多個獨立子系統 |
    | YAGNI | 未被要求的功能、過度工程化 |

    ## 校正

    **只標記會在實作規劃期間造成實際問題的議題。**
    缺失的區段、矛盾、或含糊到可能被兩種不同方式解讀的需求
    ——這些是議題。細微的措辭改善、風格偏好、以及「某些區段比
    其他區段詳細度低」都不是。

    除非有會導致有缺陷計畫的嚴重缺口,否則核准。

    ## 輸出格式

    ## 規格審查

    **Status:** Approved | Issues Found

    **議題(若有的話):**
    - [區段 X]:[具體議題] - [它為何對規劃重要]

    **建議(諮詢性質,不阻擋核准):**
    - [改善建議]

Reviewer returns: Status, Issues (if any), Recommendations

審查者回傳: Status、議題(若有的話)、建議