AI-native code editor that understands your entire codebase. Write, edit, and debug with AI assistance.
Cursor is a fork of VS Code with deep AI integration. It can read your entire codebase for context, generate code across multiple files, and help debug complex issues.
Copy these prompts and paste directly into Cursor for instant results.
Comprehensive code review with fixes and explanations.
Review the following code for:\n\n\`\`\`[LANGUAGE]\n[PASTE_CODE_HERE]\n\`\`\`\n\nProvide:\n1. **Bugs**: Any logic errors, edge cases, or potential crashes\n2. **Security**: SQL injection, XSS, auth issues, data exposure\n3. **Performance**: Unnecessary loops, N+1 queries, memory leaks\n4. **Readability**: Naming, structure, comments needed\n5. **Best Practices**: Design patterns, SOLID principles, testing\n\nFor each issue:\n- Explain WHY it is a problem\n- Show the FIXED code\n- Rate severity: 🔴 Critical, 🟡 Warning, 🟢 Suggestion\n\nEnd with an overall code quality score (1-10).