Requirement Refinement Process Skill
Overview
This skill guides you through a systematic requirement refinement process to transform high-level business requirements into detailed, implementable functional specifications.
When to Use
- Breaking down business requirements into functional points
- Writing detailed user stories with acceptance criteria
- Analyzing functional dependencies between modules
- Identifying technical constraints and limitations
- Creating requirement specifications for development
Refinement Process
Step 1: Functional Breakdown
Objective: Decompose business requirements into granular functional points.
Actions:
- Review business requirements document
- Identify all functional modules
- Break down each module into specific features
- Assign priority (P0/P1/P2) to each function
- Create function dependency relationships
Output: 01-functional-breakdown.md
Template:
# 功能点拆解
## 一、业务需求回顾
| 需求编号 | 需求名称 | 优先级 |
|---------|---------|--------|
## 二、功能点拆解
### 2.1 [模块名称]
| 功能编号 | 功能点 | 功能描述 | 优先级 |
|---------|--------|---------|--------|
## 三、功能统计
| 模块 | P0 | P1 | P2 | 合计 |
## 四、功能依赖关系Step 2: User Stories
Objective: Create detailed user stories following INVEST principles.
Actions:
- Identify all user roles
- Create user stories for each role
- Write acceptance criteria (Given-When-Then format)
- Assign story points for estimation
- Map user activities in journey format
Output: 02-user-stories.md
User Story Format:
#### US-XXX: [Story Title]
**用户故事:**
作为 <角色>,
我希望 <功能/目标>,
以便 <价值/原因>。
**验收标准:**
Given <前置条件>
When <操作/事件>
Then <预期结果>
**优先级:** P0/P1/P2
**故事点:** [点数]
**依赖:** [依赖项]INVEST Principles:
- Independent: Stories should be independent
- Negotiable: Details can be discussed
- Valuable: Must provide value to users
- Estimable: Size can be estimated
- Small: Can be completed in one iteration
- Testable: Has clear acceptance criteria
Step 3: Functional Dependencies
Objective: Analyze and document dependencies between functions.
Actions:
- Create dependency matrix between modules
- Identify strong and weak dependencies
- Draw dependency diagrams
- Define implementation sequence
- Identify risks in dependency chain
Output: 03-functional-dependencies.md
Key Sections:
- Module dependency matrix
- Function dependency matrix
- Dependency diagrams
- Implementation sequence recommendations
- Risk identification
Step 4: Technical Constraints
Objective: Identify all technical constraints and limitations.
Actions:
- Document technology stack constraints
- Define security requirements
- Specify performance constraints
- List compatibility requirements
- Document deployment constraints
Output: 04-technical-constraints.md
Constraint Categories:
- Technology Stack: Frontend, backend, database requirements
- Security: Authentication, data protection, interface security
- Performance: Response time, concurrency, resource usage
- Compatibility: Browser, mobile, integration compatibility
- Deployment: Environment, high availability, scalability
Step 5: Requirements Specification
Objective: Create comprehensive requirements specification document.
Actions:
- Summarize system overview
- Detail functional requirements
- Define non-functional requirements
- Document interface requirements
- Create requirement traceability matrix
Output: 05-requirements-specification.md
Document Structure:
# 需求规格说明
## 一、文档概述
## 二、系统概述
## 三、功能需求
## 四、非功能需求
## 五、接口需求
## 六、数据需求
## 七、附录Document Naming Convention
| Step | Document | Code |
|---|---|---|
| 1 | 功能点拆解 | SYS-RA-US-001 |
| 2 | 用户故事 | SYS-RA-US-002 |
| 3 | 功能依赖关系 | SYS-RA-US-003 |
| 4 | 技术约束条件 | SYS-RA-US-004 |
| 5 | 需求规格说明 | SYS-RA-US-005 |
Quality Checklist
- [ ] All business requirements are covered by functional points
- [ ] User stories follow INVEST principles
- [ ] Acceptance criteria are testable
- [ ] Dependencies are clearly identified
- [ ] Technical constraints are realistic
- [ ] Requirements specification is complete
- [ ] Traceability matrix links all artifacts
Best Practices
- Start with business requirements - Always reference the BRD
- Involve stakeholders - Validate user stories with users
- Keep it small - Each user story should be completable in one sprint
- Prioritize ruthlessly - Not everything can be P0
- Document dependencies - Critical for planning
- Be specific - Avoid vague requirements
- Think about testing - If you can't test it, it's not a good requirement
