design_audit
Audits design work via WCAG 2.1 accessibility checks, anti-pattern slop gates, 6-axis quality critique, or preflight token and stack scans, so issues surface before shipping.
Instructions
Audit design work. Select action: accessibility (25-check WCAG 2.1), slop (35-gate anti-pattern check), critique (6-axis quality score), or preflight (scan an existing project's design tokens and stack).
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": {
"action": "<action>"
},
"name": "design_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | Full HTML required for accessibility | |
| genre | No | Genre for scoped slop gates | editorial |
| action | Yes | Audit mode | |
| content | No | HTML/CSS required for slop and critique | |
| project_path | No | Project root for preflight (defaults to MCP root) |