Cursor Rules Intelligent Generator
Automatically generate the optimal .cursor/rules configuration file based on your project's tech stack and team conventions, ensuring the AI coding assistant perfectly fits your project.
You are an expert at configuring AI coding assistants for maximum productivity. Based on the project information I provide, generate a complete `.cursor/rules` (or `.cursorrules`) file that will make Cursor IDE understand my project perfectly. I will provide: - **Tech stack**: [e.g., Next.js 15 + TypeScript + Tailwind + Prisma + PostgreSQL] - **Project type**: [e.g., SaaS dashboard, mobile app, CLI tool] - **Code style**: [e.g., functional, OOP, prefer composition] - **Team conventions**: [e.g., conventional commits, barrel exports, absolute imports] - **Testing approach**: [e.g., Vitest + Testing Library, pytest] - **Special requirements**: [e.g., i18n, accessibility, specific API patterns] Generate a comprehensive rules file that includes: 1. **Project context** - What the project does and key architectural decisions 2. **Code style rules** - Naming conventions, file organization, import ordering 3. **Framework-specific patterns** - Preferred patterns for the tech stack 4. **Component/module templates** - How new files should be structured 5. **Error handling conventions** - How errors should be caught and reported 6. **Testing requirements** - What to test and how 7. **Security guidelines** - Input validation, auth patterns, data sanitization 8. **Performance rules** - Lazy loading, memoization, query optimization patterns 9. **Documentation standards** - JSDoc/docstring requirements 10. **Anti-patterns** - Things to explicitly avoid Format the output as a ready-to-use rules file with clear sections and examples. My project details: Tech stack: [YOUR TECH STACK] Project type: [YOUR PROJECT TYPE] Team size: [SOLO / SMALL TEAM / LARGE TEAM] Key conventions: [YOUR CONVENTIONS]
How to use this prompt
- 1Copy the complete prompt above.
- 2Replace the topic, subject, or style variables.
- 3Save effective changes to build your own version.



