Skip to content
Back to skills

Requirements Validation

ASecurity

Use when validating feature requirements before design or implementation. Tests each requirement for falsifiability, measurability, and independence. Detects contradictions and guides resolution without resolving silently.

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 6, 2026
ai-agentsgobashtestingperformance

Security analysis

A100/100

Scanned October 6, 2026

npx -y skills add bordenet/superpowers-plus --skill requirements-validation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Requirements Validation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Requirements Validation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bordenet-requirements-validation/badge)](https://www.skillsdirectory.com/skills/bordenet-requirements-validation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: requirements-validation
disable-model-invocation: true
source: superpowers-plus
triggers: ["validate requirements", "requirements review", "are these requirements valid", "contradictory requirements", "conflicting requirements", "requirements testing", "testable requirements", "requirements falsifiability", "check requirements for contradictions"]
anti_triggers: ["implement requirements", "build this feature", "write code for"]
description: Use when validating feature requirements before design or implementation. Tests each requirement for falsifiability, measurability, and independence. Detects contradictions and guides resolution without resolving silently.
summary: "Use when: validating requirements before implementation. Skip when: requirements are already validated."
coordination:
  group: engineering
  order: 1
  requires: []
  enables: ["debate", "brainstorming"]
  escalates_to: ["feature-development"]
  internal: false
composition:
  consumes: [goal, task-description]
  produces: [validation-report]
  capabilities: [validates-requirements, detects-bias]
  priority: 10
---

# Requirements Validation

> **Core principle:** Every requirement must be testable. Contradictions must be surfaced, not silently resolved.
>
> **Wrong skill?** Feature design → `debate` or `brainstorming`. Implementation planning → `plan-and-execute`. Validating code output → `output-verification`.

**Announce at start:** "I'm using the **requirements-validation** skill to validate these requirements."

## Companion Skills

- **debate**: Evaluating design options from requirements
- **brainstorming**: Generating approaches that meet requirements
- **plan-and-execute**: Implementing validated requirements

## When to Use

- Before design work — validate that requirements are testable and non-contradictory
- When stakeholder requirements seem vague, compound, or conflicting
- When acceptance criteria need to be derived from prose requirements

## Input Contract

Before running the three tests, normalize requirements into a numbered list:

- **Format:** `R1: [requirement text]`, `R2: [requirement text]`, etc.
- If the input is prose, extract discrete requirements and number them.
- If the input is already numbered, preserve the numbering.
- Each `R#` must be a single, atomic requirement (split compound requirements).

## The Three Tests

For EACH numbered requirement, apply all three:

### 1. Falsifiability Test

**Question:** Can you write a test that would FAIL if this requirement isn't met?

| Result | Action |
|--------|--------|
| Yes — concrete test exists | ✅ Requirement passes |
| No — too vague to test | ❌ Rewrite to be specific. "Improve performance" → "Response time < 200ms at p95" |
| Partially — some aspects testable | ⚠️ Split into testable and non-testable parts |

### 2. Measurability Test

**Question:** Is "done" a binary state (yes/no), not a gradient?

| Result | Action |
|--------|--------|
| Binary — clear done/not-done | ✅ Passes |
| Gradient — "better", "improved", "enhanced" | ❌ Add a threshold. "Better error handling" → "All error paths return structured error with code, message, and recovery hint" |

### 3. Independence Test

**Question:** Does this requirement conflict with any other requirement in the set?

| Result | Action |
|--------|--------|
| Independent — no conflicts | ✅ Passes |
| Conflicts detected | ❌ Trigger contradiction resolution (below) |

## Contradiction Resolution

⛔ **HARD GATE:** Do NOT resolve contradictions silently. The stakeholder decides.

When two requirements conflict:

1. **State both requirements verbatim.**
2. **State the contradiction explicitly:** "R3 requires X, but R7 requires Y. These cannot both be true because [reason]."
3. **Propose resolution options:**
   - Option A: Prioritize R3 (drop R7 or modify it)
   - Option B: Prioritize R7 (drop R3 or modify it)
   - Option C: Split into phases (R3 in v1, R7 in v2)
   - Option D: Merge into a new requirement that satisfies both constraints
4. **Record the decision:**
   - **Decision owner:** [name or role — must be a real person who provided the decision. If unknown, write `PENDING (ask user)` and STOP.]
   - **Chosen option:** A / B / C / D
   - **Rationale:** [1 sentence]
5. **Do NOT proceed until recorded.** Unresolved contradictions block Phase 2.

⛔ **Never invent a decision owner.** If no stakeholder has weighed in, the decision is PENDING. Do not fabricate a name or role to unblock yourself.

## Output Format

```markdown
## Requirements Validation Report

### Passed
- R1: [requirement] — Falsifiable ✅ Measurable ✅ Independent ✅
- R2: [requirement] — Falsifiable ✅ Measurable ✅ Independent ✅

### Failed (Needs Revision)
- R3: [requirement] — Measurability ❌ (gradient language: "improve")
  - Suggested revision: [specific, measurable version]

### Contradictions Found
- R4 vs R6: [description of conflict]
  - Resolution options: A / B / C / D
  - Decision owner: [name/role — or PENDING (ask user)]
  - Chosen option: [A/B/C/D — or PENDING]
  - Rationale: [1 sentence — or PENDING]
```

## Common Failure Patterns

| Pattern | Example | Fix |
|---------|---------|-----|
| Gradient language | "Improve the UX" | Add threshold: "Task completion time < 30s" |
| Compound requirements | "Fast AND flexible AND secure" | Split into 3 independent requirements |
| Implementation as requirement | "Use Redis for caching" | Restate as need: "Cache layer with <10ms reads" |
| Negative-only | "Don't break existing behavior" | State positive: "All existing tests pass" |

## Example

```bash
# Check that all requirements have acceptance criteria
grep -c "GIVEN.*WHEN.*THEN" requirements.md || echo "⚠️ Missing acceptance criteria"
# Verify testability: each requirement maps to at least one test
grep -rn "describe\|it(" test/ --include="*.ts" | wc -l
```

## Failure Modes

| Failure | Fix |
|---------|-----|
| Resolved contradictions silently without surfacing to user | Hard gate: ALL contradictions go to user with options, never resolve silently |
| Accepted vague requirements (fast, secure) as testable | Apply falsifiability test: if you cannot write a test that fails, it is not testable |
| Skipped independence test, creating hidden coupling | Check: can each requirement be implemented/verified without the others? |
| Validated requirements against assumptions instead of stated constraints | Cross-reference ONLY what the user stated, not what you inferred |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…