Try Variations
Use the same techniques to build a different type of app (blog, e-commerce, social)
You’ve been asked to create a new task management application for a small team. The requirements are intentionally vague: “We need something like Trello but simpler, focused on daily standups.” You have two days to create a working prototype.
By completing this lesson, you’ll master:
Transform vague requirements into a working application that includes:
Open Cursor in your empty project directory and start with Ask mode:
"I need to build a task management app 'like Trello but simpler,focused on daily standups'. Help me create a detailed PRD byasking clarifying questions."
The AI will ask questions like:
After answering questions:
"Based on our discussion, create a comprehensive PRD for adaily standup task board at docs/requirements/standup-board.md"
Switch to Agent mode:
@docs/requirements/standup-board.md"Analyze this PRD and recommend a modern tech stack that:- Allows rapid prototyping- Supports real-time updates- Works well with Cursor/AI development- Has good documentation for AI context"
"Create a detailed technical architecture document including:- Frontend framework and structure- Backend API design- Database schema- Authentication approach- Real-time communication strategy- Deployment architecture"
"Based on the architecture, create the complete project structurewith all necessary directories and initial configuration files"
"Set up the project with:- Next.js 14 with App Router for frontend- Express + Socket.io for backend- PostgreSQL with Prisma ORM- JWT authentication- Tailwind CSS for stylingInclude all config files and package.json"
"Create the Prisma schema for:- Users (with auth fields)- Boards (for different projects/teams)- Columns (todo, in progress, done, custom)- Tasks (with all necessary fields)- Comments and activity tracking"
"Create development environment setup including:- Docker compose for PostgreSQL- Environment variables template- Development scripts in package.json- Initial database seeds"
@prisma/schema.prisma @docs/requirements/standup-board.md"Implement the complete authentication system:- Registration with email/password- Login with JWT tokens- Protected API routes- Frontend auth context- Login/Register pages with Tailwind styling"
@components @types"Create the main task board interface:- Drag and drop between columns- Add/edit/delete tasks- Real-time updates with Socket.io- Mobile responsive design- Loading and error states"
@backend/src @prisma/schema.prisma"Implement RESTful API endpoints:- CRUD for boards, columns, and tasks- Real-time event broadcasting- Error handling middleware- Input validation- API documentation"
"Set up comprehensive testing:- Jest + React Testing Library for frontend- Supertest for API testing- Database test utilities- Test data factories- CI/CD ready configuration"
@src"Generate tests for:- Authentication flow (register, login, logout)- Task CRUD operations- Drag and drop functionality- API endpoint validation- WebSocket connections"
"Create initial documentation:- README with setup instructions- API documentation- Architecture decisions record- Contributing guidelines- Deployment guide"
Start broad and refine:
// Initial prompt"Create a task board"
// Better prompt"Create a Trello-like task board for daily standups"
// Best prompt@docs/requirements/standup-board.md"Implement the task board following our PRD with real-time updates"
Layer context progressively:
// First: Requirements@docs/requirements/standup-board.md
// Then: Architecture@docs/requirements/standup-board.md @docs/architecture.md
// Finally: Implementation@docs/requirements/standup-board.md @docs/architecture.md @prisma/schema.prisma"Implement the task creation feature"
Create checkpoints at major milestones:
"Create checkpoint: Basic project structure complete""Create checkpoint: Authentication working""Create checkpoint: Basic board functionality"
Problem: AI suggests overly complex architecture
Solution: Add constraints to prompts:
"Keep it simple - we need a working prototype in 2 days"
Problem: Different coding styles across files
Solution: Create rules early:
"Generate .cursor/rules/coding-standards.md based on thefirst few components we've created"
Problem: AI forgets project specifics
Solution: Reference key documents:
@docs/requirements/standup-board.md @prisma/schema.prisma"Always consider these when implementing features"
Now that you have a basic application, extend it with:
Advanced Features
Integrations
Performance Optimization
Your implementation is successful when:
Traditional approach: 2-3 days With Cursor AI: 3-4 hours
You’ve learned how to bootstrap a complete application from scratch. Ready for the next challenge?
Try Variations
Use the same techniques to build a different type of app (blog, e-commerce, social)
Scale It Up
Add more complex features like roles, permissions, and advanced workflows
Deploy It
Use Cursor to set up CI/CD and deploy to production
Continue to Legacy Code Refactoring →