doc-ears

Create formal EARS Layer 3 requirements documents using WHEN-THE-SHALL-WITHIN syntax.

16|3|Updated Nov 10, 2025
One-click install
npx skills add https://github.com/vladm3105/aidoc-flow-framework --skill doc-ears
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-ears
Source: https://github.com/vladm3105/aidoc-flow-framework/tree/main/.claude/skills/doc-ears
Command: npx skills add https://github.com/vladm3105/aidoc-flow-framework --skill doc-ears

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill creates EARS (Easy Approach to Requirements Syntax) documents that formalize requirements using the WHEN-THE-SHALL-WITHIN pattern for clearer behavior specification.

Core Features & Use Cases

  • Define event-driven, state-driven, or ubiquitous requirements
  • Link to BRD/PRD and traceability artifacts
  • Prepare precise acceptance criteria

Quick Start

Write an EARS document that specifies a requirement like "WHEN event occurs, THE system SHALL respond WITHIN X".

Frequently Asked Questions about doc-ears

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

FAQPage Schema
How do I formalize requirements using EARS syntax with WHEN-THE-SHALL-WITHIN patterns?

EARS (Easy Approach to Requirements Syntax) formalizes requirements by structuring them as event-driven, state-driven, or ubiquitous statements using the WHEN-THE-SHALL-WITHIN pattern. This syntax clarifies system behavior: WHEN an event occurs, THE system SHALL respond with a specific action WITHIN a defined timeframe, creating precise, testable acceptance criteria and traceability links to BRD and PRD artifacts.

What are the prerequisites for creating EARS Layer 3 requirements documents?

Creating EARS Layer 3 requirements documents requires existing upstream artifacts—BRD (Business Requirements Document) and PRD (Product Requirements Document)—with no placeholders. The Skill enforces template binding, schema validation, and creation rules, so source documents must be complete and properly formatted to translate into formal behavioral statements.

Can I use EARS requirements for acceptance criteria and traceability in SDD workflows?

Yes. EARS Layer 3 requirements fit directly into SDD (Systems Design Document) workflows as formal acceptance criteria. The Skill produces downstream artifacts—BDD (Behavior-Driven Development), ADR (Architecture Decision Records), and SYS (system specifications)—while enforcing traceability and validation rules, ensuring requirements remain linked across the specification lifecycle.

What's the difference between EARS and informal requirement writing?

EARS imposes formal syntax structure—WHEN-THE-SHALL-WITHIN templates—that eliminates ambiguity and makes requirements machine-validatable against schemas and rules. Informal writing lacks this rigor, making traceability, automated validation, and downstream artifact generation difficult. EARS ensures every requirement is testable and traceable to source artifacts.

Do I need prior knowledge of formal requirement specification to write EARS documents?

Understanding EARS syntax—the WHEN-THE-SHALL-WITHIN pattern and event/state/ubiquitous categories—is essential; the Skill automates template binding and schema validation but requires you to structure requirements correctly. Familiarity with requirements traceability and acceptance criteria helps, though the syntax itself is designed for clarity and reduces learning overhead.

What happens if my upstream BRD or PRD contains placeholders or incomplete sections?

The Skill requires upstream artifacts with no placeholders and enforces validation rules that reject incomplete or malformed source documents. Placeholders will cause schema validation failures, preventing Layer 3 document creation. Ensure all BRD and PRD sections are finalized before translating them into EARS Layer 3 requirements.