The Requirements-First workflow is the traditional approach to Feature Specs, starting with what the system should do before determining how to build it.
This workflow is ideal when:
From the Kiro panel or command palette, create a new Feature Spec. When prompted, select Requirements-First workflow.
Kiro generates a requirements.md document based on your prompt.
What's included:
Your role:
Example requirements:
## User Authentication ### User Registration WHEN a user submits valid registration data THE SYSTEM SHALL create a new user account WHEN a user submits an email that already exists THE SYSTEM SHALL display "Email already registered" error WHEN a user submits invalid email format THE SYSTEM SHALL display email validation error
Once you confirm the requirements, Kiro generates a design.md document that describes how to implement them.
What's generated:
Your role:
Loading image...
Kiro generates a tasks.md file with executable implementation tasks.
What's generated:
Your role:
Loading image...
Execute tasks individually or run all tasks to implement the feature.
Be explicit about:
Example prompt:
Build a user authentication system. Users should be able to register with email/password, login securely, reset forgotten passwords, and logout. The system must prevent brute force attacks and validate email formats.
The power of Requirements-First is getting the "what" right before committing to the "how". Take time to:
Requirements in EARS format (WHEN...THE SYSTEM SHALL...) are:
Before proceeding to tasks, validate that:
Scenario: Product manager provides user stories for a new feature.
Approach:
Scenario: Customer requests specific functionality.
Approach:
Scenario: Starting a new application from scratch.
Approach:
If the generated design doesn't fully address requirements:
If requirements lack specificity:
If you need to modify requirements after design is generated:
Requirements-First Workflow