一键导入
sdd-specification
Spec-Driven Development: Feature specification format, quality validation checklist, and requirement writing rules
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Spec-Driven Development: Feature specification format, quality validation checklist, and requirement writing rules
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Spec-Driven Development: Cross-artifact consistency analysis — semantic model building, 6 detection passes, severity assignment
Spec-Driven Development: Ambiguity detection taxonomy, prioritization heuristic, and sequential questioning protocol
Spec-Driven Development: Constitution format, versioning rules, and governance methodology
Spec-Driven Development: Orchestration protocol — working-spec.json lifecycle, phase management, initialization, and delegation guidance for SDD workflows
Spec-Driven Development: Implementation planning format, constitution check gates, and Weave plan bridge
| name | sdd-specification |
| description | Spec-Driven Development: Feature specification format, quality validation checklist, and requirement writing rules |
Specs live at .specify/features/{slug}/spec.md where {slug} is the feature name in lowercase with hyphens (e.g., user-authentication).
All feature specs MUST contain these sections:
# Feature: [Name]
**Status**: Draft | In Review | Approved | Implemented
**Version**: 0.1.0
**Goal**: [One sentence — what user problem does this solve?]
## User Scenarios
- **[US1] [P1]** As a [role], I want to [action] so that [outcome]
- **Given** [precondition], **When** [action], **Then** [observable outcome]
- **[US2] [P2]** As a [role], I want to [action] so that [outcome]
- **Given** [precondition], **When** [action], **Then** [observable outcome]
Priority: P1 = must-have, P2 = should-have, P3 = nice-to-have
## Functional Requirements
- **[FR-001]** The system MUST [behavior] [when condition / so that outcome]
- **[FR-002]** The system SHOULD [behavior] [context]
- **[FR-003]** [NEEDS CLARIFICATION] The system MUST [behavior] — unclear whether [ambiguity]
Rules: MUST for non-negotiable, SHOULD for important-but-flexible. Maximum 3 [NEEDS CLARIFICATION] markers.
## Success Criteria
- **[SC-001]** [Measurable, technology-agnostic criterion]
- **[SC-002]** [Criterion that can be objectively verified]
## Edge Cases
- [Boundary condition]: [Expected behavior]
- [Error scenario]: [How the system responds]
- [Concurrent access scenario]: [Expected outcome]
## Key Entities
- **[EntityName]**: [Description]
- Attributes: [name: type, name: type]
- Relationships: [belongs to X, has many Y]
- Constraints: [unique on X, required Y]
## Assumptions
- [Reasonable default that was assumed without asking — documented for transparency]
Before marking a spec ready for review:
[NEEDS CLARIFICATION] markers (more = spec not ready)When writing specs, assume these defaults without asking the user:
After the clarification step, a ## Clarifications section is appended:
## Clarifications
### Session YYYY-MM-DD
**Q**: [Question asked]
**A**: [Answer received]
**Impact**: [Which FR/SC was updated and how]