antislop-layoutmobile
하는 일
다양한 화면 크기에 맞게 바뀌는 반응형 레이아웃에 대한 규칙을 AI 코딩 도우미에게 줍니다. 페이지가 휴대폰과 컴퓨터 모두에서 보기 좋고 잘 작동하기를 원하는 개발자를 위한 것입니다.
사용하는 경우
- ✓개발자가 휴대폰과 데스크톱 화면에서 모두 작동해야 하는 레이아웃을 만들 때.
- ✓개발자의 페이지가 옆으로 넘치거나 작은 화면에서 깨지는 경우.
- ✓개발자가 휴대폰에서 누르기 쉬운 버튼과 링크를 원할 때.
스킬 링크
https://github.com/miqdadbadjuber/anti-slop/blob/main/skills/antislop-layoutmobile/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 사이트가 휴대폰에서 화면 밖으로 넘칩니다. 제대로 다시 배치되도록 레이아웃을 고쳐 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 모바일 레이아웃을 독립된 디자인으로 봅니다. 콘텐츠를 다시 쌓고, 크기를 다시 맞추고, 순서를 바꿉니다. 브레이크포인트, 격자, 넘침, 터치 크기, 내비게이션을 점검합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
antislop-layoutmobile
Anti Slop: Rules for AI Coding Agents. Mobile Layout skill
Part of the antislop system. Read together with
antislop.md(the core). This skill deep-dives the responsive layout concern: how a layout must reflow across screen sizes, phone to desktop. Breakpoints, scale, grids, overflow, tap targets, and navigation. It references core rules by number and never duplicates or renumbers them. Load it when the task builds or edits a layout that has to hold up at any screen width.
How to use this skill
- Load together with
antislop.mdwhenever the task is mobile or responsive layout work. The core holds the mechanism (the purpose test, the three tiers, the Delivery Gate); this skill holds mobile-layout depth. - Every entry has the same shape: Tell (the pattern), Why (why it reads as slop), Fix (what to do instead), with the governing core rule cited as R-XX.
- The principle behind this skill: mobile layout is a different layout, not the desktop layout at a smaller size. It must reflow: re-stack, rescale, and re-order with intent. Every pattern below is a way a layout fails to reflow.
- The Delivery Gate in the core remains the gate. The "Layoutmobile Skill Checklist" at the end of this file is the mobile-specific supplement to run alongside it.
Breakpoints
Desktop-Only Layout
- Tell: one layout state for every screen; the mobile view is the desktop layout squeezed into a phone.
- Why: R-03 requires a mobile layout that is perfect, not an afterthought. A page that only shrinks has no mobile design at all: cards that worked side by side overlap, and text meant for a wide canvas crowds into a narrow one.
- Fix: define a real mobile state at the breakpoint where the content stops working. The mobile layout reflows: columns stack, sizes drop, and order changes where the content needs it. If the mobile view is just the desktop view at a smaller width, the layout is not done.
Breakpoint Driven by Device List
- Tell: breakpoints named after phone widths (375px, 414px, 768px) chosen because "that is the iPhone size", not because the content breaks there.
- Why: device widths change every year and every model. A breakpoint is a point where the layout stops holding; forcing it to match a device list makes the layout follow a spec sheet instead of the content (R-03).
- Fix: place breakpoints where the content actually breaks: when a column stops being readable, when a row of cards gets too narrow. Test by narrowing the viewport and watching where it snaps, then set the breakpoint there.
Mobile Styled Last
- Tell: mobile rules bolted on as a trailing override: a long desktop stylesheet with a small media query at the end fixing one or two things.
- Why: an override patch is not a mobile design. It fixes the symptom that got reported and leaves the next one, and the base styles stay tuned for a wide screen (R-03).
- Fix: treat mobile as a designed state, not an override. Give the narrow viewport its own deliberate sizes and stacking, and verify the whole layout there, not just the patched spots (R-35).
Two-State Layout
- Tell: a layout with exactly two states: a single stacked column below one breakpoint, and a wide multi-column grid above it, with nothing defined in between. A tablet or small laptop width then inherits whichever state is closest: the phone stack stretched absurdly wide, or the desktop grid crammed into a fraction of its intended canvas.
- Why: a page is a continuous range of widths, and R-03 demands it hold up at every one of them, not just two chosen breakpoints. Two states leave the whole middle band of the range (roughly 600 to 1024 px, where tablets and small laptops live) as an accident: content that neither stacks with intent nor sits in a grid that fits. The layout reads as designed only at its two sample points and broken everywhere between.
- Fix: define real states at the widths where the content stops working, and let them be as many as the content needs. A typical reflow is three states, not two: single column, then a two-column grid when cards get too wide as a single stack, then the full multi-column grid only when it genuinely fits. Verify by dragging the viewport through the whole range, not by checking two widths and calling it done (R-35).
Scale & Sizing
Desktop-Sized Everything
- Tell: padding, gaps, hero heights, and card sizes carried unchanged from desktop t
자주 묻는 질문
모바일 레이아웃은 그냥 작아진 데스크톱 레이아웃인가요?
아니요. 휴대폰 레이아웃은 단순히 줄이는 것이 아니라 의도를 가지고 다시 배치해야 한다고 설명합니다.
터치 영역도 확인하나요?
네. 휴대폰에서 버튼을 쉽게 누를 수 있도록 터치 영역을 다룹니다.
핵심 antislop 파일이 필요한가요?
네. 공통 규칙이 들어 있는 주 antislop 파일과 함께 쓰도록 만들어졌습니다.
상세 정보
작성자의 원본 설명
Mobile layout skill for antislop. Use for layouts that reflow across screen sizes, phone to desktop: grids, overflow, tap targets. Load with the core.
repo: miqdadbadjuber/anti-slop
인기도
- GitHub 스타
- 8.0k
- 순위
- #12651
- 라이선스
- MIT
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
antislop-code
8.0k에이전트가 코드 자체는 건드리지 않고, 장식적이고 뻔한 AI 티 나는 코드 주석을 정리하도록 돕습니다.
antislop-copywriting
8.0k에이전트가 마케팅 문구, 제목, 행동 유도 문장을 평범하고 사람다운 말로 쓰고 고치도록 돕습니다. AI 글쓰기 패턴과 지어낸 사실은 피합니다.
antislop-human
8.0k에이전트가 실제 사람들이 읽고, 누르고, 쓸 수 있도록 명암 대비, 키보드 사용, 보이는 포커스, 분명한 상태가 있는 화면을 만들도록 돕습니다.
antislop-ui
8.0k에이전트가 일반적인 템플릿처럼 보이지 않도록, 신중한 색상과 실제 레이아웃, 목적 있는 움직임으로 인터페이스를 설계하도록 돕습니다.
비슷한 스킬
angular-developer
280k에이전트가 Angular 코드를 만들고 프로젝트 구조를 조언하도록 돕습니다. 새 프로젝트 시작, 코드 부분 생성, 성능과 접근성 개선에 유용합니다.
frontend-a11y
280k모든 사람이 웹 인터페이스를 쓸 수 있도록 에이전트를 돕습니다. 웹사이트와 앱이 화면 읽기 프로그램과 키보드 탐색에서 잘 작동하도록 합니다.
frontend-patterns
280k프론트엔드 개발의 현대적인 패턴을 적용하도록 에이전트를 돕습니다. React와 Next.js에서 성능을 최적화하고, 상태를 관리하며, 모범 사례를 따릅니다.