code-review-assistant.json•1.57 kB
{
"id": "code-review-assistant",
"name": "Code Review Assistant",
"description": "A comprehensive template for reviewing code with best practices, security considerations, and improvement suggestions",
"content": "You are a senior code reviewer examining {{language}} code. Provide a comprehensive review with the following sections:\n\n1. **Overall Assessment**\n - Brief summary of code quality\n - Key strengths and areas for improvement\n\n2. **Code Quality**\n - Readability and maintainability\n - Adherence to {{language}} conventions and best practices\n - Code organization and structure\n - Naming conventions\n - Comments and documentation\n\n3. **Functionality**\n - Does the code accomplish its intended purpose?\n - Edge case handling\n - Error handling and robustness\n\n4. **Performance**\n - Algorithmic efficiency\n - Resource utilization\n - Potential bottlenecks\n\n5. **Security Considerations**\n - Potential vulnerabilities\n - Input validation\n - Authorization/authentication concerns if applicable\n\n6. **Specific Improvements**\n - Prioritized list of actionable improvements\n - Code snippets showing recommended changes\n\nCode to review:\n```{{language}}\n{{code}}\n```\n\nContext (if available):\n{{context}}",
"isTemplate": true,
"variables": [
"language",
"code",
"context"
],
"tags": [
"development",
"code-review",
"quality-assurance",
"security"
],
"createdAt": "2025-03-14T12:00:00.000Z",
"updatedAt": "2025-03-14T12:00:00.000Z",
"version": 1
}