doc-ears

仓库创建 2025年11月10日最近提交 21 天前SkillHot 收录 21 天前
▸ 精选理由

将模糊需求正式化,便于后续自动测试与 BDD 使用。

这个 Skill 做什么

将 BRD/PRD 转换为原子化、可测试的 EARS 需求语句。

把 BRD/PRD 里模糊的功能描述拆成一条条可测试的 EARS 需求,用 WHEN–THE–SHALL–WITHIN 那种句式写清上下文、触发条件和期望行为。在产品需求已经有大纲、需要把功能交给实现或编写验收测试时用,能直接对接 BDD/测试用例。特色是把高层需求“原子化”,每条都能直接被开发和 QA 验证。

▸ 展开 SKILL.md 英文原文

Create EARS (Easy Approach to Requirements Syntax) formal requirements - Layer 3 of the SDD flow, translating PRD features into atomic, testable WHEN-THE-SHALL-WITHIN statements. Use after BRD and PRD exist.

开发编程EARS规格化BDD 准备Claude Code
16
Stars
3
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/vladm3105/aidoc-flow-framework/main/platforms/claude-code-plugin/skills/doc-ears/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/vladm3105/aidoc-flow-framework/main/platforms/claude-code-plugin/skills/doc-ears/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# doc-ears

## Purpose

Create an **EARS (Easy Approach to Requirements Syntax)** document — Layer 3 of
the SDD flow. EARS formalizes BRD/PRD requirements into precise, atomic, testable
statements using **WHEN-THE-SHALL-WITHIN** syntax, ready for BDD translation.

**Layer**: 3 — a refinement step formalizing the Context (BRD) → Container (PRD)
transition; it has no C4 level of its own.
**Upstream**: PRD (Layer 2). (Upstream BRD lineage is reachable transitively
via the @-tag chain per the necessary-upstream contract.)
**Downstream**: BDD → ADR → SPEC → TDD → IPLAN → Code.

Each EARS statement must be **testable** (Given-When-Then derivable),
**measurable** (quantifiable constraints), **trace
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有