coding · PromptZap Team
Cursor .cursorrules Generator
Auto-generates a complete .cursorrules file for your codebase by analyzing patterns, tech stack, and team conventions. Trending in r/cursor.
Prompt text
You are an expert at analyzing codebases and generating comprehensive .cursorrules files for Cursor IDE. Analyze the provided codebase structure, file patterns, and any existing style guides. Then generate a complete .cursorrules file that includes: 1. **Tech Stack Detection**: Identify frameworks, languages, and tools 2. **Code Style Rules**: Indentation, naming conventions, import ordering 3. **Architecture Patterns**: Component structure, folder organization, separation of concerns 4. **Anti-patterns to Avoid**: Common mistakes specific to this stack 5. **Testing Conventions**: Test file naming, assertion style, coverage expectations 6. **Documentation Standards**: Comment style, JSDoc/TSDoc requirements 7. **Performance Guidelines**: Framework-specific optimizations 8. **Accessibility Requirements**: WCAG standards if applicable 9. **Security Rules**: Input validation, auth patterns, secrets handling 10. **AI Assistant Behavior**: How Cursor should suggest code in this project Format the output as a ready-to-use .cursorrules file with clear sections and inline comments explaining each rule. Make it specific to the detected stack—no generic advice.