A comprehensive starter kit for AI-assisted development using Cursor, supporting both MVP (vanilla web) and full-stack project modes.
- Tech Stack: HTML5, CSS3, Vanilla JavaScript
- Best For: Learning fundamentals, quick prototypes, simple applications
- Setup Time: 2 minutes
- Dependencies: None (just a browser)
- Tech Stack: React + FastAPI + PostgreSQL (or your choice)
- Best For: Production apps, complex features, team development
- Setup Time: 5 minutes
- Dependencies: Node.js, Python, Database
- Cursor IDE with AI capabilities
- Git
For Full-Stack Mode Only:
- Node.js 18+ and npm
- Python 3.11+
- PostgreSQL 15+ (or your chosen database)
-
Choose Your Mode
- MVP: For simple web apps, learning, or rapid prototyping
- Full-Stack: For complex applications with backend services
-
Clone and Navigate
git clone <repository-url> cd cursor-rules-mvp1
-
Configure Cursor
- Enable "Agent Mode" and "Auto" in Cursor settings
- Set your preferred AI model (Claude, GPT-4, etc.)
-
Select Your Templates
- MVP Mode: Use
templates/memory-bank/*-mvp.mdfiles - Full-Stack Mode: Use
templates/memory-bank/*.mdfiles (default)
- MVP Mode: Use
-
Follow the Development Guide
- Read
CURSOR_GUIDE.mdfor comprehensive best practices - Review appropriate
CURSOR_RULES.mdfor your mode - Check appropriate
PLAN.mdfor implementation roadmap
- Read
-
Start Development
- Begin with Phase 1 in your chosen
PLAN.md - Follow the checklist-driven approach
- Update memory-bank files regularly
- Begin with Phase 1 in your chosen
your-project/
βββ index.html # Main HTML file
βββ css/ # Stylesheets
βββ js/ # JavaScript files
βββ assets/ # Images, fonts, etc.
βββ memory-bank/ # AI memory system
βββ CURSOR_RULES.md # Development rules
βββ PLAN.md # Implementation plan
βββ README.md # Project overview
your-project/
βββ frontend/ # React application
βββ backend/ # FastAPI application
βββ database/ # Database migrations
βββ tests/ # Test files
βββ docs/ # Documentation
βββ memory-bank/ # AI memory system
βββ CURSOR_RULES.md # Development rules
βββ PLAN.md # Implementation plan
βββ README.md # Project overview
The starter kit includes comprehensive templates for common development patterns:
- Button Components: MVP (vanilla JS) and Full-Stack (React) patterns
- Form Components: Validation, error handling, submission patterns
- Modal/Dialog: Show/hide, backdrop, keyboard handling
- Data Display: Lists, tables, cards with pagination
- Navigation: Menus, breadcrumbs, active states
- CRUD Operations: Create, Read, Update, Delete patterns
- Authentication: Login, logout, JWT token management
- File Upload: Image upload, validation, processing
- Search & Filter: Query parameters, pagination, filtering
- Entity Models: MVP (vanilla JS classes) and Full-Stack (SQLAlchemy)
- State Management: MVP (local state) and Full-Stack (Redux/Zustand)
- Data Validation: MVP (custom validators) and Full-Stack (Pydantic)
- User Stories: MVP and Full-Stack story formats
- Feature Specifications: Technical requirements and implementation plans
- Acceptance Criteria: Testable requirements and success metrics
- Implementation Plans: Step-by-step development roadmaps
The memory-bank/ folder serves as an external brain for the AI:
- projectbrief.md: One-sentence project description
- techContext.md: Technology stack and versions
- systemPatterns.md: Architecture and design patterns
- activeContext.md: Current work and next steps
- progress.md: Overall project progress
Starting a session:
Hello, let's continue the project. Please start by reading all files in CURSOR_RULES.md and the memory-bank/ folder to fully understand the current project state.
Ending a session:
Please update activeContext.md and progress.md to summarize our work and outline the next steps.
- Follow
PLAN.mdchecklist strictly - Execute one prompt at a time
- Review AI output like a Pull Request
- Commit progress frequently
- Update memory-bank files
When implementing features, use the provided templates:
For UI Components:
Create a [component-type] component following the template structure in ui-components.md.
Requirements: [specific requirements]
For API Endpoints:
Create a [endpoint-type] endpoint following the template structure in api-endpoints.md.
Requirements: [specific requirements]
For Data Models:
Create a [model-type] data model following the template structure in data-models.md.
Requirements: [specific requirements]
For Feature Development:
Create a user story for [feature] following the template structure in feature-development.md.
Requirements: [specific requirements]
- Use file references (@filename:line-range) for precise context
- Be specific with prompts and requirements
- Test thoroughly before moving to next step
- Monitor Cursor's context usage
- Use /compact when context exceeds 50%
- Leverage building block templates for consistency
- Frontend: HTML5, CSS3, Vanilla JavaScript
- Build Tool: None (or simple Vite if needed)
- Styling: CSS custom properties, Flexbox/Grid
- Testing: Manual testing, browser dev tools
- Frontend: React 18.x with TypeScript
- Backend: FastAPI (Python 3.11+)
- Database: PostgreSQL 15+
- Build Tools: Vite, SQLAlchemy, Alembic
- Testing: Vitest, pytest, React Testing Library
- Phase 1: Basic Setup (HTML structure, CSS foundation)
- Phase 2: Core Features (navigation, forms, data management)
- Phase 3: Interactive Features (dynamic content, event handling)
- Phase 4: Enhancement (responsive design, accessibility)
- Phase 5: Testing and Polish (manual testing, optimization)
- Phase 1: Project Foundation (Structure, Setup)
- Phase 2: Core Data Models (Database models, schemas)
- Phase 3: Backend API (Services, endpoints)
- Phase 4: Frontend Components (UI, state management)
- Phase 5: Integration and Testing
- Phase 6: UI/UX Enhancement
- Phase 7: Documentation and Deployment
- β Vague prompts ("make it better")
- β Dumping whole files (use @filename:line-range)
- β Asking AI to design everything (architect first)
- β Trusting "it compiles" means "it works"
- β Ignoring context limits
- β Choosing complex mode for simple projects
- Cursor Documentation
- MDN Web Docs (for MVP mode)
- React Documentation (for full-stack mode)
- FastAPI Documentation (for full-stack mode)
This project demonstrates AI-assisted development practices. To contribute:
- Follow the established patterns in
CURSOR_RULES.md - Update memory-bank files with your changes
- Follow the TDD methodology
- Maintain comprehensive documentation
This project is open source and available under the MIT License.
Happy coding with Cursor AI! π