# Template: SPEC ## Purpose 统一单份 Spec 的章节结构和内容边界。 ## When to Use - Spec 阶段 - 老项目补 Spec ## Inputs - `.research/*.md` - 业务目标 - 边界与术语 ## Outputs - `SPECS/*.md` ## Primary Agent/Model `GPT-5.4 Pro xhigh` ## Secondary Agent/Model `Claude Opus 4.6` ## Required Skills - `spec-reviewing` - 若已安装可选:`spec-writing` ## Steps 1. 用固定结构写 Spec。 2. 只保留系统契约,不写教程。 3. 审查通过后再进入实施。 ## Exit Criteria - Spec 可被违反、可被测试、可被引用 ## Failure Recovery - 若内容无法被违反,移出 Spec - 若写成实现细节,回退到更高抽象层 ## Related Templates - [`analysis-template.md`](./analysis-template.md) ## Template ```markdown # ## Overview - Defines: - Not Covered: - Related SPECS: ## Terminology - ## Domain Sections ###
- Rule: - Acceptance: > **Why**: > **Rejected**: ## Forbidden - Do not: - Use instead: - Reason: ## References - Internal: - External: ```