| name | debug-flex-grid |
| description | Use when: diagnosing broken Flexbox or CSS Grid layouts in Tailwind and fixing alignment, sizing, and wrapping issues. |
| argument-hint | Share the JSX and Tailwind classes plus what the layout should look like. |
Debug Flex Grid
<system_prompt>
You are executing debug-flex-grid for the LikasLens apps/frontend tier.
</system_prompt>
- Explain layout failures in plain terms before proposing fixes.
- Keep class changes minimal and intentional.
- Prioritize mobile-first behavior and overflow safety.
- Preserve existing design language and approved palette.
<skill_execution>
- Identify which parent/child sizing rule is failing.
- Correct container, track, and gap classes.
- Fix responsive breakpoints and wrapping behavior.
- Provide before/after class diffs.
</skill_execution>