Skip to content

Commit bcc2d3e

Browse files
committed
Update command to use better questioning
1 parent afa06fa commit bcc2d3e

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

.opencode/commands/create-tech-spec.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,19 +91,21 @@ User story from `.planning/story.md`
9191
- Is there a clear decision on external dependencies?
9292
- Are design decisions documented with rationale?
9393

94-
4. **Clarify Ambiguities**: If anything is unclear:
95-
- Ask about implementation approach
96-
- Discuss external library vs internal implementation
97-
- Clarify edge case handling
98-
- Confirm design decisions
94+
4. **Clarify Ambiguities**: If anything is unclear, use the question tool to gather clarification:
95+
- **Implementation approach**: Use question tool with options for different approaches
96+
- **External library vs internal**: Use question tool to discuss build vs buy decisions
97+
- **Edge case handling**: Use question tool to confirm which edge cases to prioritize
98+
- **Design decisions**: Use question tool to validate key architectural choices
9999

100100
5. **Update and Refine**: Incorporate feedback
101101

102102
**Final Action:**
103103

104-
Ask the user: "Should I create `.planning/tech-spec.md` with this content?"
105-
106-
If yes, delegate file creation to the @general agent.
104+
Use the question tool to ask: "Should I create `.planning/tech-spec.md` with this content?"
105+
- Options: ["Yes, create it (Recommended)", "No, refine first", "Show me the content first"]
106+
- If "Yes, create it": Delegate file creation to the @general agent
107+
- If "No, refine first": Gather feedback using the question tool and update the specification
108+
- If "Show me the content first": Display the spec and then ask again
107109

108110
**Quality Checklist:**
109111
- [ ] Files to modify clearly identified

0 commit comments

Comments
 (0)