Lint against the framework conventions
lint_against_framework_rulesValidates a PHP file against CodeIgniter conventions like strict_types, naming, controller query bans, input validation, and repository interfaces, returning structured violations and a compliance flag.
Instructions
Validates a PHP file of the project against the framework conventions: strict_types, naming, no queries in controllers, input validation and repositories behind an interface. Returns structured violations; compliant=false when there is any error.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filePath": "<filePath>"
},
"name": "lint_against_framework_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes |