Agent skill
ears-requirements
Write and rewrite textual system requirements using EARS (Easy Approach to Requirements Syntax). Use when converting ambiguous natural-language requirements into structured statements, classifying requirements into EARS patterns, or reviewing requirement quality for missing triggers, states, and measurable responses.
Install this agent skill to your Project
npx add-skill https://github.com/hexbee/hello-skills/tree/main/skills/ears-requirements
SKILL.md
Ears Requirements
Overview
Transform requirement drafts into concise EARS-compliant statements, preserving intent while reducing ambiguity.
Workflow
- Extract requirement intent from user input.
- Identify the correct EARS pattern:
- Ubiquitous
- State-driven
- Event-driven
- Optional-feature
- Unwanted-behavior
- Complex combinations
- Rewrite each requirement using strict clause order and one clear system response.
- Run a quality pass for measurability, testability, and missing conditions.
- Return:
- Rewritten requirement(s)
- Pattern label for each
- Brief rationale if pattern choice could be disputed
Authoring Rules
- Keep one requirement per statement.
- Use exactly one explicit system subject (for example: "the ATM").
- Use
shallfor mandatory behavior. - Prefer observable outcomes over implementation details.
- Keep conditions explicit; avoid implied triggers or hidden states.
- Avoid weak phrases such as "as appropriate", "if possible", "etc.".
- If numeric limits or timing are unknown, add a clear placeholder token (for example:
<MAX_LATENCY_MS>).
EARS Clause Order
Apply only the clauses needed by the chosen pattern, always in this order:
While <state/precondition>, when <trigger>, the <system> shall <response>
Use unwanted behavior pattern as:
If <undesired trigger>, then the <system> shall <response>
For pattern definitions and examples, read references/ears-patterns.md.
Scripts
Use scripts/validate_ears.py to classify pattern and catch syntax/quality issues quickly.
Single requirement:
python3 scripts/validate_ears.py --requirement "When mute is selected, the laptop shall suppress all audio output."
Batch file (one requirement per line):
python3 scripts/validate_ears.py --file requirements.txt
Machine-readable output:
python3 scripts/validate_ears.py --file requirements.txt --json
Quality Gate
Before finalizing, verify each requirement:
- Is testable with a pass/fail criterion.
- Has unambiguous actor, condition, and response.
- Uses consistent terminology with no synonym drift.
- Avoids combining multiple independent behaviors unless explicitly complex.
- Matches the selected EARS pattern.
If any check fails, provide a corrected version and explain the minimal change made.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
analogy-commentary
Turn source content into a familiar analogy framework, then produce concise commentary angles and a short take. Use when the user asks whether a post, article, speech, or idea is “like” a known story, theory, faction, historical pattern, or strategic lens.
deep-productivity
Master deep work productivity through the three types of work framework (Building, Maintenance, Recovery). Use when user needs to: (1) Build a sustainable deep work routine with just 1 hour/day, (2) Create vision/anti-vision for life direction, (3) Structure goals using the 10-year → 1-year → 1-month → 1-week hierarchy, (4) Apply project-based learning to bridge skill gaps, (5) Identify lever-moving tasks that actually progress goals, (6) Balance focus work with necessary recovery for creativity.
multi-agent-systems
Design and implement multi-agent LLM architectures using the orchestrator-subagent pattern. Use when: (1) Deciding whether to use multi-agent vs single-agent systems, (2) Implementing context isolation for high-volume operations, (3) Parallelizing independent research tasks, (4) Creating specialized agents with focused tool sets, (5) Building verification subagents for quality assurance, or (6) Analyzing context-centric decomposition boundaries.
agent-first-product-strategy
Reframe AI product and SaaS strategy from human-user assumptions to agent-first execution. Use when redefining product positioning, success metrics, API/docs priorities, go-to-market, or roadmap decisions for an AI-native market where agents are primary software users.
claim-ledger
将研究与写作中的主张转成“Claim-Evidence-Boundary”可核验账本。用于在产出前强制补齐证据、反证、边界与可发布性判断,防止无依据断言并提升复用性。
debog-yourself
Help users identify and escape psychological traps that are holding them back. Use when user feels stuck, unable to progress, facing a deadlock, or experiencing decision paralysis. Provide diagnostic frameworks and specific strategies to help users understand which trap pattern they're in and find a path forward.
Didn't find tool you were looking for?