Skip to main content
AnalysisOfficialCertifiedReviewed Jul 21, 2026

Requirements Verification

v1.0.23 installs

Install this skill

No account required. Pick your tool, then copy.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install requirements-verification

What this does: Autonomous requirements analysis agent. Parses a spec file (SPEC.md, requirements doc, or any plain-text specification) and runs a structured pass to surface logical contradictions, ambiguous requirements, and underdefined gaps — before any implementation begins. Use when the user has a spec or requirements doc and asks to check it for contradictions, ambiguity, or gaps before implementation starts.

Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/requirements-verification/SKILL.md

Setup guide →

Cursor

~/.cursor/skills/requirements-verification/SKILL.md

Setup guide →

Codex CLI

~/.codex/skills/requirements-verification/SKILL.md, or reference via codex.md instructions file

Setup guide →

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
Key
skills-hub-ed25519-2026-11
Signed
0Save

Instructions

You are an autonomous requirements verification agent. Do NOT ask the user questions. Read the spec, analyze it, and output a structured report.

TARGET SPEC:
$ARGUMENTS


PHASE 1: INGEST AND PARSE


  1. Read the target file completely.

  2. Extract every discrete requirement statement. A requirement is any sentence or clause that describes behavior the system must exhibit, must not exhibit, or may exhibit. Include:

    • Explicit "must / shall / will / should / must not" statements
    • Implicit behavioral claims ("users can X", "the system displays Y")
    • Constraint clauses ("within N seconds", "no more than N", "at least N")
    • State transition descriptions
    • Error / edge case handling descriptions
  3. Number each requirement as R-001, R-002, ... and record:

    • Source section (heading + line reference if available)
    • The exact text
    • The normalized form (restate as a testable proposition: subject → action → condition)

Output the numbered list before proceeding. This is your working set.


PHASE 2: CONTRADICTION DETECTION


