enhance_prompt
Improves developer prompts by adding quality requirements, codebase context, and tool recommendations to help AI coding assistants generate better structured code.
Instructions
Automatically enhance a coding prompt with quality requirements, codebase context, and tool recommendations.
Args: prompt: The original developer prompt task_type: Override auto-detection (generation|refactor|debug|review|test|planning|auto) context_level: How much context to gather (minimal|auto|comprehensive)
Returns: Enhanced prompt with quality requirements and tool recommendations
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": {
"prompt": "<prompt>"
},
"name": "enhance_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| task_type | No | auto | |
| context_level | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||