responsive-ui

responsive-ui is a skill for Claude Code from sukirman1901/frontend-expert. It costs 77 tokens per session (1,091 once invoked), scanned A, original, MIT.

A guide for making web interfaces adapt to phones, tablets, and desktop screens from about 320 to 1440 pixels and beyond. It covers mobile-first layouts, touch targets, navigation, tables, forms, and buttons.

In plain words
What is it for?
Use it when building or changing responsive pages, dashboards, navigation, tables, forms, and marketing layouts. It guides phone menus, stacked controls, adaptive tables, and checks at common screen widths.
Why use it?
It prevents horizontal scrolling, cramped controls, and important actions becoming hard to reach on small screens. It also helps layouts change structure when the available space changes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the frontend-expert plugin — 25 skills, 5 commands, 3 agents, 2 hooks shipped together

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.

agentmods
npx agentmods add skills/sukirman1901/frontend-expert/responsive-ui
Any agent
npx skills add sukirman1901/frontend-expert --skill responsive-ui
Clone the repo
git clone --depth 1 https://github.com/sukirman1901/frontend-expert

Made for: Claude Code.

Or install frontend-expert, the plugin that ships this one along with the rest of its 25 skills, 5 commands, 3 agents, 2 hooks.

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 responsive-ui

README.md
[![agentmods](https://agentmods.dev/badge/skills/sukirman1901/frontend-expert/responsive-ui.svg)](https://agentmods.dev/skills/sukirman1901/frontend-expert/responsive-ui)
Your own site
<a href="https://agentmods.dev/skills/sukirman1901/frontend-expert/responsive-ui"><img src="https://agentmods.dev/badge/skills/sukirman1901/frontend-expert/responsive-ui.svg" alt="Measured on agentmods" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,091 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00077 $0.01091
Opus 5 $0.00039 $0.00545
Sonnet 5 $0.00015 $0.00218
Haiku 4.5 $0.00008 $0.00109

Measured 6d ago against content hash 5361a916abfe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

responsive-ui 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 6d 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/responsive-ui/SKILL.md · 99 lines

How it starts

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

Responsive UI

Overview

Ship layouts that work on all devices — phone floor through desktop. Not React Native: responsive web.

When to use

  • Every /ui / polish build that touches layout
  • “Mobile”, “responsive”, “tablet”, “semua device”, burger / sidebar
  • Tables, dashboards, nav, forms, marketing pages

When to skip

  • Pure token/color tweak with no layout change (still keep existing responsive behavior)
  • Explicit waiver: desktop-only internal tool (must state in Conventions)

Workflow

  1. Mobile-first — base styles for ~320px; enhance at 768 / 1024 / 1440
  2. Check — no horizontal page scroll; primary actions reachable; tap targets ≥44px
  3. Adapt content — tables → cards/stack; side nav → overlay drawer + backdrop; don’t hide profile/account without alternative
  4. Mobile controls — primary CTAs / form submit / destructive row actions → width: 100% below 768; stack button rows vertically
  5. Breakpoint cleanup — on resize past mobile, close drawer / clear is-open / unlock body scroll
  6. Report — Conventions: Responsive: 320/768/1024/1440 checked

Figma Auto Layout → CSS (quick)

Figma CSS
Fill width: 100% / flex: 1 / align-self: stretch
Hug width: fit-content / flex: 0 0 auto
Fixed Explicit width/height
Gap / Padding gap / padding (tokens)
Primary CTA on phone Fill → width: 100% below 768

Full table: references/responsive.md → Figma Auto Layout ↔ CSS.

Mobile controls (MUST <768)

Control Mobile rule Don’t
Primary button Full width (width: 100%) in forms, toolbars, plan/row actions Tiny desktop-width CTA floating left
Secondary in same row Stack under primary, also full width when it’s the only action column Side-by-side cramped pair
Form inputs Full width; font-size ≥ 16px (prevents iOS zoom) 14px inputs that zoom the page
Icon utilities in topbar Keep essentials (e.g. theme + bell + avatar); hide secondary (search) if crowded 4–5 icon buttons + label Menu
Profile Avatar-only → account menu; name/email inside menu Always-on name/email in chrome, or display: none on whole profile
Theme Topbar icon toggle Sidebar footer “Dark mode” button

Read the full file on GitHub · 99 lines

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. 6d ago First seen · 99 lines · 77 tokens per session scan A 5361a916abfe

Subscribe to this mod's changes

responsive-ui is a skill published in the GitHub repository sukirman1901/frontend-expert (10 stars, last pushed 2d ago), licensed MIT. It adds 77 tokens to every session and 1,091 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

Shade ShadCN install

Guardrails for running pnpm dlx shadcn@latest add in Shade — never overwrite existing components, fresh branch first, swap raw colours for semantic tokens after integrating. Trigger when the user proposes a shadcn add, or when a fresh ShadCN-shaped file lands in apps/shade/src/components/ui.

TryGhost/Ghost · 72 tokens

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

可点击的功能性 Web 原型, 含导航、英雄区、特性区、CTA.

nexu-io/html-anything · 24 tokens

waitlist-page

【模板: 等候名单页 / Waitlist】 【意图】为新产品 / 早鸟内测做一张极简等候页。 【布局】.

nexu-io/html-anything · 25 tokens

design-frontend-dev

Clean Impeccable frontend design skill. Use when the user wants to design, redesign, critique, audit, polish, harden, optimize, adapt, clarify, colorize, animate, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, onboarding, empty states…

The-Vibe-Company/companion · 127 tokens