Purpose
Orchestrate requirements engineering within agile projects, balancing up-front understanding with just-in-time elaboration. This workflow adapts the four RE subdisciplines (Elicitation, Analysis, Specification, Validation) for iterative delivery.
The Requirements Engineering Iceberg
In agile projects, visible RE artifacts (user stories on the board) represent only the tip of the iceberg. Below the surface lies the bulk of the work:
/ User Stories \ <-- Visible (10%) / on the Board \ -----/--------------------\----- <-- Waterline / Story conversations \ / Acceptance criteria \ / Domain modeling \ <-- Invisible (90%) / Stakeholder negotiations \ / Business rule discovery \ / Quality attribute analysis \ / Vision, scope, persona work \
Agile does not eliminate requirements engineering. It distributes it across the project lifecycle and makes much of it conversational rather than documentary. The rigor remains; the ceremony changes.
Key Concepts
What Changes in Agile RE, What Stays the Same
| Aspect | Traditional RE | Agile RE |
|---|---|---|
| Vision and Scope | Formal document, signed off | Lighter document, living artifact |
| Elicitation | Scheduled sessions, formal notes | Continuous conversation, story discussions |
| Analysis Models | Comprehensive up front | Just-in-time, per feature |
| Specification | SRS document | User stories + acceptance criteria |
| Validation | Formal inspection before baseline | Sprint reviews + continuous feedback |
| Change Control | CCB, change requests | Product backlog reprioritization |
| Baseline | Formal freeze point | Sprint commitment (2-week horizon) |
| Documentation | Comprehensive | Minimal that adds value |
What stays the same: The need to understand the problem before building the solution, the importance of testable requirements, stakeholder involvement, and traceability from business goals to delivered features.
The Product Owner as Requirements Authority
In agile, the Product Owner (PO) is the single point of authority for requirements decisions:
- Owns the product backlog (the living requirements repository)
- Prioritizes stories based on business value
- Accepts or rejects delivered increments
- Resolves requirement conflicts between stakeholders
- Is continuously available to the development team for clarification
The PO does not work alone. A BA or requirements engineer supports the PO with elicitation, analysis, and story writing -- especially in complex domains.
INVEST Criteria for User Stories
Every user story should satisfy INVEST:
| Criterion | Question | Red Flag |
|---|---|---|
| Independent | Can it be developed without depending on another story? | "This story needs story X to be done first" |
| Negotiable | Is the solution open to discussion? | Story specifies UI layout or database schema |
| Valuable | Does it deliver value to the user or business? | "Refactor the data layer" (technical task, not a story) |
| Estimable | Can the team estimate it? | "Build the reporting module" (too vague) |
| Small | Can it be completed in one sprint? | Estimated at 20+ story points |
| Testable | Can you write acceptance criteria? | "The system should be user-friendly" |
Why This Works
- Responsive: Requirements evolve with each sprint based on real feedback, not predictions
- Efficient: Detailed elaboration happens only for stories about to be built, reducing waste from changed requirements
- Collaborative: Continuous PO involvement replaces formal sign-off gates with ongoing alignment
- Balanced: Sufficient up-front work (vision, personas, story map) prevents chaos, while just-in-time detail prevents premature specification
Anti-Patterns
- No Up-Front Work -- Sprint 1 starts with a blank backlog and a vague idea. The team thrashes because there is no vision, no personas, no story map.
- Full SRS Before Sprint 1 -- The BA writes a 200-page SRS and then asks the team to "do agile." This is waterfall with standups.
- User Stories Without Conversations -- Stories are written by the PO in isolation and thrown over the wall. The "Card, Conversation, Confirmation" principle is violated.
- No Acceptance Criteria -- Stories say "As a user, I want to manage chemicals" with no criteria. Developers guess, QA cannot test, PO rejects at sprint review.
- Absent Product Owner -- The PO writes stories at the start and disappears. Developers cannot get clarifications. Just-in-time elaboration fails because there is no one to elaborate with.
Application
Phase 1: Initial Vision (3-5 days)
Goal: Establish enough shared understanding to seed the backlog and start sprint planning. This is lighter than traditional Phase 1 but not optional.
Activity 1.1: Create Product Vision
- Participants: Product Owner, key stakeholders, BA
- Duration: 0.5-1 day
- Technique:
skills/vision-and-scope/SKILL.md(light version) - Define: product purpose, target users, key value proposition, high-level scope boundaries
- Format: Vision board or one-page vision statement (not a 20-page document)
- Output: Product vision statement
Activity 1.2: Define Personas
- Participants: PO, BA, UX (if available)
- Duration: 0.5-1 day
- Create 3-5 personas representing the primary user types
- Each persona: name, role, goals, frustrations, typical usage context
- Personas guide story writing and prioritization throughout the project
- Output: Persona cards
Activity 1.3: Identify Epics and Themes
- Participants: PO, BA, technical lead
- Duration: 0.5-1 day
- Decompose the product vision into 5-15 epics (large capability areas)
- Group epics into themes (related capability clusters)
- Output: Epic list with brief descriptions
Activity 1.4: Initial Scope and Release Planning
- Participants: PO, BA, technical lead, stakeholders
- Duration: 1-2 days
- Rough-cut scope for Release 1 vs. later releases
- Technique:
skills/prioritization-advisor-re/SKILL.mdfor MoSCoW or value-based ranking - Output: Release-level scope commitment
Decision Point: Can the team start writing stories?
- Product vision articulated and shared
- Personas defined for primary user types
- Epics identified and roughly prioritized
- Release 1 scope boundaries agreed
- If YES: proceed to Phase 2. If NO: spend another day on vision alignment.
Phase 2: Backlog Seeding (3-5 days)
Goal: Create an initial product backlog with enough stories to sustain the first 2-3 sprints, plus a story map for the broader product.
Activity 2.1: Create Story Map
- Participants: PO, BA, development team, stakeholders
- Duration: 1-2 days (workshop format)
- Map user activities (top row) -> user tasks (second row) -> user stories (detail rows)
- Arrange stories by priority (top = must-have, bottom = nice-to-have)
- Draw release lines across the map to show scope boundaries
- Output: Story map (physical or digital)
Activity 2.2: Write Initial User Stories
- Participants: PO, BA
- Duration: 1-2 days
- Technique:
skills/user-story-re/SKILL.md - Write stories for the first 2-3 sprints at full detail (with acceptance criteria)
- Write stories for sprints 4-6 at medium detail (story statement, rough criteria)
- Write stories for later sprints as placeholders (epic-level, no criteria yet)
- Output: Prioritized product backlog
Activity 2.3: Write Acceptance Criteria for Top Stories
- Participants: PO, BA, QA representative
- Duration: 1-2 days
- Technique:
skills/acceptance-criteria/SKILL.md - Given/When/Then format for the top 15-20 stories
- Include happy path, error cases, and edge cases
- Output: Stories with testable acceptance criteria
Activity 2.4: Identify Technical Enablers
- Participants: Technical Lead, BA
- Duration: 0.5 day
- Identify infrastructure, architecture, or integration stories needed early
- These are not user stories but technical work that enables user stories
- Mark them distinctly in the backlog (spike, enabler, or technical story)
- Output: Technical backlog items prioritized alongside user stories
Decision Point: Is the backlog ready for Sprint 1?
- Story map provides a big-picture view of the product
- Top 15-20 stories have acceptance criteria
- Enough stories for 2-3 sprints are ready
- Technical enablers identified for early sprints
- If YES: proceed to Phase 3. If NO: write more stories for the immediate horizon.
Phase 3: Iteration Planning (2-4 hours per sprint)
Goal: Select and elaborate stories for the upcoming sprint.
Activity 3.1: Backlog Refinement (Grooming)
- Participants: PO, BA, development team
- Duration: 1-2 hours (mid-sprint, for the next sprint)
- Review upcoming stories: clarify intent, split if too large, estimate effort
- Apply INVEST criteria to each candidate story
- Ensure acceptance criteria are complete and testable
- Output: Refined stories ready for sprint planning
Activity 3.2: Sprint Planning -- Story Selection
- Participants: PO, development team, Scrum Master
- Duration: 1-2 hours
- PO presents top-priority stories with context and acceptance criteria
- Team discusses feasibility and estimates
- Team commits to a sprint scope based on velocity
- Output: Sprint backlog
Activity 3.3: Sprint-Level Elaboration
- Participants: PO, developers (during sprint)
- Duration: Ongoing conversations throughout the sprint
- Developers ask clarifying questions as they implement
- PO provides just-in-time details (UI sketches, business rule clarifications, edge cases)
- BA supports with analysis models when complexity requires it
- Output: Elaborated stories (conversations documented in story comments)
Decision Point: Can the team start implementing?
- Sprint stories have clear acceptance criteria
- Team understands the intent behind each story
- Dependencies between stories identified
- PO available for clarification during the sprint
- If YES: development begins. If NO: resolve ambiguities before committing.
Phase 4: Just-in-Time Elaboration (Continuous)
Goal: Elaborate requirements in detail only when they are about to be built, avoiding premature specification.
Activity 4.1: Lookahead Elaboration
- Participants: PO, BA
- Duration: 2-4 hours per sprint (ongoing)
- Elaborate stories for the next 1-2 sprints in detail
- Use analysis techniques as needed:
- Complex workflows: process modeling or dialog maps
- Data-heavy features: data modeling
- Multi-condition logic: decision tables
- Quality concerns: quality attribute specification
- Output: Elaborated stories with necessary analysis artifacts
Activity 4.2: INVEST Validation
- Participants: BA (screening), team (in refinement)
- Duration: 15-30 minutes per story
- Before a story enters sprint planning, verify it passes INVEST:
- Independent: no blocking dependencies
- Negotiable: solution approach is open
- Valuable: delivers user or business value
- Estimable: team can size it
- Small: fits in one sprint
- Testable: acceptance criteria exist
- Stories that fail INVEST criteria are split, rewritten, or deferred
- Output: INVEST-validated stories
Activity 4.3: Manage Emerging Requirements
- Participants: PO, BA
- Duration: Ongoing
- New requirements discovered during development go to the product backlog
- PO prioritizes them against existing stories
- No formal change control board -- the PO has authority to reprioritize
- Large scope changes (epic-level) may need stakeholder consultation
- Output: Updated, reprioritized product backlog
Activity 4.4: Support with Minimal Documentation
- Participants: BA
- Duration: As needed
- Document only what adds value beyond the story card:
- Complex business rules: decision table (persistent reference)
- Data structures: lightweight data model (developer reference)
- Integration details: interface specification (API contracts)
- Regulatory requirements: formal requirement statements (compliance evidence)
- Discard: meeting notes, intermediate analysis sketches, superseded wireframes
- Output: Lean documentation set
Phase 5: Continuous Validation (Every Sprint)
Goal: Validate requirements through sprint reviews, retrospectives, and continuous stakeholder feedback.
Activity 5.1: Sprint Review as Validation
- Participants: PO, stakeholders, development team
- Duration: 1-2 hours per sprint
- Technique:
skills/requirements-validation-process/SKILL.md(lightweight) - Demonstrate working software to stakeholders
- Stakeholders provide feedback: "This is what I wanted" or "This is not quite right"
- Feedback becomes new stories or modifications to upcoming stories
- This is the primary validation mechanism in agile -- real software, real users, real feedback
- Output: Validated increment, feedback backlog items
Activity 5.2: Acceptance Testing
- Participants: QA, PO
- Duration: Ongoing within sprint
- Test each story against its acceptance criteria
- PO accepts or rejects the story based on criteria
- Rejected stories return to the backlog for the next sprint
- Output: Accepted or rejected stories
Activity 5.3: Retrospective for Process Improvement
- Participants: Scrum Master, development team, PO
- Duration: 1 hour per sprint
- Review the requirements process: Are stories clear enough? Is elaboration timely? Is the PO available?
- Identify improvements: better acceptance criteria templates, earlier refinement, more (or less) documentation
- Output: Process improvement actions
Activity 5.4: Release Validation
- Participants: PO, stakeholders, BA, QA
- Duration: 1-3 days (before major release)
- Broader validation beyond individual sprints:
- End-to-end workflow testing across features
- Stakeholder acceptance of the cumulative increment
- Verify original business objectives are being met
- Check for emergent quality attribute concerns (performance under real data volumes)
- Output: Release readiness assessment
Examples
See examples/sample.md for a complete agile requirements process example.
Common Pitfalls
Pitfall 1: Zero Up-Front Requirements Work
Symptom: The team starts sprint 1 with no vision, no personas, no story map. The backlog is a flat list of vague ideas.
Consequence: The first 2-3 sprints are wasted on alignment and rework. The team builds features that do not fit together.
Fix: Invest 1-2 weeks in Phase 1 and Phase 2 before the first sprint. This is not waterfall -- it is responsible preparation.
Pitfall 2: Stories Without Acceptance Criteria
Symptom: Stories say what the user wants but not how to verify it. "As a lab technician, I want to manage chemicals."
Consequence: Developers implement their interpretation. QA cannot test. The PO rejects at sprint review. Trust erodes.
Fix: Every story entering a sprint must have acceptance criteria in Given/When/Then format. No criteria, no sprint entry.
Pitfall 3: Absent Product Owner
Symptom: The PO writes stories at the start and is unavailable during sprints. Developers cannot get answers.
Consequence: Just-in-time elaboration fails. Developers guess or wait. Velocity drops.
Fix: The PO must allocate at least 50% of their time to the development team. If the PO is too busy, either reduce scope or assign a PO proxy with real decision authority.
Pitfall 4: Confusing Agile with No Documentation
Symptom: The team produces no documentation at all -- no data dictionary, no business rules, no interface specifications. Everything is in people's heads.
Consequence: Knowledge is lost when team members leave. Onboarding new members takes weeks. Regulatory audits fail.
Fix: Document what adds value: business rules, data dictionaries, API contracts, regulatory-required specifications. Skip what does not: formal meeting minutes, intermediate analysis sketches, comprehensive SRS.
Pitfall 5: No Release-Level Validation
Symptom: Individual stories pass sprint reviews but the product as a whole is never validated end-to-end before release.
Consequence: Features work individually but fail when used together. Business objectives are not fully met.
Fix: Before each major release, conduct a release validation (Phase 5, Activity 5.4) that tests end-to-end workflows and verifies business objectives.
References
Related Skills Orchestrated by This Workflow
skills/vision-and-scope/SKILL.md-- Product vision (Phase 1, lighter version)skills/user-story-re/SKILL.md-- Story writing throughout the processskills/acceptance-criteria/SKILL.md-- Acceptance criteria for every storyskills/prioritization-advisor-re/SKILL.md-- Backlog prioritizationskills/requirements-validation-process/SKILL.md-- Sprint review as validation
Additional Skills Used as Needed
skills/decision-table/SKILL.md-- Complex business logic elaborationskills/data-modeling/SKILL.md-- Data-heavy feature elaborationskills/process-modeling/SKILL.md-- Workflow-heavy feature elaborationskills/quality-attribute/SKILL.md-- Nonfunctional requirement specification
External Frameworks
- Karl Wiegers & Joy Beatty, Software Requirements, Third Edition (2013) -- Chapter 20: Agile Projects
- Mike Cohn, User Stories Applied (2004) -- Story writing and story mapping
- Jeff Patton, User Story Mapping (2014) -- Story mapping technique
- Kent Beck, Extreme Programming Explained (2000) -- On-site customer and incremental design
Skill type: Workflow
Dependencies: None -- can be used independently for agile projects
Contrast with: skills/requirements-development-process/SKILL.md (traditional lifecycle)


