antislop-layoutmobile

Reviews and fixes responsive layouts for mobile breakpoints, overflow, and tap targets.

1|Updated Aug 29, 2026
One-click install
npx skills add https://github.com/IzzatFirdaus/task-enterprise-api --skill antislop-layoutmobile-izzatfirdaus
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: antislop-layoutmobile
Source: https://github.com/IzzatFirdaus/task-enterprise-api/tree/main/.gemini/skills/antislop-layoutmobile
Command: npx skills add https://github.com/IzzatFirdaus/task-enterprise-api --skill antislop-layoutmobile-izzatfirdaus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Mobile layouts often fail because they are desktop designs squeezed into a narrow viewport: grids that never collapse, horizontal overflow, oversized type, and tap targets too small for thumbs. This Skill gives AI coding agents a concrete rule set and checklist to detect and fix those responsive layout failures. ## Core Features & Use Cases - Breakpoint and Scale Rules: Enforces content-driven breakpoints, fluid type with clamp(), and mobile-specific sizing instead of fixed pixel values carried from desktop. - Grid, Overflow, and Tap Target Fixes: Covers collapsing multi-column grids, eliminating horizontal scroll leaks, and enforcing 44x44 px minimum touch targets with spacing. - Mobile Navigation Patterns: Guides reflowing desktop nav bars into bottom navs or labeled menus without covering content or stealing screen space. - Use Case: When asked to make a landing page work on phones, the agent applies the Tell/Why/Fix patterns and runs the Layoutmobile Skill Checklist to verify the layout reflows correctly at narrow widths. ## Quick Start Load this skill together with the antislop core and ask the agent to review and fix the page layout so it holds up on mobile screens.

Frequently Asked Questions about antislop-layoutmobile

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix a layout that breaks on mobile screens?▼

Define a real mobile state at the breakpoint where content stops working: collapse multi-column grids into a single stacked column, reduce type and padding to a mobile scale, and verify the whole layout at a narrow viewport width rather than patching individual symptoms.

How to prevent horizontal scrolling on mobile pages?▼

Find the element wider than the viewport, such as a table, code block, or fixed-width child, then contain or reflow it. Use max-width: 100% on images, wrapping for code, and relative units with min-width: 0 on grid children so nothing overflows.

What is the minimum tap target size for mobile?▼

Interactive targets should be at least 44 x 44 px, achieved through padding or a larger hit box even when the visual element is smaller. Adjacent targets also need clear spacing so a thumb tap does not hit the wrong control.

Should breakpoints be based on device widths like 375px?▼

No. Breakpoints should be placed where the content actually breaks, not matched to specific phone models. Narrow the viewport, watch where the layout stops holding, and set the breakpoint there so the design follows content rather than a device list.

Why avoid 100vh for mobile section heights?▼

On mobile browsers, 100vh includes browser chrome, so full-viewport sections overflow the visible area and push content below the fold. Let sections size to their content with auto, or use the dynamic viewport unit dvh when a full-height section is intended.