xd_audit_design
Audit Adobe XD files to flag WCAG contrast issues, tiny text, small tap targets, placeholder copy, duplicate colors, font/size overload, and default layer names; returns layer IDs and totals.
Instructions
Design QA. Checks text contrast (WCAG, background estimated), tiny text, small tap targets on interactive layers, placeholder text, near-duplicate colors, too many fonts/sizes and default layer names. Returns findings with artboard and layer ids plus per-check totals.
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": {
"file": "<file>"
},
"name": "xd_audit_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to a .xd file | |
| artboard | No | Artboard id or name; omit for the whole file | |
| maxPerCheck | No | ||
| minFontSize | No | ||
| minTapTarget | No |