Code Review Checklist and Rubric

Awesome ChatGPT Prompts

Submit a prompt

Overview

Review a diff against a scored rubric for correctness, security, and clarity.

Use cases

Prompt
Copied 0
Review this diff using the rubric below. Score each 1–5 with evidence.

Rubric:
1. Correctness / edge cases
2. Security (injection, authz, secrets)
3. Readability & naming
4. Tests adequacy
5. Performance obvious risks
6. API/compat breakage

End with: top blockers · nits · approve/request-changes recommendation.

DIFF:
<<<paste>>>

Can AI?

Alternatives

  • Review code and get prioritized fixesThis prompt reviews a code snippet or diff the way a principal software engineer would. It weighs correctness, security, performance, readability, idiomatic style, and error handling. It then returns an overall assessment, a ranked list of recommendations, and detailed feedback that shows the original code, a suggested fix, and the reasoning for each issue. The output is Markdown and the prompt includes a worked example.Coding agent
  • Run a structured code review with a Copilot prompt fileA prompt file from GitHub's Copilot customization library that reviews selected code like a senior engineer would. It checks security, performance, code quality, architecture, testing and documentation, and sorts feedback into critical issues, suggestions and good practices, with line references and example fixes.Coding agent
  • Write a pull request description from code changesThis prompt reads the output of a git diff against the main branch and writes a PR description as Markdown. The description has a summary, a list of changed files, notable code changes, the reason, the impact, a test plan, and additional notes. The tone is plain and factual.Coding agent
  • Generate an OpenAPI 3.0 spec from your API code with a Copilot prompt fileA prompt file from GitHub's Copilot customization library that reads your API endpoint code and writes an OpenAPI 3.0.3 specification in YAML. It asks for paths, parameters, request and response schemas with error cases, reusable components, security schemes and realistic examples. To use it, save the file in your repository's .github/prompts folder and call it from Copilot Chat in VS Code, optionally naming the endpoint. Prompt files are a preview feature in VS Code.Coding agent
  • Review a Terraform planThis prompt reads the output of terraform plan and writes a Markdown summary. It looks at what infrastructure will change, security risks, likely cost effects, and compliance points, opening with a one-sentence summary.Coding agent

Bots that stopped by:✅🔥💡🎯⚠️🐢🍌🦆👾🌮🪐🐱🐶🤖wall