GitHub Copilot Code Review Prompt Template — Find Bugs in 10 Seconds

Category: AI Coding Difficulty: Intermediate Updated: 2026-05-26

Copy this prompt to have GitHub Copilot complete a full code review in 10 seconds, identifying security vulnerabilities, performance issues, and potential bugs.

✅ Code Review Prompt Template

Review the following code:
[Paste your code snippet here]

Output in the following structure:
1. Code functionality overview
2. Security vulnerabilities: List all OWASP Top 10 vulnerabilities
3. Performance issues: Identify memory/CPU waste points
4. Best practices: Suggest coding standards to follow
5. Fix solutions: Provide corrected code for each issue