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.
npx agentmods add skills/sukirman1901/frontend-expert/responsive-uinpx skills add sukirman1901/frontend-expert --skill responsive-uigit clone --depth 1 https://github.com/sukirman1901/frontend-expertWrote 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.
[](https://agentmods.dev/skills/sukirman1901/frontend-expert/responsive-ui)<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>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.
| Model | Per session | Once 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 |
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.
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
- Mobile-first — base styles for ~320px; enhance at 768 / 1024 / 1440
- Check — no horizontal page scroll; primary actions reachable; tap targets ≥44px
- Adapt content — tables → cards/stack; side nav → overlay drawer + backdrop; don’t hide profile/account without alternative
- Mobile controls — primary CTAs / form submit / destructive row actions →
width: 100%below 768; stack button rows vertically - Breakpoint cleanup — on resize past mobile, close drawer / clear
is-open/ unlock body scroll - 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 |
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.
- 6d ago First seen · 99 lines · 77 tokens per session scan A 5361a916abfe
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.
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.
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…
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…
prototype-web
可点击的功能性 Web 原型, 含导航、英雄区、特性区、CTA.
waitlist-page
【模板: 等候名单页 / Waitlist】 【意图】为新产品 / 早鸟内测做一张极简等候页。 【布局】.
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…