mvp
Generate and manage your Minimum Viable Product code.
Synopsis
Loading code block...
Description
The mvp command generates production-ready code from your PRD and seed structure. It creates complete features, API endpoints, database operations, and UI components following best practices.
Commands
generate
Generate MVP code from PRD user stories.
Loading code block...
Options:
| Option | Description |
|---|---|
--story=<id> | Generate code for specific story |
--feature=<name> | Generate a specific feature |
--all | Generate all MVP features |
--dry-run | Preview without writing files |
--agent=<name> | Use specific agent for generation |
Examples:
Loading code block...
status
Check MVP generation progress.
Loading code block...
Output:
⚡ Bootspring MVP Status
PRD: TaskFlow MVP
Stories: 12 total
Progress:
✓ US-001: User can sign up (completed)
✓ US-002: User can sign in (completed)
✓ US-003: User can create task (completed)
◐ US-004: AI prioritizes tasks (in progress)
○ US-005: User can link PR (pending)
○ US-006: User can enable focus mode (pending)
...
Completion: 25% (3/12 stories)
Next: bootspring mvp generate --story=US-004
validate
Validate MVP against PRD requirements.
Loading code block...
Options:
| Option | Description |
|---|---|
--story=<id> | Validate specific story |
--coverage | Show test coverage |
--acceptance | Check acceptance criteria |
Examples:
Loading code block...
Output:
⚡ MVP Validation
US-001: User can sign up
✓ Email/password form exists
✓ Validation implemented
✓ Success redirect works
✓ Error handling present
○ E2E test coverage (0%)
Status: PARTIAL (4/5 criteria)
US-002: User can sign in
✓ All acceptance criteria met
✓ Test coverage: 85%
Status: COMPLETE
test
Run MVP-specific tests.
Loading code block...
Options:
| Option | Description |
|---|---|
--story=<id> | Test specific story |
--e2e | Run end-to-end tests |
--unit | Run unit tests only |
--watch | Watch mode |
Examples:
Loading code block...
deploy
Deploy MVP to staging or production.
Loading code block...
Environments:
| Environment | Description |
|---|---|
staging | Deploy to staging (default) |
production | Deploy to production |
preview | Create preview deployment |
Options:
| Option | Description |
|---|---|
--skip-tests | Skip test run before deploy |
--skip-checks | Skip quality checks |
Examples:
Loading code block...
analytics
Set up MVP analytics and tracking.
Loading code block...
Options:
| Option | Description |
|---|---|
--provider=<name> | Analytics provider |
--events | Generate event tracking |
Providers:
posthog(default)mixpanelamplitudeplausible
Examples:
Loading code block...
Generation Details
What Gets Generated
For each user story, MVP generates:
| Component | Description |
|---|---|
| API routes | REST endpoints with validation |
| Database | Prisma operations |
| Services | Business logic layer |
| Components | React UI components |
| Forms | Form handling with validation |
| Tests | Unit and integration tests |
Example Generation
Loading code block...
For story "User can create task", generates:
app/
├── api/tasks/
│ ├── route.ts # POST /api/tasks
│ └── [id]/route.ts # GET/PATCH/DELETE
├── (dashboard)/
│ └── tasks/
│ ├── page.tsx # Task list page
│ └── new/page.tsx # Create task page
components/
├── tasks/
│ ├── TaskForm.tsx # Create/edit form
│ ├── TaskCard.tsx # Task display
│ └── TaskList.tsx # List component
lib/
└── services/
└── tasks.ts # Task service
tests/
├── api/tasks.test.ts # API tests
└── components/TaskForm.test.tsx
Code Quality
Generated code follows best practices:
TypeScript
Loading code block...
Validation
Loading code block...
Error Handling
Loading code block...
Configuration
MVP settings in bootspring.config.js:
Loading code block...
Examples
Full MVP Generation
Loading code block...
Story-by-Story Development
Loading code block...
Custom Agent Generation
Loading code block...
Related Commands
bootspring seed- Scaffold before MVPbootspring prd- Manage requirementsbootspring loop- Development loopbootspring quality- Quality gates
Related Workflows
- MVP Build - Complete MVP guide
- Seed Workflow - Previous phase
- Launch Workflow - After MVP