responsive-design

responsive-design is a skill for Claude Code, Codex from epam/ai-dial-chat. It costs 47 tokens per session (2,564 once invoked), scanned A, original, Apache-2.0.

A workflow for making interface changes fit both phone and desktop screens. Responsive design means a layout adapts to different screen sizes.

In plain words
What is it for?
Use it when changing or reviewing UI, especially when matching separate mobile and desktop designs, with phone-first layout rules and desktop adjustments.
Why use it?
It prevents a change that looks correct on one screen size from breaking or becoming unusable on another.

Skill for Claude CodeCodex

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/epam/ai-dial-chat/responsive-design
Any agent
npx skills add epam/ai-dial-chat --skill responsive-design
Clone the repo
git clone --depth 1 https://github.com/epam/ai-dial-chat

Made for: Claude Code, Codex.

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-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/epam/ai-dial-chat/responsive-design.svg)](https://agentmods.dev/skills/epam/ai-dial-chat/responsive-design)
Your own site
<a href="https://agentmods.dev/skills/epam/ai-dial-chat/responsive-design"><img src="https://agentmods.dev/badge/skills/epam/ai-dial-chat/responsive-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,564 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 $0.00047 $0.02564
Opus 5 $0.00023 $0.01282
Sonnet 5 $0.00009 $0.00513
Haiku 4.5 $0.00005 $0.00256

Measured 5d ago against content hash 42c595c9b8a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

responsive-design 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 5d 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.

.claude/skills/responsive-design/SKILL.md · 186 lines

How it starts

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

Responsive design

Overview

The chat app must render correctly on mobile (≤768px) and desktop (≥769px). Desktop is the historical baseline — most existing code is desktop-only. Treat mobile-first as the authoring default for new and changed UI: write the base classes for the smallest supported viewport and add desktop overrides via desktop:.

Project breakpoints

Defined in tailwind.config.js (extend.screens) and inherited by all lib Tailwind configs via preset:

// tailwind.config.js — extend.screens
mobile: { max: '768px' },   // ≤768 px  — phones and small tablets
desktop: { min: '769px' },  // ≥769 px  — tablets landscape, laptops, monitors
Prefix Range When to use
(no prefix) always mobile-first base — smallest layout
mobile: ≤768 px overrides that apply only mobile
desktop: ≥769 px overrides that kick in on desktop

desktop: is a min-width prefix — styles cascade upward to all wider viewports.

Do not use small_tablet:, large_tablet:, large_desktop: — these prefixes are not in the config and Tailwind will silently ignore any class that uses them.

Do not use sm: / md: / lg: / xl: — the default Tailwind breakpoints exist in the config (via extend) but are out of scope for this project and should not be used.

When to use Tailwind prefixes vs. a JS hook

Default: Tailwind utility prefixes. They are SSR-safe, avoid first-paint flicker, and keep layout decisions in markup.

<aside className="hidden desktop:block">…</aside>
<button className="h-12 mobile:h-14">…</button>

Escape hatch: useBreakpoint / useIsMobile from apps/chat/src/hooks/breakpoint/useBreakpoint.ts. Reach for these only when:

  • A component must mount entirely different subtrees per breakpoint (e.g. drawer vs. persistent sidebar) and a CSS-only hidden/block swap would still mount both
  • An effect or imperative handler needs to branch on viewport size (focus, autoplay, virtualisation row count)
  • A third-party component accepts a prop that toggles its mobile layout

Read the full file on GitHub · 186 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. 5d ago First seen · 186 lines · 47 tokens per session scan A 42c595c9b8a3

Subscribe to this mod's changes

responsive-design is a skill published in the GitHub repository epam/ai-dial-chat (504 stars, last pushed today), licensed Apache-2.0. It adds 47 tokens to every session and 2,564 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-30.