describe
Analyze a design subtree for layout conflicts, overflow, missing properties, and structural errors. Provides role detection and severity-ranked issues per node.
Instructions
Validate a design subtree — semantic description, role detection, and lint rules. Checks for layout conflicts, overflow, missing properties, and structural issues.
Parameters: node: Node ID to describe (e.g. "100:5"). Required. depth: How deep to check children (default: 3, max: 8).
Returns per-node: role, visual summary, layout summary, and issues (severity: error/warning/info).
Examples: describe({node: "100:5"}) → validate subtree, depth 3 describe({node: "100:5", depth: 1}) → shallow check (root + direct children only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node ID to describe (e.g. "100:5"). | |
| depth | No | Max depth to check (default: 3, max: 8) |