For each pair of requirements, check whether their normalized forms can simultaneously be true. Flag a contradiction when:

  • Two requirements assert mutually exclusive states for the same subject
    (e.g., "records are deleted" vs. "records are retained")
  • Two requirements assign incompatible values to the same attribute
    (e.g., "response time < 100ms" vs. "response time < 2s" is fine; "response is cached 24h" vs. "response is always fresh" is a contradiction)
  • A requirement implies a precondition that another requirement explicitly forbids
    (e.g., "users can re-activate a deleted account" requires the account to exist after deletion; if another requirement says "deletion is permanent and irreversible", that's a contradiction)
  • Two requirements describe the same trigger but different outcomes
    (e.g., "on payment failure, retry 3 times" vs. "on payment failure, immediately return error to user")

For each detected contradiction:

  • Label it CONTRADICTION-N
  • Cite both requirements by ID and section
  • State the logical conflict precisely (one sentence)
  • Offer two resolution options: Option A and Option B

PHASE 3: AMBIGUITY DETECTION


Flag a requirement as ambiguous when its normalized form has at least two distinct, plausible interpretations that would produce different implementation behavior. Common patterns:

  1. SCOPE AMBIGUITY — "users can update their profile" (which fields? all? a subset? with or without password re-entry?)
  2. TIMING AMBIGUITY — "the system sends a confirmation email" (immediately on action? after background processing? with what delay guarantee?)
  3. ACTOR AMBIGUITY — "admins can delete users" (any admin? only superadmins? does the deleted user get notified?)
  4. FAILURE-MODE AMBIGUITY — "returns an error if the request is invalid" (which HTTP status? what response body? are partial inputs attempted or rejected?)
  5. CARDINALITY AMBIGUITY — "a user can have multiple roles" (unlimited? capped? can roles overlap? can they conflict?)

For each detected ambiguity:

  • Label it AMBIGUITY-N
  • Cite the requirement ID and section
  • State the two (or more) diverging interpretations as Interpretation A / Interpretation B
  • Ask the clarifying question that would resolve it (yes/no or multiple-choice preferred)

PHASE 4: GAP DETECTION


Flag a gap when:

  • A requirement references a state, entity, or behavior that is never defined elsewhere in the spec
    ("returns a 422 Unprocessable Entity" — what is the response body structure?)
  • An error case is described without specifying the expected system response
  • A flow references a downstream step that is not present in the spec
  • A constraint is given for the happy path but no constraint or behavior is specified for failure paths
  • A referenced external system or integration is named but its contract is not described

For each gap:

  • Label it GAP-N
  • Cite the requirement ID
  • Describe what is missing in one sentence
  • Flag as BLOCKING (implementation cannot proceed without this) or NON-BLOCKING (a reasonable default exists)

PHASE 5: CONSISTENCY CHECKS


Run these cross-cutting checks regardless of individual requirement issues:

  1. NAMING CONSISTENCY — Does the spec use the same noun for the same entity throughout? Flag if the same concept is called by multiple names (e.g., "user", "account holder", "member", "customer" used interchangeably).

  2. COMPLETENESS OF STATE MACHINE — If the spec describes a state machine or lifecycle (order states, user states, etc.), verify every state has defined entry and exit transitions.

  3. CONSTRAINT MONOTONICITY — If numeric constraints appear (rate limits, timeouts, sizes), verify they don't contradict each other across sections.

  4. PERSONA COVERAGE — If the spec defines user roles or personas, verify every role's permissions are consistently described and no role can perform an action the spec explicitly forbids for that role.


OUTPUT FORMAT


Requirements Verification Report

Spec: [filename or title]
Requirements parsed: [count]
Issues found: [contradictions: N | ambiguities: N | gaps: N | consistency: N]


Contradictions

[CONTRADICTION-1]
Requirements: R-XXX (§section) × R-YYY (§section)
Conflict: [one-sentence description]
Resolution options:

  • Option A: [concrete resolution]
  • Option B: [concrete resolution]

[repeat for each contradiction]


Ambiguities

[AMBIGUITY-1]
Requirement: R-XXX (§section): "[exact text]"
Interpretations:

  • A: [interpretation]
  • B: [interpretation]
    Clarifying question: [yes/no or multiple-choice question]

[repeat for each ambiguity]


Gaps

[GAP-1]
Requirement: R-XXX (§section)
Missing: [what is not defined]
Blocking: YES / NO

[repeat for each gap]


Consistency Issues

[list any naming, state machine, constraint, or persona issues]


Implementation Readiness

READY TO IMPLEMENT: YES / NO / CONDITIONAL

If NO or CONDITIONAL, list the BLOCKING issues that must be resolved first.
List NON-BLOCKING issues as recommended fixes but not gates.


Suggested Spec Amendments

For each BLOCKING issue, draft the minimal amendment text that would resolve it. Present as:

AMENDMENT for [ISSUE-ID]:
[Draft text to insert or replace in the spec]


STRICT RULES


  • Never implement anything. Your job is analysis only.
  • Never ask the user for clarification during analysis. Flag the ambiguity and present options — the user resolves.
  • Never skip a requirement because it seems obvious. Implicit requirements are the most dangerous.
  • If the spec is empty or the file does not exist, report that clearly and exit.
  • Report all issues found. Do not filter to "the most important" — that judgment belongs to the engineer.
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
design-animateAdd purposeful motion with modern CSS (scroll-driven animations, view transitions, @starting-style) or Flutter implicit animations, with reduced-motion support. Triggers: add animation, animate, add motion, transitions, scroll animation.86 installsdesign-auditRead-only design quality audit (WCAG 2.2 accessibility, performance, theming, responsive, anti-patterns) with scored, prioritized fixes. Triggers: 'audit design', 'check accessibility', 'a11y audit', 'design review', 'UI quality check'.64 installsdiagramGenerate Mermaid architecture diagrams from the codebase: C4 context/container, sequence diagrams for key flows, ER from schemas, module dependency graphs. Triggers: 'architecture diagram', 'ERD', 'sequence diagram', 'dependency graph', 'C4 diagram'.61 installssecureRead-only full-stack security posture assessment with a 0-100 risk score: dependency CVEs, dangerous code patterns, auth gaps, config and secrets, PII handling; routes to deeper skills. Triggers: 'security posture', 'how secure is this', 'security scan', 'risk score'.61 installsdesign-polishFinal quality pass before shipping: fixes alignment, spacing, type hierarchy, color consistency, interactive states and motion timing to match the existing design language. Triggers: 'polish the UI', 'make it pixel perfect', 'final design pass'.60 installscode-smellScan a codebase for Fowler's code smells (god classes, long methods, feature envy, data clumps, primitive obsession, shotgun surgery, message chains) and rank refactorings by impact. Triggers: 'code feels messy', 'before a refactor', 'find maintainability problems'.53 installs

More from Skills Hub

View source →
security-reviewEvidence-based security audit of a codebase: auth and authz gaps, IDOR, JWT/OAuth flaws, injection, data exposure, secrets and session issues, with exploit scenarios and fixes. Triggers: security review, audit auth, find vulnerabilities.207 installsunit-testFind untested code, write unit tests covering edge cases, error paths and boundaries in the project's own style, run them and fix failures. Triggers: add unit tests, increase coverage, test edge cases, test error handling.178 installsweb-gameScaffold a production-ready browser game (Phaser, PixiJS or Three.js) with Vite, TypeScript, input, audio, saves, responsive canvas and itch.io/PWA deploy. Triggers: web game, browser game, html5 game, phaser game, pixi game, three.js game.144 installshumanizerRewrite AI-drafted content so it reads human: cut filler and hedging, vary sentence length, curb em dashes, add specifics and voice. Triggers: humanize this, remove AI tells, sounds like ChatGPT, make it sound human.143 installsdesign-to-codeTurn a design into production frontend code in four phases: design-system tokens and components, responsive layout, dark mode, then a UX audit that fixes what it finds. Triggers: implement this design, Figma to code, design to code, build the UI from this.134 installsflutterBuild a complete Flutter app from a video, screenshots, description or /mvp output, matching the observed UI and flows, with tests. Triggers: flutter app, build a mobile app, build from video/screenshots, clone this app, make an app like, recreate this UI.131 installs

More Analysis skills

Browse category →
web-research-agentA comprehensive autonomous web research agent that performs targeted searches, fetches and parses web content, summarizes findings, and generates structured reports, adhering to industry best practices for accuracy, security, and robustness.245 installsrecallReconstructs the development cycle from git history, distills sequential/parallel patterns, and produces actionable insights for improving future iterations. Triggers: recall, retrospective, development analysis, what happened, dev cycle analysis.20 installsseoAutonomous SEO + AI-search optimization agent for 2026. Audits and fixes technical SEO, on-page metadata, structured data, Core Web Vitals (LCP/INP/CLS), llms.txt, Generative Engine Optimization (GEO) for ChatGPT/Perplexity/AI Overviews, E-E-A-T author signals. Use when the user asks to 'improve SEO', 'get cited by ChatGPT or AI Overviews', 'fix Core Web Vitals', or 'add structured data' to a site.10 installsapp-size-optimizerAnalyzes mobile app binary size -- asset audit for unused images and font subsetting, code stripping with ProGuard and tree-shaking, on-demand resources, dynamic feature modules, and app thinning strategies. Use when the user says their APK, AAB, or IPA is too big, asks to reduce app download size, or mentions ProGuard, app thinning, or unused assets.6 installsbilibili-comment-insights当用户需要做 B站评论分析、B站评论洞察、B站用户反馈分析、B站需求挖掘、痛点总结、购买顾虑整理、FAQ 提炼、口碑分析、评论回复观察或内容讨论复盘时使用。基于用户提供的 B站视频、专栏、动态链接或对应内容 ID 下的评论结果,面向内容运营、产品调研、品牌调研和创作者。由社媒数据助手 SocialDataX 提供。5 installsbundle-analysisAnalyze frontend bundle size, detect heavy dependencies, find duplicates, evaluate tree-shaking, recommend code splitting, and generate size budget configs. Triggers: phrases: "analyze bundle size", "why is my bundle so big", "find heavy dependencies", "reduce bundle size".5 installs

Frequently asked questions about requirements-verification

What does the requirements-verification skill do?

Autonomous requirements analysis agent. Parses a spec file (SPEC.md, requirements doc, or any plain-text specification) and runs a structured pass to surface logical contradictions, ambiguous requirements, and underdefined gaps — before any implementation begins. Use when the user has a spec or requirements doc and asks to check it for contradictions, ambiguity, or gaps before implementation starts. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the requirements-verification skill?

Run `npx @skills-hub-ai/cli install requirements-verification` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/requirements-verification/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does requirements-verification work with?

requirements-verification runs in Claude Code, Cursor, Codex CLI. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the requirements-verification skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use requirements-verification after installing it?

In Claude Code, type `/requirements-verification` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the requirements-verification skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.