name: debug-layout description: Diagnose layout issues in Gridland components. Spawns the layout-debugger agent with the relevant component. Use when a component renders incorrectly or layout looks wrong.
Diagnose layout issues in a Gridland component.
If
$ARGUMENTSprovided, find the component file matching the argument (component name or file path).If no argument, ask which component has the layout issue.
Read the component file to understand its JSX structure.
Spawn the
layout-debuggeragent with the component file path and a description of the visual problem.Present the diagnosis: what's wrong, why, and how to fix it.
Suggest running
bun run demo <component-name>to visually verify the fix.