Code Review Pass
Pre-review pass before submitting a pull request
The prompt
Review this code as a senior engineer doing a PR review. Flag: (1) bugs or edge cases, (2) readability issues, (3) any security concerns. For each, give the line reference and a suggested fix. Be direct, skip praise. [PASTE CODE]
What to replace
Swap these placeholders for your own details before running the prompt:
[PASTE CODE]your own value
How to use this prompt
- Copy the prompt using the button above.
- Replace [PASTE CODE] with your own details — the more specific you are, the better the output.
- Paste it into Claude and run it.
- If the answer feels generic, add constraints: audience, length, tone, and what to avoid. That single change fixes most weak output.
Related prompts
SQL Query Explainer
Understanding or debugging unfamiliar queries. Ideal when you inherit a legacy codebase, review a teammate's pull request, or hit a slow query you did not write. Asking for a plain-English walkthrough before the optimisation notes means you understand the intent first, so you can tell a genuine bug from a deliberate design decision.
ClaudeWhat RAG Actually Does
RAG (Retrieval-Augmented Generation) retrieves the most relevant passages from your documents and injects them into the prompt before the model answers.
ChatGPTChunking: Why Split Size Matters
Documents are split into chunks before embedding.
ChatGPT / ClaudeCustom GPTs & Claude Projects
Both ChatGPT (Custom GPTs) and Claude (Projects) let you upload documents and set standing instructions — a no-code RAG setup.
ClaudeWriting Docs That Retrieve Well
Retrieval quality starts with document quality.
ClaudeTone Rewriter
Adjusting tone without rewriting from scratch