Skill站外收录 @skilllib/skill-2014279400508829701
requirements-elicitation
提供需求挖掘与规格化能力,通过追问根因、构建具体场景、界定范围边界、开展结构化访谈及实地观察等方法,将模糊诉求转化为可验证的用户故事与验收标准,同步完成干系人分析、冲突协调和需求全生命周期追踪。
商业与营销 AI 技能
Skills.MD
# Requirements Elicitation Methodology
Systematic techniques for transforming vague ideas into clear, testable specifications that align stakeholders and guide implementation.
## When to Activate
- Gathering requirements for new features
- Clarifying vague or ambiguous requests
- Resolving conflicting stakeholder needs
- Documenting formal specifications
- Creating user stories with acceptance criteria
- Validating requirements before implementation
## Elicitation Techniques
### The 5 Whys
Drill past surface requests to discover root needs:
```
Surface Request: "We need a dashboard"
Why 1: Why do you need a dashboard?
→ "To see our metrics in one place"
Why 2: Why do you need to see metrics in one place?
→ "To identify problems quickly"
Why 3: Why do you need to identify problems quickly?
→ "Because slow response affects customer satisfaction"
Why 4: Why does customer satisfaction matter right now?
→ "We're losing customers and don't know why until it's too late"
Why 5: Why don't you know until it's too late?
→ "We only see issues in monthly reports"
Root Need: Real-time alerting for customer-impacting issues
(Not just a dashboard - the dashboard was a solution, not the need)
```
### Concrete Examples
Transform abstract requirements into specific, testable scenarios:
| Abstract | Concrete |
|----------|----------|
| "The system should be fast" | "Page loads in under 2 seconds on 3G" |
| "Users should be able to search" | "Find orders by customer name, date range, or status" |
| "It needs to be secure" | "All PII encrypted at rest, session timeout after 15 min inactive" |
| "Good error handling" | "Network failures retry 3x with exponential backoff, then show offline mode" |
### Boundary Identification
Define what's explicitly in and out of scope:
```
Feature: User Registration
IN SCOPE:
✓ Email/password registration
✓ Email verification
✓ Password strength requirements
✓ Terms of service acceptance
OUT OF SCOPE:
✗ Social login (Google, Facebook)
✗ Two-factor authentication
✗ Password recovery (separate feature)
DEFERRED:
◐ SSO integration (planned for Q3)
◐ Biometric login (pending security review)
```
### Stakeholder Interviews
Structured conversation to extract requirements:
```
Interview Structure (45 min):
1. CONTEXT (10 min)
- What's your role in this project?
- What does success look like for you?
- What's driving this initiative?
2. CURRENT STATE (10 min)
- How do you do this today?
- What works well?
- What are the pain points?
3. DESIRED STATE (15 min)
- What would the ideal solution look like?
- Walk me through a typical scenario...
- What would make your job easier?
4. CONSTRAINTS (5 min)
- What absolutely must be included?
- What's definitely out of scope?
- Any timeline or budget constraints?
5. WRAP-UP (5 min)
- What haven't I asked that I should?
- Who else should I talk to?
- Can I follow up if I have questions?
```
### Observation and Shadowing
Watch users perform tasks in their environment:
```
Observation Protocol:
PREPARE:
- Define what you're observing
- Get permission to observe
- Prepare note-taking template
OBSERVE:
- Note actions, not interpretations
- Record workarounds and pain points
- Note environmental factors
- Time key activities
DEBRIEF:
- "I noticed you did X, can you tell me more?"
- "What would make that easier?"
- "How often does this happen?"
Document:
┌─────────────────────────────────────────────────────────────┐
│ Observation: Order Processing │
├─────────────────────────────────────────────────────────────┤
│ Action: Copied customer email from order to support tool │
│ Time: 15 seconds per order │
│ Frequency: ~50 orders/day │
│ Pain Point: Manual copy-paste, error-prone │
│ Opportunity: Direct integration between systems │
└─────────────────────────────────────────────────────────────┘
```
## Requirement Documentation
### User Story Format
```
Format:
As a [role],
I want [capability],
So that [benefit].
Components:
- Role: Who benefits (be specific)
- Capability: What they can do (action, not solution)
- Benefit: Why it matters (business value)
Example:
As a customer service representative,
I want to see a customer's order history when they call,
So that I can resolve their issues without asking them to repeat information.
```
### Acceptance Criteria (Given-When-Then)
```
Format:
Given [context/precondition]
When [action/event]
Then [expected outcome]
Example:
Feature: Order Cancellation
Scenario: Cancel order before shipping
Given an order in "confirmed" status
And the order has not been shipped
When the customer requests cancellation
Then the order status changes to "cancelled"
And the customer receives a cancellation confirmation email
And the payment is refunded within 3-5 business days
Scenario: Cannot cancel shipped order
Given an order in "shipped" status
When the customer requests cancellation
Then the cancellation is rejected
And the customer is directed to the returns process
```
### Edge Cases and Exceptions
Document what happens when things go wrong:
```
Feature: Password Reset
Happy Path:
- User requests reset → Email sent → User clicks link → Sets new password
Edge Cases:
| Scenario | Expected Behavior |
|----------|-------------------|
| Email not found | Show same success message (security) |
| Link expired (>24h) | Show "link expired" with new reset option |
| Link already used | Show "link already used" message |
| Weak password | Show requirements, block submission |
| Same as old password | Show error, require different password |
| User locked out | Still send reset email (unlock flow) |
```
### Non-Functional Requirements
Document quality attributes:
```
NFR Template:
┌─────────────────────────────────────────────────────────────┐
│ Category: Performance │
├─────────────────────────────────────────────────────────────┤
│ Requirement: Response Time │
│ Measure: 95th percentile page load time │
│ Target: < 2 seconds │
│ Context: Desktop browser, 4G connection │
│ Priority: Must Have │
└─────────────────────────────────────────────────────────────┘
Common Categories:
- Performance: Speed, throughput, latency
- Scalability: Users, data volume, geographic distribution
- Availability: Uptime, recovery time, disaster recovery
- Security: Authentication, authorization, encryption
- Usability: Accessibility, learnability, efficiency
- Maintainability: Modularity, testability, documentation
```
## Stakeholder Management
### Stakeholder Analysis
Identify and categorize stakeholders:
```
Stakeholder Map:
High Influence
│
┌──────────────┼──────────────┐
│ Manage │ Partner │
│ Closely │ With │
│ │ │
Low ├──────────────┼──────────────┤ High
Interest │ Interest
│ Monitor │ Keep │
│ Only │ Informed │
│ │ │
└──────────────┼──────────────┘
│
Low Influence
Stakeholder Register:
| Name | Role | Interest | Influence | Communication |
|------|------|----------|-----------|---------------|
| VP Sales | Sponsor | High | High | Weekly update |
| Dev Team | Implementer | High | Medium | Daily standup |
| Legal | Advisor | Low | High | As needed |
```
### RACI Matrix
Define roles for each requirement:
```
R = Responsible (does the work)
A = Accountable (final decision maker)
C = Consulted (provides input)
I = Informed (kept updated)
| Requirement | Product | Dev | Design | Legal |
|-------------|---------|-----|--------|-------|
| User stories | R,A | C | C | I |
| UI mockups | C | I | R,A | I |
| API contracts | C | R,A | I | I |
| Privacy policy | C | I | I | R,A |
```
### Conflict Resolution
When stakeholders disagree:
```
Resolution Process:
1. UNDERSTAND both positions
- "Help me understand why X is important to you"
- Identify underlying needs vs stated positions
2. FIND COMMON GROUND
- What do both parties agree on?
- What's the shared goal?
3. EXPLORE OPTIONS
- Can we do both? (phased approach)
- Is there a third option that addresses both needs?
- What's the minimum viable for each?
4. ESCALATE if needed
- Present options with trade-offs
- Let decision-maker decide
- Document the decision and rationale
Example:
Marketing wants: Launch by Q1 with all features
Engineering says: Can't do all features by Q1
Resolution: Launch Q1 with core features (MVP), Phase 2 in Q2
Documented: ADR-2024-03: MVP Scope Decision
```
## Validation Techniques
### Requirements Review Checklist
| Criterion | Question | Pass/Fail |
|-----------|----------|-----------|
| Complete | Is everything needed documented? | |
| Consistent | Are there contradictions? | |
| Correct | Does it match stakeholder intent? | |
| Unambiguous | Is there only one interpretation? | |
| Testable | Can we verify it's met? | |
| Traceable | Can we link to business goal? | |
| Feasible | Can it be implemented? | |
| Prioritized | Is importance clear? | |
### Prototype Validation
Use prototypes to validate understanding:
```
Prototype Levels:
Low Fidelity (Paper/Whiteboard):
- Quick to create (minutes)
- Good for: Overall flow, major screens
- Validate: "Is this the right approach?"
Medium Fidelity (Clickable mockups):
- Moderate effort (hours)
- Good for: Detailed interactions, UI layout
- Validate: "Does this workflow make sense?"
High Fidelity (Functional prototype):
- Significant effort (days)
- Good for: Complex interactions, performance
- Validate: "Will this actually work?"
```
### Acceptance Criteria Review
Validate with stakeholders before implementation:
```
Review Format:
"Here's my understanding of [feature]. Please correct me if I'm wrong."
[Read each scenario aloud]
Questions:
- "Is this what you expected?"
- "What did I miss?"
- "What edge cases should we handle?"
- "Is the priority right?"
Document changes and get sign-off.
```
## Traceability
### Traceability Matrix
Link requirements to their sources and verification:
```
| Req ID | Description | Source | Priority | Status | Test Cases |
|--------|-------------|--------|----------|--------|------------|
| REQ-001 | User login | Stakeholder interview | Must | Approved | TC-001, TC-002 |
| REQ-002 | Order history | User observation | Should | Draft | TC-015 |
| REQ-003 | Export CSV | Sales team request | Could | Approved | TC-020 |
```
### Requirement States
Track requirement lifecycle:
```
States:
┌─────────┐ ┌──────────┐ ┌──────────┐ ┌────────────┐
│ Draft │────►│ Reviewed │────►│ Approved │────►│ Implemented│
└─────────┘ └──────────┘ └──────────┘ └────────────┘
│ │
▼ ▼
┌──────────┐ ┌──────────┐
│ Rejected │ │ Verified │
└──────────┘ └──────────┘
```
## Anti-Patterns
| Anti-Pattern | Problem | Solution |
|--------------|---------|----------|
| **Solution First** | "We need a dashboard" | Ask "Why?" to find the real need |
| **Assumed Obvious** | Undocumented "common sense" | Document everything explicitly |
| **Gold Plating** | Adding unrequested features | Stick to documented requirements |
| **Moving Baseline** | Requirements keep changing | Change control process |
| **Single Stakeholder** | Missing perspectives | Identify all stakeholders |
| **Technical Jargon** | Users don't understand | Use domain language |
## Templates
### Feature Request Template
```markdown
# Feature: [Name]
## Problem Statement
[What problem does this solve?]
## User Stories
- As a [role], I want [what] so that [why]
## Acceptance Criteria
- Given [context] when [action] then [outcome]
## Out of Scope
- [What this feature does NOT include]
## Dependencies
- [Other features or systems required]
## Open Questions
- [Unresolved issues needing discussion]
```
### Requirements Document Template
```markdown
# [Project Name] Requirements Specification
## 1. Introduction
### 1.1 Purpose
### 1.2 Scope
### 1.3 Definitions
## 2. Overall Description
### 2.1 Product Perspective
### 2.2 User Classes
### 2.3 Constraints
## 3. Functional Requirements
### 3.1 [Feature Area 1]
### 3.2 [Feature Area 2]
## 4. Non-Functional Requirements
### 4.1 Performance
### 4.2 Security
### 4.3 Usability
## 5. Appendices
### A. Stakeholder Register
### B. Traceability Matrix
```
## References
- [Interview Question Bank](examples/interview-questions.md) - Questions by domain
- [User Story Examples](examples/user-stories.md) - Well-written story examples
评论 0
还没有评论,来抢沙发。
相关内容
同类或同场景的收录内容
building-with-kafka-strimzi
在 Kubernetes 上构建基于 Apache Kafka 的事件驱动系统,支持高可靠的消息传递、事务性处理与精确一次语义,结合 Strimzi 运营商实现集群自动化管理,利用 Schema Registry 保障事件模式演进,适用于微服务间解耦通信与实时数据流处理场景。
站外数据与分析
609 0.0
personal-tool-builder
专注于从个人真实痛点出发快速构建实用工具,涵盖命令行程序、本地优先应用和自动化脚本的开发与演进,强调先满足自身需求再逐步扩展,通过持续自用打磨功能,避免过度设计,确保工具简洁有效且长期可维护。
站外商业与营销
196 0.0
threejs-lighting
实现三维场景中的光照与阴影控制,支持多种光源类型及环境光照明,提供从基础布光到高级阴影优化的完整方案,适用于需要真实感渲染或性能平衡的可视化项目。
站外效率工具
442 0.0
aggregation-helper
提供数据聚合场景的自动化辅助能力,涵盖 SQL 查询编写、统计分析建模、可视化方案设计及商业智能配置,支持从需求理解到生产级代码生成的全流程指导。
站外效率工具数据与分析
217 0.0
举报「requirements-elicitation」
举报信息仅审核团队可见,同一资产 24 小时内仅可举报一次