requirements-testing

Derive test cases from requirements, use cases, and business rules before development.

23|1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/jdm4pku/RE-Skills --skill requirements-testing-jdm4pku
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: requirements-testing
Source: https://github.com/jdm4pku/RE-Skills/tree/main/skills/requirements-testing
Command: npx skills add https://github.com/jdm4pku/RE-Skills --skill requirements-testing-jdm4pku

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Requirements often contain vague terms like "fast" or "user-friendly" that cannot be verified, and defects in requirements are only discovered after code is written. This Skill derives concrete test cases directly from requirements documents before development begins, exposing ambiguity, incompleteness, and untestable statements early. ## Core Features & Use Cases - Fit Criteria Definition: Converts vague quality requirements into measurable thresholds (e.g., response time <= 3 seconds) so every requirement is objectively verifiable. - Multi-Source Test Derivation: Generates Given/When/Then test cases from use case flows, functional "shall" statements, business rules, state models, and data dictionary constraints, including boundary and exception coverage. - Requirements Gap Detection: Uses the discipline of writing concrete test steps to surface missing or ambiguous requirements, documenting each gap with a suggested resolution. - Use Case: Before handing a specification to developers, a business analyst derives acceptance tests from each use case and requirement, discovering that an expiration-date rule never defines whether same-day assignments are allowed — a gap routed back to the requirements author. ## Quick Start Derive acceptance test cases from my use case document and functional requirements, flagging any requirements that lack measurable fit criteria.

Frequently Asked Questions about requirements-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I derive test cases from requirements before development?▼

Write one test per use case main flow, alternate flow, and exception flow, plus positive, negative, and boundary tests for each functional requirement. Use the Given/When/Then format with concrete preconditions, actions, and expected results.

What is a fit criterion in requirements engineering?▼

A fit criterion is a quantified, measurable threshold that makes a requirement objectively verifiable. For example, "the system shall be fast" becomes "search results display within 3 seconds for up to 1000 records."

How do I make vague requirements like "user-friendly" testable?▼

Replace subjective terms with measurable fit criteria, such as "a new user completes the core task within 5 minutes without training." If stakeholders cannot define measurable criteria, facilitate a discussion to establish specific thresholds.

Why write test cases before any code exists?▼

Writing tests from requirements validates testability, exposes ambiguity, and reveals missing requirements early. Tests written after development only validate the implementation, coding requirements defects into the system.

What boundary values should requirements-based tests cover?▼

For every constrained field, test minimum, minimum-1, maximum, maximum+1, zero, empty, and null values. Boundary testing frequently exposes gaps such as undefined same-day comparisons or unhandled special cases.