responsive-paradigms
БесплатноБез исполняемых скриптовНе проверенMobile, tablet and desktop are different paradigms, not one layout scaled. Use when designing responsive layouts or deciding what each breakpoint shows.
от dembrandt★ 249 звёзд на GitHubОб этом скилле
Responsive Paradigms
Mobile, tablet, and desktop are fundamentally different interaction contexts. The input method, screen real estate, viewing distance, and session intent all differ. Responsive design is not the same layout at different widths — it is a different design decision at each breakpoint.
The Three Paradigms
Mobile (< 768px)
- Input: Touch — fingers, not a cursor. Tap targets ≥ 44×44px.
- Navigation: Bottom tab bar (thumb reachable) or hamburger drawer. Top navigation is hard to reach.
- Session: Often interrupted, task-focused, shorter. Show the most important thing first.
- Content: Single column. Vertical scroll only. No hover states.
- Primary action: Floating action button (FAB) or full-width button at the bottom of the screen.
Tablet (768px–1024px)
- Input: Touch and sometimes keyboard/trackpad. Hybrid paradigm.
- Navigation: Can support a persistent sidebar at landscape orientation; collapses to drawer at portrait.
- Content: Two-column layouts work. Master-detail patterns (list + detail side by side) are natural.
- Primary action: Can be in-line with content, not necessarily floating.
Desktop (> 1024px)
- Input: Mouse with hover states, keyboard shortcuts, precise clicking.
- Navigation: Persistent sidebar or top navigation. Both visible simultaneously.
- Content: Multi-column, dense information, toolbars, context menus.
- Primary action: In-context with content, supported by keyboard shortcuts for power users.
Section Behaviour Across Breakpoints
Not every section needs to appear on every breakpoint at the same position — or at all.
Sections can be hidden on mobile
Secondary content (related articles, supplementary sidebars, decorative illustrations) can be hidden below a breakpoint. Ask: does a mobile user need this? If no, display: none at mobile is correct.
Stacking is the default; repositioning is allowed within the same container
The default responsive move is simply to stack — a horizontal row of blocks becomes a vertical column as the viewport narrows. This preserves order and grouping, so the user's mental model of the page survives the breakpoint unchanged. Reach for it first.
Repositioning an element is also allowed — but only if it stays within roughly the same container area / region. A sidebar that sits to the left on desktop can move below the main content on mobile, or collapse into an expandable section: it's still "the stuff next to / around the main content", just re-flowed. That's fine.
What to avoid: repositioning that moves an element into a different container or scope — a control lifted from its card into the global header reads as a different UI, not a reflow. Keep the parent region stable; change only how it flows within it.
Desktop: Mobile:
[Main] [Sidebar] → [Main]
[▼ Related] ← collapsed accordion, still "around the main content"
Sticky behaviour can change per breakpoint
An element that is position: sticky on desktop may need to become a fixed bottom bar on mobile, or be removed from sticky positioning entirely to free up screen space.
.toolbar {
position: static; /* mobile: inline, not sticky */
}
@media (min-width: 1024px) {
.toolbar {
position: sticky;
top: var(--header-height);
}
}
Navigation transforms completely
| Desktop | Mobile |
|---|---|
| Persistent top nav or sidebar | Bottom tab bar or hamburger drawer |
| Visible labels + icons | Icons only (bottom nav) or full list (drawer) |
| Hover states on nav items | None — touch only |
| Dropdowns on hover | Tap to expand, full-screen or sheet |
Labels can be shortened — but the full meaning must be recoverable
As space tightens, a label can be shortened or dropped to icon-only. Shortening hides information, so keep the full version reachable — the same "clamp + recover" contract as truncated text (see repeated-component-alignment):
- Recover it via
title/aria-label(required for icon-only controls), or in a detail view / the desktop layout. - Icon-only is valid only if the icon is unambiguous and still carries its label via
aria-label. A cryptic icon is worse than the long word.
Mobile-First Approach
Design and build mobile first, then enhance for larger screens. Mobile forces prioritisation — what makes it onto mobile is what actually matters.
/* Mobile first: base styles are mobile */
.container { padding: var(--space-4); }
/* Enhance for larger screens */
@media (min-width: 768px) {
.container { padding: var(--space-8); }
}
@media (min-width: 1024px) {
.container {
display: grid;
grid-template-columns: 1fr 300px;
gap: var(--space-8);
}
}
/* Ultra-wide protection */
@media (min-width: 1600px) {
.container {
max-width: 1440px;
margin-left: auto;
margin-right: auto;
}
}
Max-Width and Ultra-Wide Screens
Respon
Установить responsive-paradigms в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл responsive-paradigms?
Mobile, tablet and desktop are different paradigms, not one layout scaled. Use when designing responsive layouts or deciding what each breakpoint shows.
Как установить скилл responsive-paradigms?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл responsive-paradigms запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic