You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: templates/commands/checklist.md
+37-25Lines changed: 37 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,12 @@ You **MUST** consider the user input before proceeding (if not empty).
73
73
- Group items by category/section if applicable
74
74
- Include brief explanations or links where helpful
75
75
- Each `/checklist` run creates a NEW file (never overwrites existing checklists)
76
+
-**CRITICAL**: Focus checklist items on **specification and requirements quality** for the domain:
77
+
* Validate scenario coverage and edge cases
78
+
* Ensure requirements are clear, testable, and measurable
79
+
* Check for completeness of acceptance criteria
80
+
* Verify domain-specific considerations are addressed
81
+
* DO NOT include implementation details like unit tests, code quality, or deployment steps
76
82
77
83
6.**Checklist structure**:
78
84
```markdown
@@ -105,28 +111,34 @@ To avoid clutter, use descriptive types and clean up obsolete checklists when do
105
111
106
112
## Example Checklist Types
107
113
108
-
**Code Review:**`review.md`
109
-
- Code quality checks
110
-
- Documentation requirements
111
-
- Test coverage verification
112
-
- Security considerations
113
-
114
-
**Pre-Deployment:**`deploy.md`
115
-
- Build verification
116
-
- Test execution
117
-
- Configuration validation
118
-
- Rollback plan
119
-
120
-
**Accessibility:**`ux.md` or `a11y.md`
121
-
- WCAG compliance
122
-
- Keyboard navigation
123
-
- Screen reader compatibility
124
-
- Color contrast
125
-
126
-
**Security:**`security.md`
127
-
- Input validation
128
-
- Authentication/authorization
129
-
- Data encryption
130
-
- Dependency vulnerabilities
131
-
132
-
Generate checklist items that are specific, actionable, and relevant to the feature context.
114
+
**Specification Review:**`spec-review.md`
115
+
- Requirement completeness and clarity
116
+
- User scenarios and edge cases coverage
117
+
- Acceptance criteria definition
118
+
- Domain-specific considerations
119
+
120
+
**Requirements Quality:**`requirements.md`
121
+
- Testable and measurable outcomes
122
+
- Stakeholder alignment verification
123
+
- Assumptions and constraints documentation
124
+
- Success metrics definition
125
+
126
+
**UX/Accessibility Scenarios:**`ux.md` or `a11y.md`
127
+
- User journey completeness
128
+
- Accessibility requirement coverage
129
+
- Responsive design considerations
130
+
- Internationalization needs
131
+
132
+
**Security Requirements:**`security.md`
133
+
- Threat model coverage
134
+
- Authentication/authorization requirements
135
+
- Data protection requirements
136
+
- Compliance and regulatory needs
137
+
138
+
**API/Integration Scenarios:**`api.md`
139
+
- Contract completeness
140
+
- Error handling scenarios
141
+
- Backward compatibility considerations
142
+
- Integration touchpoint coverage
143
+
144
+
Generate checklist items that validate the **quality and completeness of specifications and requirements** for the domain, focusing on scenarios, edge cases, and requirement clarity rather than implementation details.
Copy file name to clipboardExpand all lines: templates/commands/specify.md
+76-2Lines changed: 76 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,81 @@ Given that feature description, do this:
40
40
7. Return: SUCCESS (spec ready for planning)
41
41
42
42
4. Write the specification to SPEC_FILE using the template structure, replacing placeholders with concrete details derived from the feature description (arguments) while preserving section order and headings.
43
-
5. Report completion with branch name, spec file path, and readiness for the next phase.
43
+
44
+
5.**Specification Quality Validation**: After writing the initial spec, validate it against quality criteria:
45
+
46
+
a. **Create Spec Quality Checklist**: Generate a checklist file at `FEATURE_DIR/checklists/spec.md` using the checklist template structure with these validation items:
47
+
48
+
```markdown
49
+
# Specification Quality Checklist: [FEATURE NAME]
50
+
51
+
**Purpose**: Validate specification completeness and quality before proceeding to planning
52
+
**Created**: [DATE]
53
+
**Feature**: [Link to spec.md]
54
+
55
+
## Content Quality
56
+
57
+
- [ ] No implementation details (languages, frameworks, APIs)
58
+
- [ ] Focused on user value and business needs
59
+
- [ ] Written for non-technical stakeholders
60
+
- [ ] All mandatory sections completed
61
+
62
+
## Requirement Completeness
63
+
64
+
- [ ] No [NEEDS CLARIFICATION] markers remain
65
+
- [ ] Requirements are testable and unambiguous
66
+
- [ ] Success criteria are measurable
67
+
- [ ] Scope is clearly bounded
68
+
- [ ] Dependencies and assumptions identified
69
+
70
+
## Notes
71
+
72
+
- Items marked incomplete require spec updates before `/clarify` or `/plan`
73
+
```
74
+
75
+
b. **Run Validation Check**: Review the spec against each checklist item:
76
+
- For each item, determine if it passes or fails
77
+
- Document specific issues found (quote relevant spec sections)
78
+
79
+
c. **Handle Validation Results**:
80
+
81
+
- **If all items pass**: Mark checklist complete and proceed to step 6
0 commit comments