// Creates a detailed technical design document from a product opportunity through collaborative workshopping. Use this when the user wants to create a technical spec, design document, or needs to plan a new feature or project through an interactive process with discovery, alternatives exploration, and iterative feedback before finalizing.
| name | technical-design-document |
| description | Creates a detailed technical design document from a product opportunity through collaborative workshopping. Use this when the user wants to create a technical spec, design document, or needs to plan a new feature or project through an interactive process with discovery, alternatives exploration, and iterative feedback before finalizing. |
Guide users through creating a comprehensive technical design document from a product one-pager through an interactive, workshop-style conversation.
Follow these phases sequentially, adapting based on project context:
Accept input in any format:
Clarification protocol:
Scan the project environment:
# Check current directory structure
ls -la
# Read key documentation files
cat README.md agents.md claude.md 2>/dev/null
Present findings:
Ask user: "Is there anything important I'm missing or should know before we proceed?"
Wait for confirmation before advancing.
Work collaboratively to define boundaries. This is the most important phase.
Define In-Scope features:
Define Out-of-Scope items:
Important constraints:
Interaction style:
Example question: "Which features are most critical for V1? A) User authentication + basic CRUD (faster launch) B) Authentication + CRUD + search (more complete) C) Just CRUD operations (minimal viable) D) Something else - what would you prioritize?"
For existing projects:
For new projects, prefer:
When multiple options exist:
Example: "Database approach for this project? A) PostgreSQL (relational, robust, slightly more setup) B) SQLite (simple, file-based, perfect for small scale) C) MongoDB (flexible schema, good for rapid iteration)"
Create a structured document with these sections:
1. Overview
2. Scope
3. Architecture
4. Technology Stack
5. Data Model (if applicable)
6. API/Interface Design (if applicable)
7. Implementation Considerations
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ
โ Frontend โโโโโโโโโโถโ API Layer โ
โ (React) โโโโโโโโโโโ (Node.js) โ
โโโโโโโโโโโโโโโ โโโโโโโโฌโโโโโโโโ
โ
โโโโโโโโผโโโโโโโโ
โ Database โ
โ (PostgreSQL) โ
โโโโโโโโโโโโโโโโ
Concise and focused:
What to include:
What to omit:
You have sufficient information when you can clearly answer:
Stop asking questions once these are answered. Write the technical design document.
Be collaborative, not interrogative:
Efficiency over completeness:
AI-First documentation:
User: "I want to build a note-taking app with AI-powered search"
Claude: "I'll help you create a technical spec for that. Let me first
check what's in your current project folder..."
[Runs discovery commands]
Claude: "I see you have an empty project folder. This will be a fresh
start. Before we scope this out, is there anything about your existing
infrastructure or constraints I should know?"
User: "No, starting fresh"
Claude: "Great. For the AI-powered note-taking app, which features are
most critical for the first version?
A) Basic notes + AI semantic search (core functionality)
B) Notes + AI search + tagging/folders (more organized)
C) Notes + AI search + collaboration (multi-user focus)
D) Something else - what's your priority?"
[Continues workshop through phases...]