ワンクリックで
spec-dev
Develop precise specifications through Socratic dialogue, EARS notation, and Mermaid diagrams
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Develop precise specifications through Socratic dialogue, EARS notation, and Mermaid diagrams
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Audit and set up a codebase for agentic AI development using the 16-principle manifesto
Reviews code for architectural compliance and design integrity
Injects mistake-derived test requirements into the TDD pipeline
Clusters similar lessons and synthesizes testable patterns
Reviews UI code for design quality against the build-great-things quality checklist. Conditional — only activates when the Verification Contract includes design_craft_check evidence.
Analyzes repository structure, conventions, and patterns
| name | Spec Dev |
| description | Develop precise specifications through Socratic dialogue, EARS notation, and Mermaid diagrams |
| phase | spec-dev |
Develop unambiguous, testable specifications before implementation. Structured 4-phase process producing EARS-notation requirements, architecture diagrams, and a beads epic.
Scale formality to risk: skip for trivial (<1h), lightweight (EARS + epic) for small, full 4-phase for medium+. Use AskUserQuestion early to gauge scope.
Goal: Map the problem domain before narrowing.
ca search for past features, constraints, decisionsca knowledge "relevant terms".Codex/agents/compound/repo-analyst.md, memory-analyst.md, or subagent_type: Explore)/get-a-phdmindmap) -- makes implicit assumptions visibleAskUserQuestion to clarify scope and preferencesIteration trigger: If research reveals the problem is fundamentally different, restart Explore.
Goal: Crystallize requirements through Socratic dialogue.
sequenceDiagram, stateDiagram-v2) to expose hidden structurereferences/spec-guide.md for full checklistAskUserQuestion to resolve each ambiguityIteration trigger: If specifying reveals missing knowledge, loop back to Explore.
Goal: Produce formal, testable requirements.
Write each requirement using EARS notation:
The system shall <action>.When <trigger>, the system shall <action>.While <state>, the system shall <action>.If <condition>, then the system shall <action>.Where <feature>, the system shall <action>.Where > While > When > If/then > shallVerify each requirement: no vague adjectives, edge cases covered, quantities specified, testable
Document trade-offs when requirements conflict (see references/spec-guide.md)
Produce architecture diagrams (erDiagram, C4Context, flowchart)
Create ADRs in docs/decisions/ for significant decisions
Generate scenario table from EARS requirements and Mermaid diagrams:
| ID | Source | Category | Precondition | Trigger | Expected Outcome |
|---|---|---|---|---|---|
| S1 | R1 | happy | precondition | action | assertion |
Categories: happy, error, boundary, combinatorial, adversarial
Iteration trigger: If contradictions or gaps emerge, loop back to Understand.
bd create --title="..." --type=epic --priority=<N>)bd update <epic-id> --description="...") -- single source of truth, including both EARS requirements and scenario tableca learnca search before generating approachesca knowledge for indexed project docsca learn after corrections or discoveriesRead .Codex/skills/compound/spec-dev/references/spec-guide.md on demand for EARS patterns, Mermaid templates, ambiguity checklists, and trade-off frameworks.
ca search)AskUserQuestion at decisions