Instruction file imported from zarfld/AES11-2009 (
.github/instructions/phase-01-stakeholder-requirements.instructions.md). Copyright stays with the author.
Phase 01: Stakeholder Requirements Definition
Standards: ISO/IEC/IEEE 29148:2018 (Stakeholder Requirements), ISO/IEC/IEEE 12207:2017
XP Integration: Planning Game, Customer Involvement, User Stories Foundation
🎯 Phase Objectives
- Identify and document all stakeholders and their concerns
- Elicit stakeholder needs and expectations
- Define business context and constraints
- Establish success criteria and acceptance measures
- Create foundation for system requirements
📋 ISO/IEC/IEEE 29148:2018 Compliance
Stakeholder Requirements Process Activities
-
Stakeholder Identification
- Define all stakeholder classes
- Identify representatives from each class
- Document stakeholder roles and responsibilities
- Map stakeholder concerns and interests
-
Requirements Elicitation
- Conduct stakeholder interviews
- Facilitate workshops and brainstorming sessions
- Review existing documentation
- Analyze competitor solutions
- Document user pain points and needs
-
Requirements Analysis
- Identify conflicting requirements
- Prioritize stakeholder needs
- Analyze feasibility and constraints
- Define acceptance criteria
-
Requirements Documentation
- Create Stakeholder Requirements Specification (StRS)
- Document business context
- Define scope and boundaries
- Document assumptions and constraints
🎨 XP Practices for This Phase
Planning Game
- Exploration Phase: Understand business value
- Commitment Phase: Establish iteration scope
- Steering Phase: Track progress and adjust
Customer Involvement
- Embed customer representative in team
- Daily customer feedback
- Customer-defined acceptance tests
- Customer prioritization of features
User Story Foundation
Start capturing requirements as user stories:
As a [stakeholder role]
I want [goal/desire]
So that [benefit/value]
📝 Required Deliverables
1. Stakeholder Register
Location: stakeholders/stakeholder-register.md
# Stakeholder Register
## Stakeholder Classes
### [Class Name] (e.g., End Users, Operations Team, Executives)
- **Description**: [Role description]
- **Representatives**: [Names/Roles]
- **Concerns**: [Key interests and concerns]
- **Influence**: [High/Medium/Low]
- **Interest Level**: [High/Medium/Low]
- **Communication Needs**: [How and when to engage]
2. Business Context Document
Location: business-context/business-context.md
Must include (per ISO/IEC/IEEE 29148):
- Business opportunity or problem
- Business goals and objectives
- Success criteria and measures
- Market analysis
- Competitive landscape
- Business constraints
- Regulatory requirements
- Standards compliance needs
3. Stakeholder Requirements Specification (StRS)
Location: stakeholder-requirements-specification.md
Structure per ISO/IEC/IEEE 29148:
# Stakeholder Requirements Specification
## 1. Introduction
### 1.1 Purpose
### 1.2 Scope
### 1.3 Definitions, Acronyms, Abbreviations
### 1.4 References
### 1.5 Overview
## 2. Stakeholder Requirements
### 2.1 [Requirement Category 1]
#### StR-001: [Requirement Title]
- **Source**: [Stakeholder class]
- **Priority**: Critical/High/Medium/Low
- **Rationale**: [Why this requirement exists]
- **Acceptance Criteria**: [How to verify]
- **Dependencies**: [Related requirements]
- **Constraints**: [Limitations]
### 2.2 [Requirement Category 2]
...
## 3. Business Context
### 3.1 Business Opportunity
### 3.2 Business Goals
### 3.3 Success Criteria
## 4. Assumptions and Constraints
### 4.1 Assumptions
### 4.2 Constraints
### 4.3 Dependencies
## 5. Acceptance Criteria
4. Initial User Stories
Location: user-stories/
Create high-level epic stories:
# Epic: [Epic Name]
## User Story
As a [stakeholder role]
I want [goal]
So that [business value]
## Business Value
[Why this matters - ROI, competitive advantage, etc.]
## Acceptance Criteria
Given [context]
When [action]
Then [expected result]
## Constraints
- [Technical constraints]
- [Business constraints]
## Priority: [Critical/High/Medium/Low]
## Estimated Value Points: [1-100]
🚨 Critical Requirements for This Phase
Always Do
✅ Interview all stakeholder classes
✅ Document conflicting requirements
✅ Prioritize with customer involvement (Planning Game)
✅ Define measurable acceptance criteria
✅ Validate requirements with stakeholders
✅ Document assumptions explicitly and prove them
✅ Identify constraints early (budget, technical, regulatory, business rules)
✅ Create traceable requirement IDs (StR-XXX)
✅ Use "shall" for mandatory binding provisions
✅ Use active voice in requirements (e.g., "The actor does X")
✅ Ensure requirements are necessary, appropriate, unambiguous, complete, singular, feasible, verifiable, and correct
✅ Trace requirements to one or more stakeholders and their needs
✅ Use objective acceptance criteria to make requirements testable
✅ Focus on open, honest communication (conversation is preferred)
✅ Document rationale (why) for each requirement
✅ Use ubiquitous language (domain vocabulary) consistently
Never Do
❌ Proceed without stakeholder validation
❌ Mix stakeholder requirements with system requirements
❌ Skip non-functional requirements
❌ Ignore conflicting requirements
❌ Assume implicit requirements
❌ Define technical solutions (that comes later)
❌ Skip business context documentation
❌ Use vague or general terms (superlatives like "best", subjective language like "user-friendly", ambiguous terms like "and/or")
❌ Use loopholes (such as "if possible", "as appropriate", "as applicable")
❌ Use the term "must" (use "shall" instead for mandatory requirements)
❌ Write negative requirements (e.g., "shall not")
❌ Build for tomorrow / gold plating (implement only what is necessary for current needs)
❌ Write requirements valued only by developers (e.g., dictating specific infrastructure technology)
❌ Try to freeze requirements before starting implementation (requirements evolve)
❌ Run on autopilot; constantly think critically about every requirement
🔍 Clarifying Questions to Ask
When gathering stakeholder requirements, always ask:
About the Business
- What business problem are we solving?
- What are the measurable business goals?
- What is the expected ROI or business value?
- What happens if we don't build this?
- Who are the competitors, and how do they solve this?
About Users/Stakeholders
- Who are all the stakeholders (not just users)?
- What are each stakeholder's goals and pain points?
- What are the most critical needs vs. nice-to-haves?
- Are there conflicting stakeholder needs?
- Who makes final priority decisions?
About Constraints
- What is the budget and timeline?
- Are there regulatory or compliance requirements?
- What are the technical platform constraints?
- Are there integration requirements with existing systems?
- What are the security and privacy requirements?
About Success
- How will we measure success?
- What are the acceptance criteria for the project?
- What would make stakeholders consider this a failure?
- What are the key performance indicators (KPIs)?
Example Clarification Request
## Clarification Needed: [Topic]
**Context**: You mentioned that "[stakeholder statement]"
**Questions**:
1. Can you elaborate on the specific goals or outcomes you expect?
2. Are there any constraints or limitations we should know about?
3. How will we know when this requirement is satisfied?
4. What is the priority of this requirement compared to others?
5. Are there regulatory or compliance aspects to consider?
**Why This Matters**: This information will help us:
- Define clear, testable requirements
- Prioritize development work
- Ensure compliance with standards
- Avoid rework later in the lifecycle
📊 Phase Entry Criteria
✅ Project charter approved
✅ Initial stakeholders identified
✅ Resources allocated
✅ Business opportunity defined
📊 Phase Exit Criteria
✅ All stakeholder classes identified and documented
✅ Stakeholder Requirements Specification (StRS) completed
✅ Business context documented
✅ Requirements reviewed and approved by stakeholders
✅ Conflicts resolved or documented
✅ Priorities established
✅ Acceptance criteria defined
✅ Traceability IDs assigned (StR-XXX format)
✅ Baseline established for requirements
🔗 Traceability
Establish forward traceability:
StR-XXX (Stakeholder Requirement)
↓
[Next Phase: System Requirements - REQ-XXX]
📚 Standards References
- ISO/IEC/IEEE 29148:2018 - Section 5.2 (Stakeholder Requirements Process)
- ISO/IEC/IEEE 12207:2017 - Section 6.4.1 (Stakeholder Requirements Definition)
- XP Practices - Planning Game, Customer Involvement
🎯 Next Phase
Once this phase is complete, proceed to:
Phase 02: Requirements Analysis & Specification (02-requirements/)
Remember: Stakeholder requirements describe WHAT stakeholders need and WHY. They should be solution-independent. Technical HOW comes in later phases.