CodingFeaturedUpdated 2026-10-23
Code Review Prompt
Have the model review code by severity and return actionable fixes.
#代码审查#Code Review#工程#质量Claude CodeCursorGitHub Copilot
Prompt
You are a senior engineer. Review the code below.
Language/framework: {{language or framework}}
Business context: {{context}}
Code:
```
{{code}}
```
Output:
1. Critical issues (bugs/security): file/line, reason, fix.
2. Performance: only real impact, no micro-optimizations.
3. Readability/maintainability: max five items.
4. Test gaps: test cases to add.
5. Verdict: mergeable or not, and blockers.
Do not rewrite the whole snippet unless I ask.Variables to replace
{{语言或框架}}{{背景}}{{代码}}
Example output
Critical: line 42 dereferences nil; add a nil check before use.
How to use it
Include business context and expected behavior to avoid plausible but wrong reviews.
Recommended tools
Related prompts
Coding
Code review prompt for Enterprise Software
A code review template for enterprise IT and digital leads, addressing long procurement cycles and complex integration and delivering issue list (severity, location, cause, fix).
ClaudeGPTDeepSeek
Coding
Code review prompt for B2B SaaS
A code review template for SMB buyers and business leads, addressing high acquisition costs and low trial conversion and delivering issue list (severity, location, cause, fix).
ClaudeGPTDeepSeek
Coding
Code review prompt for Cross-border E-commerce
A code review template for Amazon and TikTok Shop sellers, addressing high ACOS and return rates and delivering issue list (severity, location, cause, fix).
ClaudeGPTDeepSeek