mobile-frontend

mobile-frontend is a skill for Claude Code from bestdeejay-design/agent-skills. It costs 43 tokens per session (2,180 once invoked), scanned A, original, MIT.

A workflow for building and checking websites designed for phones first. It covers mobile layout rules, touch-friendly controls, safe areas around phone edges, menus, navigation and final checks.

In plain words
What is it for?
Use it to create a mobile-first frontend, debug phone navigation, check responsive layouts and perform a final mobile quality review.
Why use it?
It helps find mobile problems such as broken hamburger menus, misplaced anchor links or controls that are difficult to tap. It keeps mobile implementation and verification in one workflow.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit Use it to create a mobile-first frontend, debug phone navigation, check responsive layouts and perform a final mobile quality review.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bestdeejay-design/agent-skills/mobile-frontend
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bestdeejay-design/agent-skills --skill mobile-frontend
Clone the repo
git clone --depth 1 https://github.com/bestdeejay-design/agent-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mobile-frontend

README.md
[![agentmods](https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/mobile-frontend/github.svg)](https://agentmods.dev/skills/bestdeejay-design/agent-skills/mobile-frontend)
Your own site
<a href="https://agentmods.dev/skills/bestdeejay-design/agent-skills/mobile-frontend"><img src="https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/mobile-frontend/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mobile-frontend

Your own site · 80×15
<a href="https://agentmods.dev/skills/bestdeejay-design/agent-skills/mobile-frontend"><img src="https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/mobile-frontend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,180 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.02180
Opus 5 $0.00022 $0.01090
Sonnet 5 $0.00009 $0.00436
Haiku 4.5 $0.00004 $0.00218

Measured 9d ago against content hash 3184a907863f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

mobile-frontend scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mobile-frontend/SKILL.md · 136 lines

How it starts

The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.

mobile-frontend

Композитный скилл для качественной мобильной вёрстки и фронтенда: от правил (отступы, шрифты, якоря, токены) через сборку к многоуровневой проверке с отладкой каждого элемента — включая меню и навигацию — и финальному аудиту перед сдачей. Это «дирижёр»: он держит единый воркфлоу и перенаправляет узкие задачи соседним скиллам (frontend-design-taste, frontend-perfection, /visual-qa, /frontend), а сам владеет мобильными правилами и чек-листом отладки навигации.

Когда использовать

  • «сделай мобильную версию», «mobile-first вёрстка», «адаптив под телефон»
  • «проверь мобилку», «аудит мобильной вёрстки», «mobile QA»
  • «меню/гамбургер не работает на телефоне», «якоря упираются в шапку»
  • «доведи мобильный фронт до идеала», «mobile lighthouse 100»

Не подменяйте этим скиллом

  • Чистая эстетика/палитра без мобильного контекста → frontend-design-taste
  • Глубокий a11y-аудит (ARIA, контраст, фокус-ловушки, скринридер) → frontend-a11y
  • Глубокий perf-аудит (заголовки, вес бандла, CWV, resource-hints) → frontend-performance
  • E2E/визуальные/контрактные тесты → frontend-testing
  • Быстрый Lighthouse/контраст/токены/OG на десктопе → frontend-perfection
  • Один конкретный баг в меню → см. references/debug-menu-nav.md, но воркфлоу всё равно прогоняйте по уровням.

Необходимые мобильные правила (база)

Все числа — в references/tokens.md. Кратко:

  1. Tap-target ≥ 44×44px для любой интерактивной цели (кнопка, ссылка-иконка, пункт меню). Меньше — не прощается.
  2. Нет горизонтального скролла (overflow-x на <html>/<body> недопустим как постоянное состояние; ловите элемент-нарушитель через scrollWidth > clientWidth).
  3. Якоря под фиксированной шапкой: :target и scroll-margin-top равны высоте sticky-хедера + отступ (обычно scroll-margin-top: calc(var(--header-h) + 16px)).
  4. Safe-area: viewport-fit=cover + env(safe-area-inset-*) для нижней панели (home indicator) и чёлки. Меню/CTA не должны упираться в индикатор.
  5. Шрифты: font-display: swap, мобильная тип-шкала на clamp(), базовый размер ≥ 16px для body (чтобы не зумíло при фокусе поля в iOS).
  6. Токены, а не магия: все цвета/отступы/радиусы — через CSS-переменные, вне токенов — только transparent/currentColor.
  7. Контраст WCAG AA: 4.5:1 текст, 3:1 крупный/UI. Проверяется люменесцентно, не «на глаз».
  8. prefers-reduced-motion: анимации меню/переходов защищены @media (prefers-reduced-motion: reduce).

Read the full file on GitHub · 136 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 136 lines · 43 tokens per session scan A 3184a907863f

Subscribe to this mod's changes

mobile-frontend is a skill published in the GitHub repository bestdeejay-design/agent-skills (5 stars, last pushed 2d ago), licensed MIT. It adds 43 tokens to every session and 2,180 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.