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:

OptionDescription
--story=<id>Generate code for specific story
--feature=<name>Generate a specific feature
--allGenerate all MVP features
--dry-runPreview 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:

OptionDescription
--story=<id>Validate specific story
--coverageShow test coverage
--acceptanceCheck 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:

OptionDescription
--story=<id>Test specific story
--e2eRun end-to-end tests
--unitRun unit tests only
--watchWatch mode

Examples:

Loading code block...

deploy#

Deploy MVP to staging or production.

Loading code block...

Environments:

EnvironmentDescription
stagingDeploy to staging (default)
productionDeploy to production
previewCreate preview deployment

Options:

OptionDescription
--skip-testsSkip test run before deploy
--skip-checksSkip quality checks

Examples:

Loading code block...

analytics#

Set up MVP analytics and tracking.

Loading code block...

Options:

OptionDescription
--provider=<name>Analytics provider
--eventsGenerate event tracking

Providers:

  • posthog (default)
  • mixpanel
  • amplitude
  • plausible

Examples:

Loading code block...

Generation Details#

What Gets Generated#

For each user story, MVP generates:

ComponentDescription
API routesREST endpoints with validation
DatabasePrisma operations
ServicesBusiness logic layer
ComponentsReact UI components
FormsForm handling with validation
TestsUnit 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...