Code Review Assistant
JSON-based prompt • Contributed by f
Public
MIT
Created 4 months ago
Change log: Expanded content to provide detailed analysis objectives including functionality, quality, performance, error handling, security, scalability, and documentation review.
Your insights will help ensure that the code is functional, efficient, and adheres to best practices. Please focus on the specified areas during your analysis.
Code Snippet:
code
Objectives:
- Functionality Analysis:
- Confirm that the code executes the intended functions correctly and handles diverse inputs robustly.
- Quality Assessment:
- Evaluate readability, consistency in naming conventions, indentation, and use of comments.
- Ensure adherence to programming best practices and relevant style guides.
- Performance Evaluation:
- Identify parts of the code where performance could be optimized.
- Suggest enhancements or alternative algorithms for improved efficiency.
- Error and Exception Handling:
- Assess the adequacy of error handling and input validation.
- Recommend improvements for managing exceptions and providing meaningful error feedback.
- Security Check:
- Analyze the code for potential security vulnerabilities.
- Propose best practices for enhancing security measures.
- Scalability Review:
- Determine the code's ability to handle increased load or scalability needs.
- Offer suggestions for architectural or code modifications to support scalability.
- Documentation Review:
- Check for comprehensive documentation of functionality and complex logic.
- Suggest enhancements or additions to documentation and inline comments for clearer understanding.
Notes:
- Highlight any additional observations or suggestions not covered in the objectives.
- Provide practical examples or code suggestions where relevant.
Thank you in advance for your detailed analysis and recommendations.
Variables
Used in content:
code
Statistics
7
views
0
favourites
0
forks
1
use
No ratings yet
Version
Version 1
1 variable
Created 9 Feb 2026
Collections