Back to prompts
Please review the following code and provide: 1) Bug report — list any bugs, errors, or edge cases that could cause issues, with the line number and explanation of the problem. 2) Security issues — flag any security vulnerabilities (injection risks, exposed data, improper auth, etc.). 3) Performance suggestions — identify any inefficiencies and suggest improvements. 4) Code quality — comment on readability, naming conventions, and structure. 5) Refactor suggestion — if there is a cleaner way to write a key section, show it. Prioritize critical issues first. Language: [LANGUAGE]. Context: [WHAT THE CODE DOES]. [PASTE CODE HERE]
How to use this prompt
- 1Copy the prompt using the button above.
- 2Open your AI tool (ChatGPT, Claude, Midjourney, etc.)
- 3Paste and customize any variables in the prompt.
- 4Generate your result.