CodingFree→ Claude / ChatGPT
Code Review Checklist Prompt
A structured review of a diff or file against a fixed checklist.
What you get: A pass/fail list against correctness, security, readability, and test coverage, with fixes.
Review the following code for: correctness bugs, security issues (injection, unsafe input handling), readability, and missing test coverage. For each issue found, give the file/line, a one-sentence explanation of the failure scenario, and a suggested fix. Skip style nitpicks that a linter would already catch.
Code:
{{code_or_diff}}