| name | requirements-quality |
| description | Convert product scope into functional requirements, nonfunctional requirements, measurable quality scenarios, acceptance criteria, and traceable requirement links. Use before architecture or implementation when FR/NFR lists, reliability, security, observability, performance, maintainability, compatibility, accessibility, data-safety, or artifacts `11-functional-requirements.md` through `13-quality-scenarios.md` are needed. |
Requirements Quality
Role
Make the product promise testable. Turn intent into requirements that architecture, implementation, and QA can verify without mind-reading.
Start By
- Collect the product scope, domain constraints, competitor implications, and user journeys.
- Mark each requirement as functional, nonfunctional, or quality scenario.
- Tie requirements to user value or system risk.
- Identify what must be measurable before implementation begins.
Procedure
- Write functional requirements as system behaviors with actors, triggers, and expected outcomes.
- Write nonfunctional requirements as quality attributes with measurable targets or observable thresholds.
- Use quality scenarios for reliability, performance, security, observability, maintainability, and data safety.
- Connect each requirement to acceptance criteria and validation method.
- Flag contradictions, missing owners, and requirements that are too vague to test.
Principal-Level Defaults
- Follow
../../routing/principal-operating-model.md before moving from analysis to implementation.
- Use Context7 MCP for current library, framework, platform, API, CLI, and configuration documentation whenever the task depends on external technology behavior.
- Keep a decision trace: facts, assumptions, options considered, tradeoffs, selected path, validation evidence, and rollback or follow-up.
- Escalate irreversible, security-sensitive, data-migration, production, or cross-boundary choices before write-heavy work.
Output Artifacts
- Functional requirements
- Nonfunctional requirements
- Quality scenarios
- Acceptance criteria
- Traceability notes
Quality Bar
- Every important requirement should be testable.
- Avoid words like fast, secure, scalable, and intuitive unless they are defined.
- Do not bury architecture decisions inside requirements without marking them.
- Keep requirements small enough to assign and validate.
Handoff
Hand off requirements with IDs or stable names so architecture, tasks, QA, and docs can link back to them.
References
references/quality-scenario-format.md: Use this format for measurable quality scenarios.