Product Epic
Target: MVP Launch (3-4 months) | Foundation: Constellation
Visionโ
"When AI writes your code, specifications become your source code."
Positioning:
- One-Liner: "Cursor is for writing code. Spec Doc is for writing the specs that tell AI what code to write."
- Tagline: "Write better specs, get better code."
MVP Goalโ
Build a functional spec authoring platform where users can:
- Sign in with GitHub
- Create spec (creates GitHub repo)
- View rendered spec (embedded GitHub Pages)
- Edit sections with AI assistance
- See changes committed to GitHub
Success: End-to-end flow works, AI edits produce quality Markdown, 10 alpha users iterate on specs.
Epic Breakdownโ
| Epic | Description | Duration | Dependencies |
|---|---|---|---|
| Epic 1 | User Management & Auth (GitHub OAuth) | 2 weeks | None |
| Epic 2 | GitHub Integration Core (API client) | 3 weeks | Epic 1 |
| Epic 3 | Project Management (CRUD) | 2 weeks | Epic 1, 2 |
| Epic 4 | Template System (Docusaurus) | 1 week | Epic 2 |
| Epic 5 | Spec Viewing (iframe + Pages) | 2 weeks | Epic 3, 4 |
| Epic 6 | AI-Assisted Editing | 3 weeks | Epic 2, 3, 5 |
| Epic 7 | Polish & Launch Prep | 1 week | All |
Total: 14 weeks (~3.5 months)
Epic Detailsโ
Epic 1: User Management & Auth (2 weeks)โ
- GitHub OAuth sign-in
- User profile with GitHub info
- Session management with JWT
- Tech: Extend
AuthenticationController, addGitHubOAuth2Service
Epic 2: GitHub Integration Core (3 weeks)โ
- Create repos via GitHub API
- Commit file changes
- Read file contents
- Enable GitHub Pages
- Tech: New
com.saas.springular.githubpackage
Epic 3: Project Management (2 weeks)โ
- Create project (creates GitHub repo)
- List projects dashboard
- Project details view
- Soft delete with archive
- Tech: New
com.saas.springular.projectpackage
Epic 4: Template System (1 week)โ
- Default Docusaurus template
- Template variable replacement
- Initial commit with structure
Epic 5: Spec Viewing (2 weeks)โ
- Embed GitHub Pages in iframe
- Table of contents navigation
- Build status indicator
Epic 6: AI-Assisted Editing (3 weeks)โ
- Select section to edit
- AI rewrite with instruction
- Preview before commit
- Edit history (links to GitHub)
- Tech: AI provider abstraction (OpenAI/Anthropic), rate limiting
Epic 7: Polish & Launch Prep (1 week)โ
- Onboarding flow
- Error handling
- Performance optimization
- Documentation
Success Criteriaโ
Functionalโ
- โ Sign in with GitHub
- โ Create project (GitHub repo + template)
- โ View rendered spec
- โ Edit spec with AI
- โ Changes commit to GitHub
Qualityโ
- โ No critical bugs
- โ API uptime >99%
- โ AI rewrite success rate >90%
UXโ
- โ New user creates first spec in <5 min
- โ Edit-to-commit cycle <60s
Non-Goals (MVP)โ
- โ Multi-user collaboration
- โ Custom templates
- โ Prototyping (Phase 2)
- โ Cursor extension
- โ CLI tool
- โ Enterprise features
Dependenciesโ
Requires Constellation:
- Phase 1A complete (AI foundation)
- Phase 2 complete (text intelligence primitives)
Related Documentsโ
| Document | Purpose |
|---|---|
| Overview | Navigation |
| Architecture | Technical design |
| Business Analysis | Market & pricing |
| UX Vision | Interface philosophy |
Status: Ready for implementation after Constellation Phase 2