review_code
Analyze and improve GitHub code quality with AI and rule-based validation using CodeCompass MCP. Focus on security, performance, and maintainability to identify issues and receive actionable recommendations.
Instructions
🔍 Comprehensive code review combining AI insights with rule-based validation. Provides intelligent analysis, security scanning, and actionable recommendations.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_paths | No | Specific files to review (optional - reviews key files if not specified) | |
options | No | ||
review_focus | No | Areas to focus the review on | |
review_mode | No | Review approach: AI-powered, rule-based, or combined | combined |
url | Yes | GitHub repository URL |
Input Schema (JSON Schema)
{
"properties": {
"file_paths": {
"description": "Specific files to review (optional - reviews key files if not specified)",
"items": {
"type": "string"
},
"type": "array"
},
"options": {
"properties": {
"ai_model": {
"default": "auto",
"description": "AI model to use for analysis (OpenRouter models). Use \"auto\" for intelligent model selection",
"type": "string"
},
"framework_specific": {
"default": true,
"description": "Include framework-specific checks",
"type": "boolean"
},
"include_examples": {
"default": true,
"description": "Include code examples in suggestions",
"type": "boolean"
},
"include_fixes": {
"default": true,
"description": "Include suggested fixes",
"type": "boolean"
},
"language_specific": {
"default": true,
"description": "Include language-specific best practices",
"type": "boolean"
},
"severity_threshold": {
"default": "medium",
"description": "Minimum severity level to report",
"enum": [
"low",
"medium",
"high",
"critical"
],
"type": "string"
}
},
"type": "object"
},
"review_focus": {
"default": [
"security",
"performance",
"maintainability"
],
"description": "Areas to focus the review on",
"items": {
"enum": [
"security",
"performance",
"maintainability",
"best-practices",
"bugs",
"accessibility"
],
"type": "string"
},
"type": "array"
},
"review_mode": {
"default": "combined",
"description": "Review approach: AI-powered, rule-based, or combined",
"enum": [
"ai",
"rules",
"combined"
],
"type": "string"
},
"url": {
"description": "GitHub repository URL",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}