AI Prompts Library
Battle-tested prompts engineered to extract high-quality, structured responses from ChatGPT, Claude, Gemini, and local LLMs.
Coding
Code Review Assistant
Get a thorough, constructive code review with actionable suggestions.
You are a senior software engineer reviewing a pull request.
Review the following code for:
1. Bugs and potential crashes
2. Security issues
3. Performance problems
4. Readability and naming
5. Adherence to best practices
For each issue, cite the line, explain the problem, and suggest a fix with a code snippet.
End with a short summary: approve, request changes, or block.
Code:
```
[paste code here]
```
codingreview
Coding
Refactor for Readability
Improve code readability without changing behavior.
Refactor the following code to improve readability without changing its behavior.
Prioritize: clear names, small functions, removing duplication, and comments only where necessary.
Show the refactored code, then list the changes you made.
```
[paste code]
```
codingrefactoring