Skip to content

Commit 9e0db01

Browse files
committed
Update specify.md
1 parent 917f271 commit 9e0db01

1 file changed

Lines changed: 21 additions & 13 deletions

File tree

templates/commands/specify.md

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Given that feature description, do this:
4343

4444
5. **Specification Quality Validation**: After writing the initial spec, validate it against quality criteria:
4545

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:
46+
a. **Create Spec Quality Checklist**: Generate a checklist file at `FEATURE_DIR/checklists/requirements.md` using the checklist template structure with these validation items:
4747

4848
```markdown
4949
# Specification Quality Checklist: [FEATURE NAME]
@@ -91,26 +91,34 @@ Given that feature description, do this:
9191
2. For each clarification needed, present options to user in this format:
9292

9393
```markdown
94-
### Clarification Needed: [Topic]
94+
## Question [N]: [Topic]
9595

9696
**Context**: [Quote relevant spec section]
9797

98-
**Question**: [Specific question from NEEDS CLARIFICATION marker]
98+
**What we need to know**: [Specific question from NEEDS CLARIFICATION marker]
9999

100-
| Option | Description | Implications |
101-
|--------|-------------|--------------|
102-
| A | [First option] | [What this means for the feature] |
103-
| B | [Second option] | [What this means for the feature] |
104-
| C | [Third option] | [What this means for the feature] |
105-
| Custom | Provide your own specification | [Explain how to provide custom input] |
100+
**Suggested Answers**:
101+
102+
| Option | Answer | Implications |
103+
|--------|--------|--------------|
104+
| A | [First suggested answer] | [What this means for the feature] |
105+
| B | [Second suggested answer] | [What this means for the feature] |
106+
| C | [Third suggested answer] | [What this means for the feature] |
107+
| Custom | Provide your own answer | [Explain how to provide custom input] |
106108

107109
**Your choice**: _[Wait for user response]_
108110
```
109111
110-
3. Wait for user to respond with their choice (A, B, C, or custom input)
111-
4. Update the spec by replacing the [NEEDS CLARIFICATION] marker with the user's choice
112-
5. Repeat for all clarification markers
113-
6. Re-run validation after all clarifications are resolved
112+
3. **CRITICAL - Table Formatting**: Ensure markdown tables are properly formatted:
113+
- Use consistent spacing with pipes aligned
114+
- Each cell should have spaces around content: `| Content |` not `|Content|`
115+
- Header separator must have at least 3 dashes: `|--------|`
116+
- Test that the table renders correctly in markdown preview
117+
4. Number questions sequentially (Q1, Q2, Q3, etc.)
118+
5. Present all questions together before waiting for responses
119+
6. Wait for user to respond with their choices for all questions (e.g., "Q1: A, Q2: Custom - [details], Q3: B")
120+
7. Update the spec by replacing each [NEEDS CLARIFICATION] marker with the user's selected or provided answer
121+
8. Re-run validation after all clarifications are resolved
114122

115123
d. **Update Checklist**: After each validation iteration, update the checklist file with current pass/fail status
116124

0 commit comments

Comments
 (0)