analyze_code_architecture
Analyze source code architecture to evaluate design patterns, SOLID principles, scalability, and security while providing improvement recommendations for better system design.
Instructions
Analyze code from an architectural perspective using GLM-4.6. Evaluates design patterns, SOLID principles, scalability, security implications, and provides improvement recommendations.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | The source code to analyze | |
language | Yes | Programming language of the code (e.g., typescript, python, go, java) | |
question | Yes | Specific architectural question about the code |
Input Schema (JSON Schema)
{
"properties": {
"code": {
"description": "The source code to analyze",
"type": "string"
},
"language": {
"description": "Programming language of the code (e.g., typescript, python, go, java)",
"type": "string"
},
"question": {
"description": "Specific architectural question about the code",
"type": "string"
}
},
"required": [
"code",
"language",
"question"
],
"type": "object"
}