Skip to content
Back to skills

Unprompted Mobile

ASecurity

Responsive mobile reflow, breakpoint choreography, touch target sizing, overflow prevention, and small-screen data density rules. Load whenever building responsive pages, navigation bars, dashboards, tables, or forms.

  • 670 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 30, 2026
ai-agentsgoshellgit

Works with

  • cli

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add mocasus/unprompted --skill unprompted-mobile --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Unprompted Mobile?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Unprompted Mobile
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mocasus-unprompted-mobile/badge)](https://www.skillsdirectory.com/skills/mocasus-unprompted-mobile)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: unprompted-mobile
version: 4.3.3
license: MIT
description: >-
  Responsive mobile reflow, breakpoint choreography, touch target sizing,
  overflow prevention, and small-screen data density rules. Load whenever
  building responsive pages, navigation bars, dashboards, tables, or forms.
compatibility: [windows, macos, linux]
metadata:
  author: mocasus
  category: responsive
  repository: https://github.com/mocasus/unprompted
  openclaw:
    emoji: "📱"
---

# unprompted-mobile — Responsive Reflow & Touch Ergonomics

Extends v4 `S-09`, `S-10`, `A-08`, `A-12`, `E-02`, and `E-05`. Desktop screens shrunk onto a `375px` phone with clipped headlines, horizontal page scroll, and `24px` buttons are a classic AI blind spot.

---

## 1. Zero unintended horizontal scroll (`S-10`, `E-05`)

- Every layout must adapt cleanly down to **`320px` CSS width** without causing `document.documentElement.scrollWidth > window.innerWidth`.
- Always apply `min-width: 0` (`minmax(0, 1fr)` in CSS Grid, `min-w-0` in Flex/Grid children) around code blocks, URLs, long identifiers, and charts so intrinsic content never blows out its parent track.
- Fluid display sizing (`clamp(2.1rem, 1.6rem + 3vw, 4.1rem)`) prevents long words from clipping off the right viewport edge on narrow screens.
- Bounded-scroll is allowed only inside a deliberate container (`overflow-x: auto` on a table or code block); the page itself must not scroll sideways.
- Attach `E-05` proof at the narrowest supported width.

---

## 2. Touch target & spacing ergonomics (`A-08`)

- Every interactive tap target (menu triggers, icon buttons, pagination links, filter pills, checkboxes, close buttons) must provide at least **`44×44 CSS px`** of clickable hit area (`min-height: 44px; min-width: 44px` or invisible pseudo-element hit expansion), separated by at least `8px` from adjacent actions.
- Set form control font size to **`>= 16px` (`1rem`)** on mobile viewports so iOS Safari does not trigger jarring auto-zoom on input focus.
- Use `100dvh` (dynamic viewport height) instead of `100vh` for full-height mobile drawers and hero shells so mobile browser address bars never clip bottom primary buttons, and respect `env(safe-area-inset-bottom)`.

---

## 3. Responsive priority (`S-09`)

Narrow layouts reorder, stack, or bound-scroll by importance. Do not solve a narrow layout by clipping or hiding essential content.

1. **Tables -> structured ledger cards or bounded scroll**:
   - When `<= 4` key attributes matter per row, transform rows below `640px` into compact stacked ledger items (primary identifier + right-aligned tabular metric on top, secondary metadata underneath).
   - When exact cross-row column comparison is essential, wrap the `<table>` inside an explicit `overflow-x: auto` container with a sticky first column—never let the whole page scroll horizontally.
2. **Multi-column grids**:
   - Collapse `7fr/5fr` asymmetric splits and 3-column hairline matrices cleanly to `1fr` single-column stacks below `840px`, re-ordering visual proofs only when reading logic demands it.
3. **Charts & KPI strips**:
   - Replace wide multi-axis desktop charts on phone viewports with single-column stacked bars, compact sparklines, or 2-up metric cells with `tabular-nums`.
4. **Navigation**:
   - Keep the primary action reachable; do not hide it behind a hamburger when one direct action would fit. If a drawer is necessary, trap focus, close on `Escape`, and restore focus (`A-03`).

---

## 4. Zoom & reflow (`A-12`, `E-02`)

- At 200% zoom, content reflows without loss, clipping, or horizontal scroll.
- Evidence must include `320`, `768`, `1440`, and `1920` widths (or documented breakpoints plus `320` and the maximum supported width). A mobile pass without a desktop maximum-width check is `UNVERIFIED`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.