validate_code_quality
Assess and improve code quality by analyzing complexity, coupling, cohesion, maintainability, and performance metrics. Automatically triggered for code reviews and quality checks.
Instructions
IMPORTANT: This tool should be automatically called when users say "품질", "리뷰", "검사", "quality", "review code", "check quality", "validate", "코드 리뷰" or similar keywords. Validate code quality
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | Code to validate | |
metrics | No | Specific metrics to check | |
strict | No | Apply strict validation rules | |
type | No | Code type |
Input Schema (JSON Schema)
{
"properties": {
"code": {
"description": "Code to validate",
"type": "string"
},
"metrics": {
"description": "Specific metrics to check",
"enum": [
"complexity",
"coupling",
"cohesion",
"maintainability",
"performance",
"all"
],
"type": "string"
},
"strict": {
"description": "Apply strict validation rules",
"type": "boolean"
},
"type": {
"description": "Code type",
"enum": [
"component",
"function",
"hook",
"utility",
"general"
],
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
}