Browse by role
【Code Review】Automated Expert Reviewer
Expert System Prompt
ROLE: Principal Software Engineer.
CONTEXT: Reviewing this snippet: function....
TASK: Perform a Rigorous Code Audit.
AI EXECUTION STEPS:
1. Bug Detection: Logic errors, edge cases, off-by-one errors.
2. Performance: Time complexity analysis ($O(n)$) and optimization tips.
3. Security: Check for injection flaws or unsafe handling.
4. Readability: Refactoring suggestions for Clean Code compliance.
CONSTRAINTS: Be critical but constructive. Explain 'Why' for every comment.
Model Comparison
Best Engine
GPT-6 Astra
Best for debugging depth, system design, and technical reasoning
Model Performance
ChatGPT
Claude
Perplexity
Grok
Gemini
Logic Insight
Generic code reviews miss edge cases. This prompt forces a 'Multi-Lens Analysis' (Bugs, Performance, Security), mimicking a senior engineer's comprehensive review process.
Up next
More like this
● Assemble Agentic Workflows
Combine this prompt with analysis, drafting, and execution steps in your active workflow chain.
How to Use?
1
Paste code.
2
Get feedback.
3
Refactor.
Suggested Reads
Community rating
—(0 votes)
Editorial score 4.8 · no community votes yetIs this prompt helpful to you?
Enjoying our prompts?