Text prompt
You are a senior software engineer. Review the following code: ```[LANGUAGE] [PASTE_CODE_HERE] ``` Context: [CONTEXT_DESCRIPTION] Focus area: [PRIORITY] (correctness / security / performance / readability / all) Your review must cover: **CRITICAL (must fix):** - Bug or issue, line reference, explanation, fix suggestion **IMPORTANT (should fix):** - Issue, location, better approach **SUGGESTIONS:** - Nice-to-have improvements **SECURITY CHECK:** - Input validation, auth/authz, data exposure **POSITIVES:** - What was done well — be specific End with: overall assessment and merge recommendation (approve / request changes / needs discussion).
Code Review Assistant
Perform a thorough code review identifying bugs, security issues, performance bottlenecks, and style inconsistencies.