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
**CRITICAL CLARIFICATION**: Checklists generated by this command are for **requirements validation**, NOT:
11
-
- ❌ Verifying code execution or functionality
12
-
- ❌ Testing whether code matches the specification
13
-
- ❌ Checking implementation correctness
14
-
- ❌ Code review or quality assurance
10
+
**CRITICAL CONCEPT**: Checklists are **UNIT TESTS FOR REQUIREMENTS WRITING** - they validate the quality, clarity, and completeness of requirements in a given domain.
15
11
16
-
**What checklists ARE for**:
17
-
- ✅ Ensuring requirements are clearly captured and complete
18
-
- ✅ Identifying ambiguities in specifications or plans
19
-
- ✅ Verifying proper scenario coverage across the spec and plan
20
-
- ✅ Confirming acceptance criteria are well-defined and measurable
21
-
- ✅ Detecting gaps, conflicts, or missing edge cases in requirements
22
-
- ✅ Validating that the problem domain is properly understood before implementation
12
+
**NOT for verification/testing**:
13
+
- ❌ NOT "Verify the button clicks correctly"
14
+
- ❌ NOT "Test error handling works"
15
+
- ❌ NOT "Confirm the API returns 200"
16
+
- ❌ NOT checking if code/implementation matches the spec
23
17
24
-
Think of checklists as a **pre-implementation review** to ensure the spec and plan are solid, not a post-implementation verification tool.
18
+
**FOR requirements quality validation**:
19
+
- ✅ "Are visual hierarchy requirements defined for all card types?" (completeness)
20
+
- ✅ "Is 'prominent display' quantified with specific sizing/positioning?" (clarity)
21
+
- ✅ "Are hover state requirements consistent across all interactive elements?" (consistency)
22
+
- ✅ "Are accessibility requirements defined for keyboard navigation?" (coverage)
23
+
- ✅ "Does the spec define what happens when logo image fails to load?" (edge cases)
24
+
25
+
**Metaphor**: If your spec is code written in English, the checklist is its unit test suite. You're testing whether the requirements are well-written, complete, unambiguous, and ready for implementation - NOT whether the implementation works.
25
26
26
27
## User Input
27
28
@@ -85,69 +86,122 @@ You **MUST** consider the user input before proceeding (if not empty).
85
86
- Use progressive disclosure: add follow-on retrieval only if gaps detected
86
87
- If source docs are large, generate interim summary items instead of embedding raw text
87
88
88
-
5.**Generate checklist**:
89
+
5.**Generate checklist** - Create "Unit Tests for Requirements":
89
90
- Create `FEATURE_DIR/checklists/` directory if it doesn't exist
90
91
- Generate unique checklist filename:
91
-
- Use short, descriptive name based on checklist type
- At least one item per present scenario class; if intentionally absent add: `Confirm intentional absence of <Scenario Class> scenarios`
112
-
- Include resilience/rollback coverage when state mutation or migrations occur (partial write, degraded mode, backward compatibility, rollback preconditions)
113
-
- If a major scenario lacks acceptance criteria, add an item to define measurable criteria
114
-
-**Focus on requirements validation**: Are scenarios clearly defined? Are acceptance criteria measurable? Are edge cases identified in the spec?
- For each scenario class, ask: "Are [scenario type] requirements complete, clear, and consistent?"
169
+
- If scenario class missing: "Are [scenario type] requirements intentionally excluded or missing? [Gap]"
170
+
- Include resilience/rollback when state mutation occurs: "Are rollback requirements defined for migration failures? [Gap]"
115
171
116
172
**Traceability Requirements**:
117
173
- MINIMUM: ≥80% of items MUST include at least one traceability reference
118
-
- Each item should include ≥1 of: scenario class tag, spec ref`[Spec §X.Y]`, acceptance criterion `[AC-##]`, or marker `(Assumption)/(Dependency)/(Ambiguity)/(Conflict)`
119
-
- If no ID system exists, create an item: `Establish requirement & acceptance criteria ID scheme before proceeding`
174
+
- Each item should reference: spec section`[Spec §X.Y]`, or use markers: `[Gap]`, `[Ambiguity]`, `[Conflict]`, `[Assumption]`
175
+
- If no ID system exists: "Is a requirement & acceptance criteria ID scheme established? [Traceability]"
- Ambiguities: "Is the term 'fast' quantified with specific metrics? [Ambiguity, Spec §NFR-1]"
180
+
- Conflicts: "Do navigation requirements conflict between §FR-10 and §FR-10a? [Conflict]"
181
+
- Assumptions: "Is the assumption of 'always available podcast API' validated? [Assumption]"
182
+
- Dependencies: "Are external podcast API requirements documented?[Dependency, Gap]"
183
+
-Missing definitions: "Is 'visual hierarchy' defined with measurable criteria? [Gap]"
128
184
129
185
**Content Consolidation**:
130
-
- Soft cap: If raw candidate items > 40, prioritize by risk/impact and add: `Consolidate remaining low-impact scenarios (see source docs) after priority review`
131
-
- Merge near-duplicates when: same scenario class + same spec section + overlapping acceptance intent
132
-
- If >5 low-impact edge cases, cluster into a single aggregated item
133
-
- Do not repeat identical spec or acceptance refs in >3 items unless covering distinct scenario classes
134
-
- Treat context budget as finite: do not restate already-tagged requirements verbatim across multiple items
**✅ REQUIRED PATTERNS** - These test requirements quality:
199
+
- ✅ "Are [requirement type] defined/specified/documented for [scenario]?"
200
+
- ✅ "Is [vague term] quantified/clarified with specific criteria?"
201
+
- ✅ "Are requirements consistent between [section A] and [section B]?"
202
+
- ✅ "Can [requirement] be objectively measured/verified?"
203
+
- ✅ "Are [edge cases/scenarios] addressed in requirements?"
204
+
- ✅ "Does the spec define [missing aspect]?"
151
205
152
206
6.**Structure Reference**: Generate the checklist following the canonical template in `templates/checklist-template.md` for title, meta section, category headings, and ID formatting. If template is unavailable, use: H1 title, purpose/created meta lines, `##` category sections containing `- [ ] CHK### <requirement item>` lines with globally incrementing IDs starting at CHK001.
153
207
@@ -165,39 +219,71 @@ You **MUST** consider the user input before proceeding (if not empty).
165
219
166
220
To avoid clutter, use descriptive types and clean up obsolete checklists when done.
167
221
168
-
## Example Checklist Types
222
+
## Example Checklist Types & Sample Items
223
+
224
+
**UX Requirements Quality:**`ux.md`
225
+
226
+
Sample items (testing the requirements, NOT the implementation):
227
+
- "Are visual hierarchy requirements defined with measurable criteria? [Clarity, Spec §FR-1]"
228
+
- "Is the number and positioning of UI elements explicitly specified? [Completeness, Spec §FR-1]"
0 commit comments