بنقرة واحدة
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 المهني
Decompose a large system specification into cook-it-ready epic beads via DDD bounded contexts, with optional post-epic improvement loop configuration
Multi-agent review with lesson-calibrated reviewers, runtime verification, and severity classification
Comprehensive playbook for building world-class websites, landing pages, web applications, and dashboards. Covers the full build sequence from brand identity and information architecture through layout, typography, color, scroll animations, micro-interactions, hover effects, loading states, empty states, error handling, accessibility, SEO, and conversion optimization. Use this skill whenever building a new website or web app from scratch, redesigning pages (pricing, landing, portfolio), adding polish or animations, fixing generic-looking UI, improving visual hierarchy, or when the user says anything looks "janky", "generic", "amateur", or "needs more polish". Also use when adding hover states, scroll effects, page transitions, or doing a design review pass.
Reflect on the cycle and capture high-quality lessons for future sessions
Decompose work into small testable tasks with clear dependencies
Team-based TDD execution with adaptive complexity and agent delegation
| name | Spec Dev |
| description | Develop precise specifications through Socratic dialogue, EARS notation, and Mermaid diagrams |
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".claude/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 .claude/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