Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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:

  1. classify the responsive failure first,
  2. choose one primary responsive packet,
  3. keep viewport vs container ownership explicit,
  4. separate dense-data and media cases from generic layout advice,
  5. keep reflow/verification visible,
  6. route neighboring frontend work honestly.

Read these support docs first:

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:

  1. page-layout
  2. component-slot
  3. dense-data
  4. media-behavior
  5. verification-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
Полный SKILL.md на GitHub

Установить responsive-design в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Bash
Grep
Glob

Вложенные файлы

SKILL.toonevals/evals.jsonreferences/handoff-boundaries.mdreferences/intake-packets-and-route-outs.mdreferences/layout-decision-checklist.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить responsive-design с