The Agentic Startup follows spec-driven development: comprehensive specifications before code, ensuring clarity and reducing rework.
All Commands at a Glance
```
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β SETUP (optional) β
β β
β /start:constitution βΊ Create project governance rules β
β (auto-enforced in BUILD workflow) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β BUILD (primary flow) β
β β
β /start:specify βββββΊ Create specs (PRD + SDD + PLAN) β
β β β³ Constitution checked on SDD β
β βΌ β
β /start:validate ββββΊ Check quality (3 Cs framework) β
β β β³ Constitution mode available β
β βΌ β
β /start:implement βββΊ Execute plan phase-by-phase β
β β β³ Constitution + drift enforced β
β βΌ β
β /start:review ββββββΊ Multi-agent code review β
β β β³ Constitution compliance checked β
β βΌ β
β /start:document ββββΊ Generate/sync documentation β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β MAINTAIN (as needed) β
β β
β /start:analyze βββββΊ Discover patterns & rules β
β β
β /start:refactor ββββΊ Improve code (preserve behavior) β
β β
β /start:debug βββββββΊ Fix bugs (root cause analysis) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
```
Step-by-Step Walkthrough
#### Step 1: Create Your Specification
```bash
/start:specify Add real-time notification system with WebSocket support
```
This creates a specification directory with three documents:
```
docs/specs/001-notification-system/
βββ product-requirements.md # What to build and why
βββ solution-design.md # How to build it technically
βββ implementation-plan.md # Executable tasks and phases
```
The spec cycle may take 15-30 minutes. Claude will research your codebase, ask clarifying questions, and produce comprehensive documents. The process naturally involves multiple back-and-forth exchanges.
#### Step 2: Handle Context Limits (Resume Pattern)
Large specifications may approach Claude's context window limits. When this happens:
```bash
# Start a new conversation and resume where you left off
/start:specify 001
```
The resume pattern:
- Pass the spec ID (e.g.,
001) instead of a description - Claude reads the existing spec files and continues from there
- You can reset context as many times as needed
- Each document (PRD β SDD β PLAN) can be completed in separate sessions if needed
Pro tip: If Claude suggests "you may want to reset context", do it! The quality of output improves with fresh context.
#### Step 3: Validate Before Implementation
```bash
/start:validate 001
```
This quality gate checks:
- Completeness - All sections filled, no missing details
- Consistency - No contradictions between documents
- Correctness - Requirements are testable and achievable
Validation is advisoryβit provides recommendations but doesn't block you.
#### Step 4: Execute the Implementation
```bash
/start:implement 001
```
Claude will:
- Parse the implementation plan
- Execute phases sequentially (with your approval between phases)
- Run tests after each task
- Use parallel agents within phases for speed
Large implementations may also need context resets. Simply run /start:implement 001 again in a fresh conversationβClaude tracks progress in the spec files.
#### Step 5: Review and Ship
```bash
/start:review
```
Four parallel specialists review your code:
- π Security - Authentication, authorization, input validation
- β‘ Performance - Query optimization, memory management
- β¨ Quality - Code style, design patterns, maintainability
- π§ͺ Tests - Coverage gaps, edge cases
---