To Spec

pandoscope/skills/derived/to-spec

作者 pandoscope925fe390437f無授權條款1 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

Turn the current conversation into a spec published to the project tracker — no interview, just synthesis of what was already discussed.

僅含說明AI & Agents
AI 產生的概覽

把目前的對話整理成自成一體的規格(PRD),並發佈到專案追蹤系統。

功能
它會綜合既有對話與程式碼庫的理解來產生規格文件,而不是訪問使用者。它會探索儲存庫、勾勒測試接縫,並依固定範本撰寫規格,涵蓋問題陳述、解決方案、使用者故事、實作決策、測試決策、範圍之外與補充說明。它也會套用自成一體的檢驗,將難以回復的決策記錄為 ADR,並以 ready-for-agent 標籤發佈到消費端儲存庫的追蹤系統。
適用情境
適用於討論已經完成、需要整理成書面規格或 PRD 的情況。它適合要求規格能被任何實作者重現的工程流程,並且需要已有質詢環節或明確確認略過該環節。
執行需求
僅有指令,沒有指令碼。依賴儲存庫存取權與消費端儲存庫 AGENTS.md 中的追蹤系統慣例,以及選用的搭配技能與文件,例如 writing-prose、writing-adrs、docs/glossary 和 uvx disambiguate 指令。

To Spec

Produce spec (aka PRD) from current conversation + codebase understanding. Do NOT interview user — synthesize what you already know.

Reproducibility invariant

Spec — and tickets later derived from it — must be self-contained: replayed by any implementer, human or agent, builds roughly same application. Every outcome-shaping decision lives in spec itself, or durable docs it references — ADRs (writing-adrs), glossary terms (docs/glossary/). Never conversation context, tribal knowledge, implementer discretion.

Litmus test: two independent implementers could build meaningfully different things → spec underspecified. Add decision to spec, or record as ADR/glossary term + reference.

Grilling gate

Spec is load-bearing. No grilling session (docs/glossary/grilling-session.md) in context → stop, ask user: "No grilling session found — really skip?" Proceed only on explicit confirmation; note skip in Further Notes.

Process

  1. Explore repo if not already done. Use glossary vocabulary (uvx disambiguate <term>) throughout; respect ADRs in touched area.

  2. Sketch seams for testing the feature. Prefer existing seams; new seams at highest point possible. Fewer seams better — ideal is one.

    Check seams with user.

  3. Write spec per template — written and checked with the writing-prose skill if available, surface ticket; precision and understandability must not suffer. Apply litmus test to every section, publish per consumer repo's tracker conventions (AGENTS.md). Apply ready-for-agent label — no further triage.

Spec template:

markdown
## Problem Statement
Problem, from user's perspective.
## Solution
Solution, from user's perspective.
## User Stories
LONG numbered list: "As an <actor>, I want <feature>, so that <benefit>".Example: "As a mobile bank customer, I want to see balance on my accounts, so that I can make better informed decisions about my spending."Extremely extensive — cover all aspects.
## Implementation Decisions
Decisions made: modules built/modified, interfaces, technical clarifications, architecture, schema changes, API contracts, specific interactions.
Hard-to-reverse or surprising decisions → also record as ADR (`writing-adrs`) + reference. Decision only in conversation, not listed here → fails litmus test — write it down.
No file paths/code snippets — stale fast. Exception: prototype snippet encoding a decision more precisely than prose (state machine, reducer, schema, type shape) → inline within relevant decision, note prototype origin, trim to decision-rich parts.
## Testing Decisions
What makes a good test (external behavior only, not implementation details), which modules tested, prior art in codebase.
## Out of Scope
What this spec excludes.
## Further Notes
Anything else.

來源與署名

來源:pandoscope/skills位於derived/to-spec提交925fe39

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架