Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Make layouts and components work correctly across screen sizes, devices, and web/app contexts. Use this skill when building or reviewing UI that must adapt to different viewport sizes, when implementing layouts in Next.js/Vite (web breakpoints) or Expo Router (device sizes and safe areas), or when a responsive bug is reported (layout breaks on mobile/tablet/desktop). Do not use it for backend-only or non-visual tasks.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-10 | ✓→✗ | ▼ Worse | 40% | 0% |
| case-01 | ✓→✓ | = Same ✓ | 9% | 0% |
| case-02 | ✓→✓ | = Same ✓ | 2% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 20% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 39% | 0% |
Ensure layouts and components adapt correctly across screen sizes and platforms without breaking other breakpoints or hiding important content.
--breakpoint-sm, sm:/md:/lg: if Tailwind, or platform-specific dimension logic in Expo).%, fr, rem, flex) instead of fixed pixel widths/heights, unless a fixed size is intentional (e.g. icon size).SafeAreaView/safe area hooks and platform-appropriate units; avoid assuming a single fixed device size.Do not invent a custom final response format for this skill. Follow the Global Agent Output and Reporting Skill. Only include skill-specific reporting details when necessary for understanding the completed work.
Other measured skills in the registry, with their headline benchmark lift.