Create detailed implementation plan from SPEC.md
Creates detailed implementation plan from SPEC.md with Docker-first architecture and phased execution.
/plugin marketplace add lenneTech/claude-code/plugin install lt-dev@lenne-techspec-filevibe/SPEC.md with feature requirements/vibe:build afterwards to execute the planRelated commands:
/vibe:build - Execute an existing IMPLEMENTATION_PLAN.md/vibe:build-plan - Plan + Build in one go (no interruption)Create detailed implementation plan from SPEC.md.
ABORT HANDLING: If the user wants to cancel at any point (e.g., "abbrechen", "stop", "cancel"), acknowledge: "Planning abgebrochen." and stop the process.
Read SPEC.md and create a comprehensive implementation plan.
ALWAYS follow this sequence for each feature:
docker compose up -d (API + DB)npm run generate-typesAll development runs in Docker!
If no docker-compose.yml exists in the project:
npm run dev commands insteadCreate IMPLEMENTATION_PLAN.md with checkboxes:
# Implementation Plan
## Phase 1: Docker Setup
- [ ] Create docker-compose.yml with hot reload
- [ ] API service (NestJS with volume mounts)
- [ ] Database service (MongoDB/PostgreSQL)
- [ ] DB UI (Mongo Express for MongoDB / Adminer for SQL)
- [ ] Mailhog for email testing
- [ ] Frontend service (Nuxt with hot reload)
- [ ] Verify all services start (`docker compose up -d`)
## Phase 2: Backend Foundation
- [ ] Database models
- [ ] Core services
- [ ] Controllers & endpoints
- [ ] Initial user migration (for testing login)
## Phase 3: Backend Features
- [ ] Feature A - Backend
- [ ] Feature B - Backend
- [ ] ...
## Phase 4: Types Generation
- [ ] Verify API running (`docker compose logs api`)
- [ ] Generate types (`npm run generate-types`)
## Phase 5: Frontend Integration
- [ ] Feature A - Frontend (with real API)
- [ ] Feature B - Frontend (with real API)
- [ ] ...
## Phase 6: Quality Assurance
- [ ] Run lint (`npm run lint`)
- [ ] Fix lint errors
- [ ] Run build (`npm run build`)
- [ ] Fix build errors
## Phase 7: Browser Testing (Chrome MCP)
- [ ] Open app in browser (http://localhost:3001)
- [ ] Login with initial user
- [ ] Test all implemented features
- [ ] Fix any discovered bugs
- [ ] Re-test after fixes
## Phase 8: Final Verification
- [ ] All features working
- [ ] No console errors
- [ ] Lint passes
- [ ] Build passes
| Service | Port | Purpose |
|---|---|---|
| api | 3000 | NestJS Backend (hot reload) |
| app | 3001 | Nuxt Frontend (hot reload) |
| db | 27017/5432 | MongoDB or PostgreSQL |
| db-ui | 8081 | Mongo Express or Adminer |
| mailhog | 1025/8025 | SMTP + Web UI for emails |
Create a migration/seed that creates an initial user:
// Example initial user
{
email: 'admin@test.local',
password: 'Test1234!',
role: 'admin'
}
Document credentials in IMPLEMENTATION_PLAN.md for browser testing.
After all features are implemented:
list_console_messages)- [ ] for trackingUltrathink. Be thorough - this planning will guide the entire build.
Save as IMPLEMENTATION_PLAN.md
| Problem | Lösung |
|---|---|
generate-types fails | Check if API is running: docker compose logs api |
| Docker won't start | Check ports: lsof -i :3000 -i :3001 |
| Lint errors | Run npm run lint:fix first, then re-run lint |
| Build fails | Check console output, often missing imports or type errors |
| API not responding | docker compose restart api and check logs |