validate_changes
Validate code changes before implementation with AI-powered syntax checking and impact analysis to identify potential issues in modifications.
Instructions
โ Pre-flight validation for code changes - AI-powered syntax checking and impact analysis using DialoGPT-small. Validates proposed modifications before implementation.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_path | Yes | ||
language | No | ||
proposed_changes | Yes | ||
validation_rules | No |
Input Schema (JSON Schema)
{
"properties": {
"file_path": {
"type": "string"
},
"language": {
"type": "string"
},
"proposed_changes": {
"items": {
"properties": {
"find": {
"type": "string"
},
"line_number": {
"type": "number"
},
"replace": {
"type": "string"
}
},
"required": [
"find",
"replace"
],
"type": "object"
},
"type": "array"
},
"validation_rules": {
"default": [
"syntax",
"logic",
"security",
"performance"
],
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"file_path",
"proposed_changes"
],
"type": "object"
}