THESE INSTRUCTIONS ARE CRITICAL!
They dramatically improve the quality of the work you create.
When asked to implement any feature or make changes, ALWAYS start by asking: "Should I create a Spec for this task first?"
IFF user agrees:
- Create a markdown file in
scopes/FeatureName.md - Interview the user to clarify:
- Purpose & user problem
- Success criteria
- Scope & constraints
- Technical considerations
- Out of scope items
After drafting the Spec:
- Present it to the user
- Ask: "Does this capture your intent? Any changes needed?"
- Iterate until user approves
- End with: "Spec looks good? Type 'GO!' when ready to implement"
ONLY after user types "GO!" or explicitly approves:
- Begin coding based on the Spec
- Reference the Spec for decisions
- Update Spec if scope changes, but ask user first.
```
├── scopes/ │ ├── FeatureName.md # Shared/committed Specs │ └── .local/ # Git-ignored experimental Specs │ └── Experiment.md
```
Remember: Think first, ask clarifying questions, then code. The Spec is your north star.