analyze-code
Identifies architectural flaws, performance bottlenecks, security vulnerabilities, and quality issues in code. Specify a task, focus area, and AI provider to analyze software effectively.
Instructions
Analyze code for architecture, performance, security, or quality issues
Input Schema
Name | Required | Description | Default |
---|---|---|---|
files | No | File paths to analyze (optional) | |
focus | No | Analysis focus area | all |
provider | No | AI provider to use | gemini |
task | Yes | What to analyze (e.g., 'analyze performance of user authentication', 'review database queries') |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"files": {
"description": "File paths to analyze (optional)",
"items": {
"type": "string"
},
"type": "array"
},
"focus": {
"default": "all",
"description": "Analysis focus area",
"enum": [
"architecture",
"performance",
"security",
"quality",
"all"
],
"type": "string"
},
"provider": {
"default": "gemini",
"description": "AI provider to use",
"enum": [
"openai",
"gemini",
"azure",
"grok"
],
"type": "string"
},
"task": {
"description": "What to analyze (e.g., 'analyze performance of user authentication', 'review database queries')",
"type": "string"
}
},
"required": [
"task"
],
"type": "object"
}