Use this prompt to have CursorAI review only your recent code changes, suggest concise improvements, and apply best practices while preserving functionality and style. Keeps readability high without unnecessary rewrites.
Review the entire codebase with the edits applied. Rewrite it to be optimized for clarity, performance, and maintainability, while preserving the exact functionality. Eliminate unnecessary complexity, duplication, or unused code. Favor concise, modern syntax and established best practices. Prioritize readability and clean formatting over extreme brevity. Do not alter the intended behavior.