design-driven-dev
БесплатноБез исполняемых скриптовНе проверенGuide for design-driven development with prescribed folder structure. New features use full workflow (HLD → LLD → EARS). Bug fixes skip doc creation but…
от ericmjl★ 45 звёзд на GitHubОб этом скилле
Design-Driven Development
This skill guides a structured design-driven development workflow. The goal is to get alignment on what you're building before writing code, which dramatically reduces rework and misunderstandings.
Critical Rule: Stop and Iterate
STOP after completing each phase. Present the document to the user for review. Incorporate their numbered feedback. Only proceed to the next phase when explicitly approved.
This is the most important part of the workflow. Don't rush through design to get to code.
DOCS_DIR Discovery
Before starting any design work, determine the documentation directory:
- Check for user configuration - Has the user specified a
DOCS_DIRenvironment variable or project config? - Default to
./docs/- This is the canonical location - Discovery scan - If not set, scan for
./docs/or./doc/directories:- If exactly one found, confirm with user: "Found docs directory at
X. Use this?" - If multiple found, ask: "Which docs directory should I use? Options: A, B"
- If exactly one found, confirm with user: "Found docs directory at
- Create if needed - If neither exists, ask: "Create
./docs/for design documents?"
Once determined, use DOCS_DIR as the root for all design documents.
Folder Structure
DOCS_DIR/
├── high-level-design.md # Single HLD for entire project
└── designs/
└── <feature-name>/
├── LLD.md # Low-level design for feature
├── <sub-feature-1>-EARS.md
├── <sub-feature-2>-EARS.md
└── ...
Example:
docs/
├── high-level-design.md
└── designs/
├── authentication/
│ ├── LLD.md
│ ├── login-EARS.md
│ ├── logout-EARS.md
│ └── password-reset-EARS.md
└── payments/
├── LLD.md
├── checkout-EARS.md
└── refunds-EARS.md
Workflow Overview
- High-Level Design (HLD) - Project vision and architecture →
DOCS_DIR/high-level-design.md - Low-Level Design (LLD) - Feature-specific technical design →
DOCS_DIR/designs/<feature>/LLD.md - EARS Specifications - Sub-feature requirements →
DOCS_DIR/designs/<feature>/<subfeature>-EARS.md
See hld-template.md for HLD structure guidance.
When to Use This Workflow
Consult this skill for ALL code changes.
Full workflow (create new docs) for:
- New features
- Major refactors
- Significant behavior changes
Coherence check only (skip doc creation) for:
- Bug fixes
- Quick changes (<30 minutes)
- Debugging sessions
Even when skipping doc creation, verify intent coherence: do existing specs, tests, and code align? If not, fix the docs before changing the code.
If unsure, use the full workflow. Over-designing is safer than under-designing.
Phase 1: High-Level Design
File: DOCS_DIR/high-level-design.md
Check if an HLD exists first. For new projects or major features, create an HLD covering:
- Problem statement and goals
- Target users and personas
- System architecture overview
- Key design decisions and trade-offs
- Non-goals (what's explicitly out of scope)
Required: Link to LLDs
## Related Designs
- [Authentication LLD](./designs/authentication/LLD.md)
- [Payments LLD](./designs/payments/LLD.md)
See hld-template.md for full structure with examples.
Stop and get user approval before proceeding.
Phase 2: Low-Level Design
File: DOCS_DIR/designs/<feature>/LLD.md
Create one LLD per major feature. Each LLD should include:
- Component overview and context
- Data models and interfaces
- API contracts (if applicable)
- Error handling and edge cases
- Dependencies
Required: Link to HLD and EARS
## Related Documents
- [High-Level Design](../high-level-design.md)
- [Login EARS](./login-EARS.md)
- [Logout EARS](./logout-EARS.md)
See lld-template.md for structure guidance, including when to use narrative vs. structured format.
Stop and get user approval before proceeding.
Phase 3: EARS Specifications
File: DOCS_DIR/designs/<feature>/<subfeature>-EARS.md
Generate requirements using EARS (Easy Approach to Requirements Syntax). Create one EARS file per sub-feature.
Required: Link to parent LLD
## Related Documents
- [Authentication LLD](./LLD.md)
See ears-syntax.md for full EARS syntax, semantic ID format, and scope disambiguation guidance.
Stop and get user approval before proceeding.
Cross-Document Linking Rules
HLD → LLD
HLD must link to all LLDs:
## Related Designs
- [Authentication LLD](./designs/authentication/LLD.md)
- [Payments LLD](./designs/payments/LLD.md)
LLD → HLD
LLD must link back to HLD:
## Related Documents
- [High-Level Design](../high-level-design.md)
LLD → EARS
LLD must link to all its EARS files:
## Requirements
- [Login Form EARS](./login-EARS.md)
- [Password Res
Установить design-driven-dev в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл design-driven-dev?
Guide for design-driven development with prescribed folder structure. New features use full workflow (HLD → LLD → EARS). Bug fixes skip doc creation but verify intent coherence.
Как установить скилл design-driven-dev?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл design-driven-dev запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic