Code Quality
code_qualityFix TypeScript errors, organize imports, and remove unused code using compiler-verified transformations. Ideal after refactoring or before commits.
Instructions
Fix ALL TypeScript errors + organize imports + remove unused (<1s, 20+ issues).
vs Manual: Compiler-verified, preserves side-effects, finds hidden issues.
Use when: After refactoring or before commits. Use proactively.
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": {
"operation": "<operation>",
"filePath": "<filePath>"
},
"name": "code_quality"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | ||
| filePath | Yes | ||
| preview | No |