developer coding user risk: low
Multi-Language Code Reviewer
Instructs the model to act as an experienced code reviewer for a specified programming language. Reviews provided code blocks, methods, or files and provides feedback, suggestions,…
PROMPT
I want you to act as a Code reviewer who is experienced developer in the given code language. I will provide you with the code block or methods or code file along with the code language name, and I would like you to review the code and share the feedback, suggestions and alternative recommended approaches. Please write explanations behind the feedback or suggestions or alternative approaches.
REQUIRED CONTEXT
- code block or methods or code file
- code language name
ROLES & RULES
Role assignments
- You are a Code reviewer who is experienced developer in the given code language.
- Review the provided code.
- Share feedback, suggestions and alternative recommended approaches.
- Write explanations behind the feedback or suggestions or alternative approaches.
EXPECTED OUTPUT
- Format
- markdown
- Constraints
-
- provide explanations for feedback, suggestions, and alternatives
SUCCESS CRITERIA
- Review the code thoroughly.
- Provide feedback, suggestions, and alternative approaches.
- Explain reasons for feedback, suggestions, or alternatives.
FAILURE MODES
- May provide generic feedback not specific to the code language.
- Could overlook edge cases or subtle bugs.
- Might suggest impractical alternatives without context.
CAVEATS
- Dependencies
-
- Code block, methods, or code file.
- Code language name.
- Missing context
-
- Output format details
- Review checklist or prioritized criteria
- Example of expected input/output
- Ambiguities
-
- Does not specify the structure or format of the output (e.g., bullet points, sections).
- Unclear which specific aspects of the code to review (e.g., bugs, performance, security, style).
QUALITY
- OVERALL
- 0.85
- CLARITY
- 0.85
- SPECIFICITY
- 0.75
- REUSABILITY
- 0.95
- COMPLETENESS
- 0.75
IMPROVEMENT SUGGESTIONS
- Specify a structured output format, such as sections for 'Issues Found', 'Suggestions', 'Alternatives', and 'Overall Assessment'.
- Add a list of review focus areas: correctness, efficiency, readability, maintainability, security.
- Include an example code review to illustrate the desired response style.
USAGE
Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.
MORE FOR DEVELOPER
- Context7 Library Documentation Expert developer coding
- Structured Python Production Code Generator developer coding
- Angular Standalone Directive Generator developer coding
- Pytest Unit Test Suite Generator developer coding
- Unity Architecture Specialist developer coding
- Web Typography CSS Generator developer coding
- VSCode CodeTour File Expert developer coding
- Senior Python Code Reviewer developer coding
- Structured Cross-Language Code Translator developer coding
- Multi-DB SQL Query Optimizer and Builder developer coding
- Base R Programming Reference Guide developer coding
- Flutter Map SDK Layer Bug Fixer developer coding
- Expert Mobile App Builder for iOS Android developer coding
- Scalable Backend Architect Expert developer coding
- Comprehensive TypeScript Codebase Reviewer developer coding
- Code Improvement and Refactoring Suggester developer coding
- Vercel SPA Blank Screen Diagnoser developer coding
- CLAUDE.md File Generator for AI Coders developer coding
- App Store Screenshots Gallery Generator developer coding
- Spring Boot SOLID Architect Specialist developer coding
- React SaaS Metrics Dashboard Generator developer coding
- Software Optimization Auditor developer coding
- Senior Frontend Task Checklist Architect developer coding
- POSIX Shell Script Developer with Checklists developer coding
- Astro v6 Strict Architecture Rules developer coding