responsive-design
БесплатноБез исполняемых скриптовНе проверенRouting-first responsive layout strategy and verification for web interfaces. Use when the main job is classifying whether the failure is page-shell…
от akillness★ 63 звезды на GitHubОб этом скилле
Responsive Design
Use this skill when the job is to name the failing responsive surface, choose the smallest viable adaptation packet, and leave behind a short strategy + verification brief.
The job is not to dump generic CSS recipes, paste framework snippets, or absorb every neighboring frontend concern.
This skill should:
- classify the responsive failure first,
- choose one primary responsive packet,
- keep viewport vs container ownership explicit,
- separate dense-data and media cases from generic layout advice,
- keep reflow/verification visible,
- route neighboring frontend work honestly.
Read these support docs first:
- references/intake-packets-and-route-outs.md
- references/layout-decision-checklist.md
- references/handoff-boundaries.md
When to use this skill
- A team says “this page breaks on mobile” and the real responsive surface is still unclear.
- A dashboard, nav, form, card grid, pricing page, table, or embed needs a responsive strategy before more breakpoints are added.
- You need to decide whether the fix belongs in viewport layout rules, container queries, intrinsic layout, responsive media handling, or verification/reflow follow-up.
- A launch-readiness pass uncovered overflow, wrapping, density, or zoom/reflow failures and someone needs one bounded packet instead of a CSS lecture.
- The request mixes page-level adaptation, component reuse, and dense-data pressure and needs routing before implementation.
When not to use this skill
- The main task is reusable primitive / slot / variant API design or component-family ownership →
design-system - The main task is keyboard/focus behavior, semantics, labels, contrast, reduced motion, or accessibility-heavy remediation →
web-accessibility - The main task is breakpoint governance, token policy, or cross-product responsive standards →
design-system - The main task is broad UI critique, polish, heuristic review, or launch-readiness audit across many dimensions →
web-accessibility - The main task is React hydration, rerender churn, or client-boundary performance behavior →
react-best-practices - The responsive strategy is already clear and the job is just implementation; in that case implement directly instead of re-running the router
Instructions
Step 1: Frame the responsive job before naming CSS
Capture the minimum intake packet first.
responsive_intake:
surface: page-shell | nav | form | table | dashboard | card-grid | media-embed | component-slot | mixed | unknown
workflow_type: bug-fix | refactor-plan | launch-readiness | review-follow-up | design-handoff | unknown
primary_packet: page-layout | component-slot | dense-data | media-behavior | verification-reflow | mixed | unknown
pressure_source: viewport-width | parent-container | content-density | localization-copy | zoom-reflow | mixed | unknown
signal_source: bug-report | screenshot | browser-resize | qa-review | design-review | a11y-review | mixed | unknown
confidence: high | medium | low
Rule: do not start with “add another breakpoint.” First label the failing responsive surface.
Step 2: Choose exactly one primary responsive packet
Use the router in references/intake-packets-and-route-outs.md.
Primary packets:
page-layoutcomponent-slotdense-datamedia-behaviorverification-reflow
Pick the highest-leverage packet for the current decision. List anything else as follow-up, not as equal co-owners.
Step 3: Keep the invariants visible
These rules survive every answer:
- mobile-first defaults are still the safest baseline for feature delivery
- intrinsic layout beats breakpoint sprawl when it solves the problem cleanly
- viewport rules own page-shell changes; container rules own reusable slot adaptation
- breakpoints should reflect content pressure, not device brand names
- dense tables/toolbars are special cases and often need explicit fallback choices
- responsive media needs intentional
srcset/sizes/ aspect-ratio thinking, not just width: 100% - zoom/reflow and long-copy stress are verification requirements, not afterthoughts
Step 4: Build the responsive strategy packet
Return this structure:
# Responsive Strategy Packet
## Scope
- Surface:
- Workflow type:
- Primary packet:
- Confidence: high | medium | low
## Current signal
- Main symptom:
- Pressure source:
- What is already known:
- What still needs direct verification:
## Recommended first slice
1. ...
2. ...
3. ...
## Layout decisions
- Mobile-first baseline:
- Intrinsic layout rules:
- Viewport query layer:
- Container-query usage:
- Dense-data / media fallback:
## Verification plan
- Narrow-width checks:
- Zoom / reflow checks:
- Overflow / wrapping checks:
- Content-density / localization checks:
## O
Установить responsive-design в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteBashGrepGlobВложенные файлы
FAQ
Что делает скилл responsive-design?
Routing-first responsive layout strategy and verification for web interfaces. Use when the main job is classifying whether the failure is page-shell adaptation, reusable component/container behavior, dense-data or toolbar pressure, responsive media, or reflow verification — then turning vague “breaks on mobile” requests into one concrete strategy packet. Route component API design and system-wide breakpoint/token governance to `design-system`, and accessibility remediation plus broad UI audit work to `web-accessibility`.
Как установить скилл responsive-design?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл responsive-design запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic