designer_verify_implementation
Verifies implementation code against DESIGN.md contract by checking for anti-patterns, OKLCH tokens, and accessibility rules. Reports per-section compliance for ship-gate readiness.
Instructions
Verify implementation code against its DESIGN.md contract. Runs pattern checks for anti-patterns (AI purple, font-weight 500 everywhere, cold shadows, etc.), verifies OKLCH tokens present, checks for prefers-reduced-motion, and reports per-section compliance. Use this before ship-gate. Caller reads files locally and passes contents inline.
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": {
"design_md_content": "<design_md_content>",
"code_files": "<code_files>"
},
"name": "designer_verify_implementation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code_files | Yes | Array of code files to verify. Each item has {path, content}. Path is informational only. | |
| design_md_content | Yes | Full text content of the DESIGN.md file |