negative-requirement

Derives negative scenarios from positive requirements and designs detection, recovery, and guidance strategies.

2|Updated Jun 8, 2026
One-click install
npx skills add https://github.com/HACK-WU/skills --skill negative-requirement-hack-wu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: negative-requirement
Source: https://github.com/HACK-WU/skills/tree/main/skills/negative-requirement
Command: npx skills add https://github.com/HACK-WU/skills --skill negative-requirement-hack-wu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Positive requirement analysis often overlooks what happens when users make mistakes, abandon flows midway, or encounter abnormal system states, leaving products fragile in real-world usage. This Skill systematically derives negative scenarios from confirmed positive requirements and designs concrete program behaviors for each one. ## Core Features & Use Cases - Negative Scenario Derivation: Analyzes seven scenario categories including user misoperation, parameter input errors, mid-flow abandonment, state anomalies, permission issues, data anomalies, and external dependency failures. - Risk Assessment and Prioritization: Scores each scenario by probability and impact, assigning P0-P3 priority levels so teams know what must be handled first. - Strategy Design with Structured Output: Produces prevention, detection, recovery, guidance, and fault-tolerance strategies plus UX copy for each scenario, delivered as a structured negative requirement report linked back to positive requirements. - Use Case: After requirement mining for a checkout flow, run this Skill to uncover scenarios like payment timeout, duplicate submission, and session expiry, each with defined program behavior and user-facing prompts. ## Quick Start Analyze the negative scenarios for my confirmed requirement list and design the detection, recovery, and user guidance strategies for each one.

Frequently Asked Questions about negative-requirement

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

FAQPage Schema
How do I analyze negative scenarios for software requirements?

Start from a confirmed positive requirement list and derive failure paths across seven categories: user misoperation, parameter errors, abandonment, state anomalies, permission issues, data anomalies, and external dependencies. Each scenario gets a risk rating and concrete program behavior design.

What is a negative requirement in requirements engineering?

A negative requirement defines how a program should behave when users make mistakes, abandon flows, or encounter abnormal states. It complements positive requirements by covering error handling, recovery, and user guidance rather than the happy path.

How are negative scenario risk levels prioritized?

Each scenario is scored on occurrence probability and impact severity, then mapped to P0 through P3 levels. P0 means high probability plus high impact and must be handled, while P3 is low probability and low impact and optional.

When should negative requirement analysis be skipped?

Skip it when no positive requirements exist yet, since scenarios must be derived from confirmed requirements rather than imagined. Run requirement mining first, then apply negative analysis as a supplement, not a replacement.

Can negative requirement output feed into test case design?

Yes, the structured scenario list with risk levels and expected program behaviors can be passed directly to test planning or interaction design workflows. Each scenario maps to testable detection and recovery behaviors.