Agent skill UI design
Antislop Layoutmobile
Organize content through layout, alignment and responsive composition.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add miqdadbadjuber/anti-slop --skill antislop-layoutmobile --agent claude-code --yesCheck this file in your project.claude/skills/antislop-layoutmobile/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add miqdadbadjuber/anti-slop --skill antislop-layoutmobileSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. One directory route, a reproducible narrow viewport, real long labels and the companion antislop.md core.
View operation manualWhat this skill helps with
- Organize content through layout, alignment and responsive composition.
Good for
- Composition and spacing
- Task
- Repair an overflow problem in an existing mobile resource directory
- Requirements
- One directory route, a reproducible narrow viewport, real long labels and the companion antislop.md core.
- Deliverable
- A responsive repair with observed control and overflow checks plus the core PASS or FAIL record.
- Skill name
antislop-layoutmobile- Repository
miqdadbadjuber/anti-slop
Start from the actual design decision
An underspecified request
Hide overflow so the mobile layout looks clean.
The controls and long labels still need to fit and remain operable after the wide layout reflows.
A result you can check
- Read the core and choose the breakpoint from content evidence.
- Change order or stacking only where the phone layout needs it.
- Ground the Delivery Gate in measured or observed evidence.
Antislop Layoutmobile operation manual
A responsive repair with observed control and overflow checks plus the core PASS or FAIL record.
One directory route, a reproducible narrow viewport, real long labels and the companion antislop.md core.
Locate the actual width constraint
Read the core and choose the breakpoint from content evidence.
Prompt · Step 1Use miqdadbadjuber’s installed antislop-layoutmobile Skill and read its SKILL.md first. Read the publisher’s antislop.md core and the mobile-layout Skill together. Open [resource directory] with the longest label and at the failing width. Identify the element imposing the minimum width, the point at which side-by-side content stops fitting and the controls users still need.Reflow the directory around the mobile task
Change order or stacking only where the phone layout needs it.
Prompt · Step 2Use miqdadbadjuber’s installed antislop-layoutmobile Skill and read its SKILL.md first. Fix the diagnosed width constraint in the directory. Let the filter and results reflow, wrap long labels and reserve sufficient target area and separation for adjacent controls. If a genuinely wide element requires local scrolling, keep scrolling within that element. Preserve a clear mobile path to filter and clear.Run both checks on the rendered route
Ground the Delivery Gate in measured or observed evidence.
- The complete page does not scroll sideways at the narrowest test width, and the essential mobile controls are visible and operable.
Prompt · Step 3Use miqdadbadjuber’s installed antislop-layoutmobile Skill and read its SKILL.md first. Run the existing preview or build, then operate each changed control at the narrowest target width and one wider width. Check for page-wide horizontal scroll, clipping, touch targets, filter state and clear action. Report applicable core Delivery Gate and mobile checklist outcomes with evidence, identifying any checks you could not run.
Find the relevant source guidance
Read the cited section in your installed Skill.
Repair an overflow problem in an existing mobile resource directorySKILL.md
- Command or reference
Layoutmobile Skill Checklist- Examples
- The complete page does not scroll sideways at the narrowest test width, and the essential mobile controls are visible and operable.
Troubleshooting
Is the companion core bundled beside the mobile SKILL.md?
The Skill refers to the publisher’s repository-level antislop.md. Open the pinned core link and use it alongside the installed mobile guidance.