Check code against the design
check_design_driftCheck UI code (CSS, HTML, JSX/TSX, Tailwind classes) against the project's locked design. Lists every color, font, font size, corner radius and spacing value that is off the design, and anything that breaks the brand feel (drop shadows on a flat brand, gradients, rounded or pill shapes the brand never uses, bounce or slow motion), with the line and the value to use instead. Run it after writing or changing UI code.
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": {
"project": "<project>",
"files": "<files>"
},
"name": "check_design_drift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | The files to check | |
| project | Yes | The project code |