Suggest a fix for a UX issue
suggest_fixGet an actionable fix for a described UX issue: detect the likely UX smell, then return a step-by-step recipe, relevant principles, and a refactoring prompt for coding agents.
Instructions
Get a fix for a described UX issue: detects the most likely smell (or uses the one you pass), then returns its step-by-step fix recipe, the principles to apply and a refactoring prompt you can hand to a coding agent. Use it when you want an actionable remedy rather than a diagnosis; runs offline.
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": {
"issue": "<issue>"
},
"name": "suggest_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue | Yes | The UX issue to fix, in plain language (e.g., "the checkout asks for account creation before showing the price"). | |
| locale | No | Language of the returned content: "en" (English) or "es" (Spanish). Defaults to "en". | en |
| smell_id | No | Optional smell id to skip detection when the smell is already known (e.g., "dead-end-states"). |