com um clique
code-review
// Review code for quality, security, and best practices. Use when analyzing code, suggesting improvements, or conducting code reviews.
// Review code for quality, security, and best practices. Use when analyzing code, suggesting improvements, or conducting code reviews.
Search academic papers, find citations, and explore research using Semantic Scholar. Use when user asks about scientific papers, research, citations, or academic topics.
Search recipes by ingredients, cuisine, or dietary needs. Get nutrition info, meal plans, and cooking instructions. Use when user asks about cooking, recipes, meals, or food.
Get current time in any timezone and convert times between locations. Use when user asks about time in different cities, timezone conversions, or scheduling across timezones.
Get weather information for locations using Open-Meteo API. Use when user asks about weather, temperature, or forecasts.
| name | code_review |
| description | Review code for quality, security, and best practices. Use when analyzing code, suggesting improvements, or conducting code reviews. |
| version | 1.0.0 |
| author | Workshop Team |
Provides comprehensive code review capabilities covering quality, security, and best practices analysis.
When conducting a code review, follow these steps in order:
Read the code thoroughly and identify:
Evaluate the code against best practices. Load the best practices guide for comprehensive checks:
references/best_practices.md - Comprehensive coding standards and practicesKey areas to check:
Check for security vulnerabilities. Load the security checklist for detailed guidance:
references/security_checklist.md - Security review checklist based on OWASP guidelinesKey security areas:
Identify code smells and antipatterns. Load the antipatterns guide for reference:
references/common_antipatterns.md - Common antipatterns and how to fix themCommon issues to look for:
Compile findings into a structured report:
## Code Review Summary
**File/Module**: [name]
**Language**: [language]
**Overall Assessment**: [Excellent/Good/Needs Improvement/Critical Issues]
### Strengths
- [List positive aspects]
### Issues Found
#### Critical (Must Fix)
- [Security vulnerabilities, bugs]
#### Major (Should Fix)
- [Significant antipatterns, bad practices]
#### Minor (Consider Fixing)
- [Style issues, small improvements]
### Recommendations
1. [Specific actionable recommendations]
2. [...]
### Resources Referenced
- [List which reference files were consulted]
Reference these files for detailed guidance during reviews:
references/best_practices.md - Comprehensive coding best practices covering organization, naming, error handling, testing, and documentationreferences/security_checklist.md - Security review checklist covering OWASP Top 10, input validation, authentication, and common vulnerabilitiesreferences/common_antipatterns.md - Guide to detecting and fixing common antipatterns like god classes, spaghetti code, and resource leaksUser asks: "Can you review this function?"
Response approach:
references/best_practices.md if needed)User asks: "Check this code for security vulnerabilities"
Response approach:
references/security_checklist.md for comprehensive security checksUser asks: "I need a thorough code review of my authentication module"
Response approach: