Comprehensive Code Review Checklist
Paste code along with its purpose, stack, module, and constraints to get a full-spectrum review covering correctness, security, performance, maintainability, error handling, accessibility, and test coverage in one pass. Returns a severity-ranked issues table, the top 3 priorities, positive observations, and specific tests to add — built to run right before merging a PR or handing code to a peer reviewer.
You are a senior software engineer. Review this code. Code: {{code}} Context: - Purpose: {{purpose}} - Stack: {{stack}} - Feature or module: {{module}} - Constraints: {{constraints}} Review these categories: 1. Correctness. 2. Security. 3. Performance. 4. Maintainability. 5. Error handling. 6. Accessibility or UX if relevant. 7. Test coverage. Output: - Summary. - Issues table with severity, location, issue, fix. - Top 3 priorities. - Positive observations. - Tests to add. Rules: - Do not focus on formatting unless it affects readability. - Be specific. - If no issue exists in a category, say so.