antislop-layoutmobile

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

Updated Aug 1, 2026
One-click install
npx skills add https://github.com/dxiiren/project-skeleton --skill antislop-layoutmobile-dxiiren
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: antislop-layoutmobile
Source: https://github.com/dxiiren/project-skeleton/tree/main/.claude/skills-optional/anti-slop/antislop-layoutmobile
Command: npx skills add https://github.com/dxiiren/project-skeleton --skill antislop-layoutmobile-dxiiren

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Mobile layouts often fail because they are desktop designs squeezed into a narrow viewport: columns collide, text stays oversized, pages scroll sideways, and tap targets are too small. This Skill gives an AI coding agent a concrete rulebook of mobile layout anti-patterns with fixes, so responsive work is verified against real failure modes instead of guesswork. ## Core Features & Use Cases - Anti-pattern catalog with fixes: Each entry follows a Tell / Why / Fix structure covering breakpoints, scale and sizing, grids and stacking, overflow, tap targets, and mobile navigation, citing governing core rules (R-03, R-05, R-35). - Mobile layout checklist: A nine-item verification checklist run alongside the core antislop Delivery Gate to confirm reflow, sizing, overflow, tappability, and navigation at narrow widths. - Use Case: While building a landing page, ask the agent to make it responsive. The Skill guides it to collapse grids to a single column, replace fixed pixel type with fluid clamp() sizing, enforce 44x44px tap targets, and eliminate horizontal scroll leaks. ## Quick Start Load this skill together with the antislop core and ask the agent to review and fix my page layout so it holds up on a phone-width viewport.

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 responsive layout that breaks on mobile?

Identify which anti-pattern applies: columns that do not collapse, fixed pixel sizing, or horizontal overflow. Then reflow the layout at the breakpoint by stacking grids to one column, using fluid clamp() type, and containing wide elements, verifying at a narrow viewport width.

How to choose CSS breakpoints for responsive design?

Place breakpoints where the content actually breaks, not at device widths like 375px or 768px. Narrow the viewport until a column becomes unreadable or cards get too tight, and set the breakpoint at that point.

What is the minimum tap target size for mobile?

Interactive targets should be at least 44 x 44 px, achieved with 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.

Why does my page scroll horizontally on mobile?

Horizontal scroll happens when an element is wider than the viewport, such as a table, code block, image, or fixed-width flex child. Fix it with max-width: 100% on media, wrapping code blocks, reflowing tables, and removing fixed pixel widths on children.

Does this skill work without the antislop core skill?

No, it is designed to load together with the antislop core file, which holds the purpose test, the three tiers, and the Delivery Gate. This skill only adds mobile layout depth and references core rules by number without duplicating them.