173 lines
8.3 KiB
Markdown
173 lines
8.3 KiB
Markdown
---
|
|
name: up-requirements-elicit
|
|
description: Elicit, structure, and synthesize stakeholder vision, user personas, functional capabilities, and architectural constraints into an authoritative, baseline-ready Product/Business Requirements Document (PRD/BRD) when no upstream requirements document is supplied. Uses OpenUP Requirements Discipline and AI Hero Socratic interview patterns. Covers Stage 0B (Inception) of the UP-AI v1.1 Process.
|
|
---
|
|
|
|
# up-requirements-elicit — Stage 0B (Inception: Requirements Elicitation & BRD Synthesis)
|
|
|
|
## Objective
|
|
|
|
Bridge the gap between an unformed idea or conversational brief and an authoritative, structured requirements document. Transform vague stakeholder vision into a rigorous, baseline-ready **Product Requirements Document (PRD / BRD)** under `01_BRD/PRD_Specification.md` with minted root traceability IDs (`BRD-FR-xxx`).
|
|
|
|
This skill operationalizes:
|
|
1. **OpenUP Requirements Discipline:** Problem analysis, vision definition, actor/persona identification, system boundary scoping, and candidate scenario modeling.
|
|
2. **AI Hero Socratic Elicitation:** Interactive, adversarial questioning that challenges hand-waving, stress-tests edge cases, and enforces strict "in-scope vs. anti-scope" boundaries.
|
|
3. **CMMI Level 3 Requirements Development (RD):** Systematic stakeholder need elicitation, operational concept definition, and formal capture of assumptions (`ASM-xxx`) and ambiguities (`AMB-xxx`).
|
|
|
|
---
|
|
|
|
## When to Invoke
|
|
|
|
- At the start of a project when no BRD or PRD exists in `01_BRD/`.
|
|
- When the incoming request is a high-level prompt, brief summary, or informal pitch (e.g., *"Build an Uber for logistics"* or *"Create a multi-tenant subscription billing platform"*).
|
|
- When requirements are incomplete, contradictory, or lack explicit failure scenarios and non-functional constraints.
|
|
- **Do NOT invoke** if an authoritative, reviewed, and signed-off PRD/BRD is already present in `01_BRD/`—in that case, proceed directly to `up-brd-extract` (Stage 1).
|
|
|
|
---
|
|
|
|
## Read First
|
|
|
|
- `project_sdlc/01_BRD/PRD_Specification.template.md` (authoritative document structure)
|
|
- `tech-profile.yaml` (archetype, multi-tenancy model, active tech stack)
|
|
- `project_sdlc/00_process_control/master_context.md`
|
|
- `project_sdlc/00_process_control/ambiguity_register.md`
|
|
- `project_sdlc/00_process_control/assumptions_register.md`
|
|
|
|
---
|
|
|
|
## Procedure
|
|
|
|
The skill executes in two distinct phases: **Phase 1 (Socratic Elicitation Interview)** and **Phase 2 (BRD/PRD Synthesis & Baseling)**.
|
|
|
|
### Phase 1 — Socratic Elicitation Interview (Iterative Rounds)
|
|
|
|
Do NOT overwhelm the stakeholder with a wall of 20 questions. Conduct a focused, multi-turn interview asking **2 to 4 targeted questions per turn**, organized across five fundamental dimensions:
|
|
|
|
#### Round 1: Vision, Problem Statement & Business Value (OpenUP Vision)
|
|
- What specific business problem does this solve, and who suffers today without it?
|
|
- What is the primary metric or operational outcome defining success for v1?
|
|
- What existing manual process, legacy tool, or competitor does this replace?
|
|
|
|
#### Round 2: Actors, Personas & System Boundaries (OpenUP Find & Outline)
|
|
- Who are the direct human users (roles, access tiers, organizational hierarchy)?
|
|
- Are there external automated systems, webhooks, or third-party APIs interacting with this platform?
|
|
- Is multi-tenancy required (e.g., multiple independent companies/tenants on the same system)?
|
|
|
|
#### Round 3: In-Scope Capabilities vs. Explicit Anti-Scope (AI Hero Scoping)
|
|
- What 3 to 6 core capabilities MUST exist in Version 1.0 (MVP)?
|
|
- What is explicitly **OUT OF SCOPE** (anti-scope) for v1 to guarantee delivery velocity?
|
|
- Where is the strict boundary between internal platform responsibility and external vendor service responsibility?
|
|
|
|
#### Round 4: Core User Journeys & Critical Failure Modes
|
|
- Walk through the primary "Happy Path" journey for the main user persona from entry to completion.
|
|
- What are the top 2 failure or exception scenarios? (e.g., payment rejected, session expired, concurrent inventory conflict, offline sync).
|
|
- What should the system state and user experience be when an external dependency is unavailable?
|
|
|
|
#### Round 5: Non-Functional Requirements (NFRs) & Compliance Constraints
|
|
- What are the regulatory or compliance requirements (GDPR, HIPAA, SOC 2, audit trails)?
|
|
- What are the expected throughput, transaction volumes, and data retention requirements?
|
|
- What are the latency requirements (e.g., API response SLAs, batch processing windows)?
|
|
|
|
#### Interview Governance Rules:
|
|
1. **Challenge Ambiguity:** If the user provides a vague answer (e.g., *"It should be fast and secure"*), probe immediately: *"What is the acceptable p95 response time in milliseconds? What authentication standard (OIDC, SAML, API keys) is required?"*.
|
|
2. **Log Unknowns:** If a business decision cannot be answered immediately, do NOT guess or invent business logic. Record it as an `AMB-xxx` in `project_sdlc/00_process_control/ambiguity_register.md`.
|
|
3. **Log Working Assumptions:** If proceeding requires a reasonable default, record it as an `ASM-xxx` in `project_sdlc/00_process_control/assumptions_register.md`.
|
|
|
|
---
|
|
|
|
### Phase 2 — BRD/PRD Synthesis & Baseling
|
|
|
|
Once the elicitation interview yields sufficient clarity across the five dimensions, synthesize the output directly into `project_sdlc/01_BRD/PRD_Specification.md` following `project_sdlc/01_BRD/PRD_Specification.template.md`.
|
|
|
|
#### Mandatory PRD Structure:
|
|
```markdown
|
|
# Product Requirements Document (PRD) — <Project Name>
|
|
|
|
| Field | Value |
|
|
|---|---|
|
|
| **Document** | `PRD_Specification.md` |
|
|
| **Product** | <Project Name> (<CODE>) |
|
|
| **Version** | 1.0.0 |
|
|
| **Author** | Elicited via `@requirements-analyst` (`up-requirements-elicit`) |
|
|
| **Status** | Baselined |
|
|
| **Last Updated** | YYYY-MM-DD |
|
|
|
|
---
|
|
|
|
## 1. Executive Summary & Problem Statement
|
|
- The Business Need
|
|
- Target Market / Operational Context
|
|
- Success Criteria & KPIs
|
|
|
|
---
|
|
|
|
## 2. Target Personas & External Actors
|
|
1. **<Persona 1>:** Role, goals, permissions.
|
|
2. **<Persona 2>:** Role, goals, permissions.
|
|
3. **<System Actor>:** External API/service integration.
|
|
|
|
---
|
|
|
|
## 3. High-Level Feature Inventory (The Traceability Root Spine)
|
|
Every discrete capability MUST be assigned a unique `BRD-FR-xxx` ID:
|
|
|
|
| Feature ID | Feature Title | Primary Persona | Description & Acceptance Intent | Priority |
|
|
|---|---|---|---|---|
|
|
| `BRD-FR-001` | <Title> | <Persona> | <Clear, testable capability description> | P0 |
|
|
| `BRD-FR-002` | <Title> | <Persona> | <Clear, testable capability description> | P0 |
|
|
| `BRD-FR-003` | <Title> | <Persona> | <Clear, testable capability description> | P1 |
|
|
|
|
---
|
|
|
|
## 4. Scope Boundaries & Anti-Scope
|
|
- **In Scope for v1:** Explicit list of delivered boundaries.
|
|
- **Explicit Anti-Scope (Deferred):** What is intentionally excluded from v1.
|
|
|
|
---
|
|
|
|
## 5. Non-Functional Requirements & Constraints
|
|
- Multi-Tenancy & Data Isolation Model
|
|
- Security, Authentication & Cryptography
|
|
- Performance & Scalability SLAs
|
|
- Auditability & Compliance Standards
|
|
```
|
|
|
|
---
|
|
|
|
### Phase 3 — Stakeholder Review Brief (Mitigating Automation Bias)
|
|
|
|
Provide a concise Human Review Brief for the stakeholder:
|
|
1. **Executive Summary:** 3-bullet synopsis of what was elicited.
|
|
2. **Baselined Scope:** Count of P0/P1 `BRD-FR-xxx` features created.
|
|
3. **Anti-Scope Confirmations:** Explicit confirmation of what was excluded.
|
|
4. **Open Ambiguities:** Any pending `AMB-xxx` entries requiring stakeholder resolution.
|
|
|
|
---
|
|
|
|
## Output Expected
|
|
|
|
1. Baselined requirements document: `project_sdlc/01_BRD/PRD_Specification.md`.
|
|
2. Updated registers:
|
|
- `project_sdlc/00_process_control/ambiguity_register.md`
|
|
- `project_sdlc/00_process_control/assumptions_register.md`
|
|
3. Stakeholder Human Review Brief presented in session.
|
|
|
|
---
|
|
|
|
## Exit Criteria
|
|
|
|
- `project_sdlc/01_BRD/PRD_Specification.md` exists and is populated with:
|
|
- Clear problem statement and target personas.
|
|
- At least 3 `BRD-FR-xxx` features with priority and acceptance intent.
|
|
- Explicit Anti-Scope section.
|
|
- Concrete NFR constraints.
|
|
- All minted `BRD-FR-xxx` IDs are formatted correctly to serve as roots for Stage 1 (`up-brd-extract`) and Stage 5 (`up-use-case-author`).
|
|
- Stakeholder has reviewed and approved the baseline.
|
|
|
|
---
|
|
|
|
## Related Skills
|
|
|
|
- **Preceding:** `up-project-bootstrap` (Stage 0).
|
|
- **Subsequent:** `up-brd-extract` (Stage 1), `up-use-case-author` (Stage 5), `up-arch-risk-spike` (Stage 6).
|