/sdlc-documentation:07-requirements-validationfrom sdlc-documentation
Reviews drafted requirements for correctness, completeness, consistency, feasibility, traceability, and testability before release, producing validation findings and a release recommendation.
Ships in sdlc-documentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Validation findings and release recommendation is the next lifecycle deliverable.requirements-analysis when that neighbouring route owns the decision or deliverable.| Artefact | Source or provider | Required? | Behaviour when missing |
|---|---|---|---|
| Draft requirements, source evidence, glossary, quality thresholds, and trace links | Requirements owner and independent reviewers | Yes | Stop the affected step, name the missing source, and return only a qualified gap record. |
Validation findings and release recommendation.| Artefact | Consumer | Acceptance condition |
|---|---|---|
| Validation findings and release recommendation | Requirements management and remediation owners | Required sections are populated, source links resolve, and every material requirement or decision has an observable review or test oracle. |
| Evidence | Reviewer | Acceptance condition |
|---|---|---|
Source, decision, trace, and validation record for Validation findings and release recommendation | Requirements quality reviewer | Inputs used, decisions made, checks run, failures, and unassessed items are explicit. |
Read and search are required. This procedure is read-only by default. Editing the reviewed artefact, publishing, production mutation, destructive action, spending, or certification requires explicit authority.
Fallback: if a required file, reviewer, standard source, network check, renderer, or execution capability is unavailable, return the narrowest useful qualified result and mark the affected check not assessed; never convert an unassessed check into a pass.
| Choice or condition | Action | Failure or risk avoided |
|---|---|---|
| A required source or test oracle is unavailable | Mark the check not assessed and withhold a pass for the affected requirement. | A false validation pass. |
| Required inputs and test oracles are complete | Continue through the existing workflow and record evidence. | A deliverable whose acceptance cannot be reproduced. |
| A mandatory source or owner is missing | Stop the affected branch and issue a qualified gap record. | Fabricated context or unauthorised decisions. |
Validation findings and release recommendation and its acceptance checks.Validation findings and release recommendation from assumed context. Fix: cite the project source or mark the scope blocked.requirements-analysis without routing the decision. Fix: hand off the named input and preserve trace links.not assessed and state the release consequence.Where the requirements affect adoption or user experience, validate more than
sentence quality. Check that the set names the first meaningful user outcome,
does not make optional setup mandatory without evidence, and includes skip,
resume, error, empty, loading, accessibility, and recovery behaviour. For
dashboards, require a named decision, metric definitions, comparison basis,
freshness/staleness behaviour, and a first-run state. For financial flows,
require explicit fees/FX, confirmation, status, reversibility, support, and
error-prevention rules where applicable. Each check needs an owner, evidence,
and deterministic oracle; otherwise mark it not assessed and block the
affected baseline decision.
When requirements were AI-assisted, verify the summary against source artefacts, record decisions and unresolved inferences, and inspect the diff after scoped changes. Plausible generated prose is not validation evidence.
Practitioner cross-checks: Eleken onboarding, dashboard guidance, and AI design workflow. Use WCAG 2.2 for accessibility authority.
Use the scenario-spine and requirement-contract reference to demand measurable oracles, explicit assumptions, and failure-aware validation.
This skill performs systematic validation of all requirements artifacts produced during the "during" lifecycle phase. It applies Wiegers' seven quality attributes and IEEE 830's eight quality criteria to every requirement, executes a structured Fagan-style inspection process, and flags defects with [V&V-FAIL] tags per the CLAUDE.md protocol. No requirement shall proceed to baselining until all validation gates pass.
| Attribute | Value |
|---|---|
| Inputs | All projects/<ProjectName>/<phase>/<document>/ artifacts generated by skills 04-06 |
| Output | projects/<ProjectName>/<phase>/<document>/validation_report.md |
| Tone | Formal, prescriptive, objective; findings stated without softening |
| Standards | IEEE 1012-2016, IEEE 830-1998, IEEE 29148-2018, Wiegers Practices 13-14 |
| File | Location | Required | Purpose |
|---|---|---|---|
| requirements_analysis_report.md | projects/<ProjectName>/<phase>/<document>/requirements_analysis_report.md | Yes | Classified and prioritized requirements |
| conceptual_data_model.md | projects/<ProjectName>/<phase>/<document>/conceptual_data_model.md | No | Entity-relationship model for data validation |
| requirements_patterns.md | projects/<ProjectName>/<phase>/<document>/requirements_patterns.md | No | Decision tables, state models, CRUD matrices |
| vision.md | projects/<ProjectName>/_context/vision.md | Yes | Business goals for traceability validation |
| features.md | projects/<ProjectName>/_context/features.md | Yes | Feature list for completeness checking |
| business_rules.md | projects/<ProjectName>/_context/business_rules.md | No | Business rules for consistency checking |
| File | Location | Description |
|---|---|---|
| validation_report.md | projects/<ProjectName>/<phase>/<document>/validation_report.md | Complete validation findings with defect log and remediation instructions |
Follow these steps in order. Halt and notify the user if a required input file is missing.
Read every file listed in the Input Files table. Inventory all requirements, entities, patterns, and business rules discovered. Log the total artifact count and the file paths read.
Evaluate every requirement against seven quality attributes per Wiegers Practices 13-14:
| Attribute | Criterion | Failure Tag |
|---|---|---|
| Correct | The requirement accurately reflects a stakeholder need documented in vision.md or features.md | [V&V-FAIL:CORRECTNESS] |
| Complete | The requirement contains all information needed for implementation without assumptions | [V&V-FAIL:COMPLETENESS] |
| Feasible | The requirement can be implemented within known technical and resource constraints | [V&V-FAIL:FEASIBILITY] |
| Necessary | The requirement traces to a business goal; removing it would degrade the product | [V&V-FAIL:NECESSITY] |
| Prioritized | The requirement has an assigned priority level with documented rationale | [V&V-FAIL:PRIORITY] |
| Unambiguous | The requirement has exactly one interpretation; no subjective adjectives without metrics | [V&V-FAIL:AMBIGUITY] |
| Verifiable | A deterministic test case with a clear pass/fail criterion can be written for the requirement | [V&V-FAIL:VERIFIABILITY] |
For each requirement that fails one or more attributes, record:
Evaluate the requirements set as a whole against eight quality criteria per IEEE 830 Section 4.3:
| Criterion | Scope | Evaluation Method |
|---|---|---|
| Correct | Set-level | Every requirement traces to a documented stakeholder need |
| Unambiguous | Set-level | No requirement uses undefined terms or subjective language |
| Complete | Set-level | Every feature in features.md has at least one requirement |
| Consistent | Set-level | No two requirements contradict each other |
| Ranked | Set-level | Every requirement has a priority assignment |
| Verifiable | Set-level | Every requirement has a testable acceptance criterion |
| Modifiable | Set-level | Requirements use unique IDs with no redundancy |
| Traceable | Set-level | Every requirement has a forward and backward trace link |
Produce a Quality Criteria Summary Table with pass/fail status for each criterion and supporting evidence.
Execute a Fagan-style inspection adapted for requirements per IEEE 1012-2016:
4.1 Preparation Phase:
4.2 Inspection Execution:
references/review-checklist.md4.3 Defect Classification:
| Defect Type | Description | Resolution Deadline |
|---|---|---|
| Critical | Contradicts business goal or compliance requirement | Before any downstream work |
| Major | Missing information or ambiguous behavior | Before baselining |
| Minor | Formatting, naming, or documentation issue | Before final release |
4.4 Metrics Collection:
Calculate and report:
See references/inspection-process.md for the full Fagan inspection protocol.
Validate consistency across all output artifacts:
[V&V-FAIL:ENTITY-MISSING].[V&V-FAIL:PATTERN-MISSING].[V&V-FAIL:CRUD-MISSING].[V&V-FAIL:TERMINOLOGY].Verify bidirectional traceability:
vision.md SHALL map to at least one requirement. Flag orphan goals with [V&V-FAIL:GOAL-ORPHAN].[V&V-FAIL:REQ-ORPHAN].features.md SHALL have at least one functional requirement. Flag uncovered features with [V&V-FAIL:FEATURE-UNCOVERED].List up to five conditions the requirements imply but do not state (for example, reversal of a mobile-money payment made while the device was offline). Each row SHALL carry an acceptance criterion and a disposition: new requirement, clarification, or accepted risk with a named owner. More than five candidates means elicitation is incomplete: stop validation and return to 02-elicitation-toolkit. Method and worked rows: references/review-focus.md.
| No. | Implied condition | Why it matters | Acceptance criterion | Disposition | Owner |
|---|---|---|---|---|---|
| RF-1 |
If stakeholders have access to a prototype or mockup, provide a structured walkthrough protocol:
See references/prototype-validation.md for the walkthrough protocol and feedback capture template.
Write the completed validation to projects/<ProjectName>/<phase>/<document>/validation_report.md using the output format below. Log summary statistics: total requirements validated, pass rate, defect count by severity, and quality criteria results.
The generated validation_report.md SHALL contain the following sections:
# Requirements Validation Report: [Project Name]
## 1. Document Information
## 2. Validation Summary
### 2.1 Scope and Objectives
### 2.2 Artifacts Validated
### 2.3 Key Findings
## 3. Quality Attribute Results (Wiegers)
### 3.1 Per-Requirement Validation Matrix
### 3.2 Attribute Failure Summary
## 4. Quality Criteria Results (IEEE 830)
### 4.1 Criteria Summary Table
### 4.2 Evidence and Findings
## 5. Inspection Results
### 5.1 Defect Log
### 5.2 Defect Classification Summary
### 5.3 Inspection Metrics
## 6. Cross-Artifact Consistency Findings
## 7. Traceability Validation
### 7.1 Forward Trace Results
### 7.2 Backward Trace Results
### 7.3 Feature Coverage Matrix
## 8. Remediation Plan
### 8.1 Critical Defects (Immediate)
### 8.2 Major Defects (Before Baselining)
### 8.3 Minor Defects (Before Release)
## 9. Review Focus
## 10. Baselining Decision
## 11. Appendix: Standards Traceability
[V&V-FAIL] and include specific remediation steps.When reviewing an SDD-style feature workspace containing spec.md, plan.md,
and tasks.md, run the deterministic companion validator before accepting the
requirements set as implementation-ready:
python scripts/validate_sdd_phase_boundaries.py --feature-dir <feature-dir> --stage spec-plan
The validator enforces P1 requirement coverage, implementation file/symbol mapping, and explicit failure for missing evidence. It is a structural gate; the requirements validation workflow remains authoritative for correctness, completeness, feasibility, verifiability, standards traceability, and baselining. See SDD Phase-Boundary Contract.
| Direction | Skill | Relationship |
|---|---|---|
| Upstream | 02-requirements-engineering/fundamentals/during/04-* | Validates analysis report |
| Upstream | 02-requirements-engineering/fundamentals/during/05-* | Validates conceptual data model |
| Upstream | 02-requirements-engineering/fundamentals/during/06-* | Validates pattern artifacts |
| Downstream | 02-requirements-engineering/waterfall/05-* | Enables SRS specification after baselining |
| Downstream | 09-governance-compliance/01-* | Feeds into traceability matrix |
| Downstream | 09-governance-compliance/02-* | Feeds into audit report |
| Standard | Governs |
|---|---|
| IEEE 1012-2016 | Verification and validation processes and defect management |
| IEEE 830-1998 | Eight quality criteria for requirements specifications |
| IEEE 29148-2018 | Requirements validation activities |
| Laplante Ch.6 | Requirements validation techniques |
| Wiegers Ch.13-14 | Quality attributes and structured reviews |
references/review-checklist.md -- Quality attribute checklist with pass/fail indicatorsreferences/inspection-process.md -- Fagan inspection protocol adapted for requirementsreferences/prototype-validation.md -- Prototype walkthrough protocol and feedback capturereferences/uncertainty-and-evidence-review.md -- claim status, uncertainty, communication, and acceptance checksWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-initialize-srsUse when writing a new SRS (software requirements specification) for a business system or module: create the Waterfall SRS workspace, IEEE structure, identifiers and source context; use context-engineering next for boundaries and actors.Other plugins' skills for the same job