Developing a feature "spec first"
Write the requirements, design and tasks before implementation, then implement with the agent and review.
Workflow chart
Workflow description
It reduces errors in large features by pinning down the requirements before writing code.
Required tools
The stages and the role of each tool
Write the requirements Kiro
The tool's role: Generate the requirements and acceptance criteria
Prompts / commandsDescribe the feature, then ask for the requirements to be generated in a testable form.Design and tasks Kiro
The tool's role: Technical design and task breakdown
Implementation Kiro
The tool's role: Carry out the tasks one by one
Pull request review Qodo
The tool's role: Automated review against team rules
Output files
- A requirements file
- A design file
- A task list
- A pull request
Tests
- Unit tests for each task
- Automated pull request review
Possible problems
| Problem | Remedy |
|---|---|
| Specs that are too general | Add measurable acceptance criteria to each requirement |
