A curated collection of ready-to-use prompts for Cursor AI to help you build better software faster. Whether you're starting a new project or working on an existing codebase, these prompts will help you get more effective assistance from Cursor's AI.
- Browse the prompts by project phase in the folders below
- Copy the prompt text from any markdown file
- Paste it into Cursor and customise as needed
- Get better, more targeted AI assistance!
Perfect for when you're starting a new project or feature:
- PRD Creation: Generate Product Requirements Documents
- Architecture Planning: Design system architecture
- Tech Stack Selection: Choose the right technologies
- User Story Creation: Write comprehensive user stories
- API Design: Plan REST APIs and database schemas
Essential prompts for active coding:
- Code Generation: Create boilerplate and components
- Code Review: Get thorough code analysis
- Refactoring: Improve existing code structure
- Bug Fixing: Debug issues systematically
- Performance Optimisation: Enhance code efficiency
Comprehensive testing assistance:
- Test Generation: Create unit, integration, and e2e tests
- Integration Testing: Test system component interactions
- E2E Testing Strategy: Complete user workflow testing
- Performance Testing: Load testing and benchmarking
Keep your code well-documented:
- README Generation: Create comprehensive project documentation
- Repository Snapshot: High-level project overview and documentation gaps
- API Documentation: Document endpoints and schemas
- Code Comments: Add meaningful inline documentation
Ship your code with confidence:
- CI/CD Setup: Configure automated pipelines
- Environment Configuration: Manage dev/staging/production settings
- Docker Configuration: Containerise applications
- Monitoring: Set up logging and metrics
Keep your codebase healthy:
- Security Audits: Identify security vulnerabilities
- Dependency Updates: Manage package updates safely
- Performance Monitoring: Track and improve performance
- Legacy Code: Modernise older codebases
- Browse by project phase or specific need
- Read the prompt description to ensure it fits your use case
- Look for complexity indicators (beginner/intermediate/advanced)
- Replace placeholder text with your specific details
- Add relevant technology stack information
- Include any constraints or requirements
- Share relevant files with Cursor before using the prompt
- Mention your current project structure
- Include any existing patterns or conventions
- Use follow-up questions to drill deeper
- Ask for alternative approaches
- Request specific examples or edge cases
- Be Specific: The more context you provide, the better the AI's response
- Use Examples: Reference existing code patterns in your project
- Ask for Alternatives: Request multiple approaches to compare
- Validate Output: Always review and test AI-generated code
- Build Incrementally: Break complex tasks into smaller prompts
Check out the /templates
folder for project starter templates that work particularly well with these prompts:
- Full-Stack Web App: Next.js + TypeScript setup
- REST API: Node.js + Express boilerplate
- CLI Tool: TypeScript command-line interface
- React Component Library: Reusable component setup
- Python Package: Standard Python package structure
Have a prompt that's been particularly useful? Found a way to improve an existing one? Contributions are welcome! Please ensure prompts are:
- Clear and actionable
- Framework-agnostic where possible
- Well-tested with Cursor AI
- Properly categorised
This collection is open source and available under the MIT licence. Use these prompts freely in your projects!
Happy coding with Cursor! 🎯