Philosophy
SuperSpec is built on core principles derived from observing AI-assisted development practices.
Spec-First
Principle
In the AI era, specifications matter more than code.
Code can be quickly generated by AI, but correct specifications ensure correct code.
Practice
Traditional: Requirements → Code → Docs (often skipped)
SuperSpec: Requirements → Spec → Code (docs included)Why It Works
- Reduce ambiguity - Structured specs eliminate misunderstanding
- Verifiable - Clear acceptance criteria
- Traceable - Complete chain from requirements to code
Context Economy
Principle
AI context window is a scarce resource that must be used efficiently.
Practice
| Constraint | Rule | Reason |
|---|---|---|
| File size | ≤ 300 lines | Fits context window |
| File count | Minimize | Reduce switching |
| Content density | High information | Avoid redundancy |
Why 300 Lines
Typical AI context: 8K-128K tokens
Optimal file size: 300 lines ≈ 1.5K tokens
Leaves room for: Chat history + code generation + tool outputDual-Mode Workflow
Principle
Different tasks need different levels of specification.
Practice
Standard Mode - Quick iteration
- For: Bug fixes, small features, prototypes
- Artifacts: proposal.md + tasks.md
- Time: Minutes
Boost Mode - Complete specification
- For: Complex features, reviews, collaboration
- Artifacts: + spec.md + design.md + checklist.md
- Time: Hours
Selection Guide
Feature Complexity
│
├─ Low ──→ Standard Mode
│
├─ Medium ──→ Standard + manual additions
│
└─ High ──→ Boost ModeProgressive Adoption
Principle
Tools should adapt to teams, not teams to tools.
Practice
Level 0: Proposal only
superspec create myFeature
# Just use proposal.md to capture ideasLevel 1: + Tasks
/ss-tasks
# Add task trackingLevel 2: Complete workflow
superspec create myFeature -b
# Use boost mode, full processLevel 3: Team collaboration
# Configure team templates
# Integrate CI/CD
# Automate checksIn-Context Learning Support
Principle
Cross-session context continuity is key to AI development.
Problem
Session 1: Implemented user auth
Session 2: AI doesn't know about Session 1
Session 3: Repeating explanations...Solution
# End of session
superspec sync # Save git changes to context.md
# Start of session
/ss-resume # AI reads context.md, restores contextHow It Works
context.md = git diff + git status + current task statusAI reads context.md to quickly understand:
- Current project state
- Completed work
- Pending tasks
Local-First
Principle
All data should be stored in the project, version controlled with code.
Practice
project/
├── .superspec/ # All SuperSpec data
│ ├── changes/ # Change records
│ └── archive/ # Historical archives
├── src/ # Source code
└── .git/ # Version controlBenefits
- Privacy - Data never leaves local
- Version Control - Managed with code
- Portable - Project contains all info
- Offline - No network required
Summary
SuperSpec's philosophy:
Spec-First + Context Economy + Dual-Mode + Progressive + In-Context Learning + Local-FirstTogether forming a toolkit optimized for AI-assisted development.
Next Steps
- Quick Start - Try it now
- Core Concepts - Learn more about SDD