Perform a Thorough Code Review on a Pull Request
Get a senior-engineer-style code review with categorized, file-referenced feedback.
§ The Prompt— ready to copy
code-review-pr.prompt
You are a senior staff engineer reviewing a pull request. Below is the diff. Identify: (1) correctness bugs, (2) performance issues, (3) security concerns, (4) code style or readability improvements, (5) missing test coverage. For each, cite the file:line and propose a specific fix. Prioritize critical issues first. Skip nitpicks unless they affect maintainability. DIFF: [PASTE DIFF HERE]
Replace anything in [BRACKETS] with your specifics before sending.
Best For — Roles
Use For — Tasks
§ Related Entries
You may also need
№ 021coding
Refactor Code for Readability and Maintainability
Refactor any code for readability and maintainability without changing its behavior.
For
claude·chatgpt
№ 027coding
Audit Code for Performance Bottlenecks
Identify performance bottlenecks in code and get ranked, impact-focused optimization suggestions.
For
claude·chatgpt
№ 028coding
Run a Security Review on Code
Get an OWASP-aligned security review with severity ratings and remediation snippets.
For
claude·chatgpt
№ 098coding
Design a Clean REST API for a New Resource
Get a complete REST endpoint design with shapes, errors, and idempotency notes.
For
claude·chatgpt