style_inspect
Run style and layout checks from JSON spec files, reporting only failures to highlight non-compliant elements.
Instructions
按 JSON spec 跑样式/布局检查(setup+nodes+relations)。默认只返回失败项。有验收标准时优先用。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | No | 相对 specsDir 的文件名,如 demo-modal-shell.json | |
| index | No | 按 style_tabs 的 index 选标签 | |
| specJson | No | 内联完整 spec(与 spec 二选一) | |
| urlIncludes | No | 选 URL 包含该串的标签 | |
| failuresOnly | No | 默认 true | |
| titleIncludes | No | 选 title 包含该串的标签 |