tailwind-responsive-ui
БесплатноБез исполняемых скриптовНе проверенResponsive UI transformation patterns for Tailwind CSS applications. This skill should be used when making interfaces responsive, refactoring layouts for…
от pproenca★ 231 звезда на GitHubОб этом скилле
Community Responsive UI Tailwind CSS Best Practices
Comprehensive responsive transformation guide for Tailwind CSS applications, based on Refactoring UI by Adam Wathan & Steve Schoger and modern responsive design patterns. Contains 49 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
When to Apply
Reference these guidelines when:
- Making an existing UI responsive across screen sizes
- Building new responsive layouts with Tailwind CSS
- Refactoring desktop-only interfaces for mobile support
- Reviewing responsive code for breakpoint, spacing, and typography issues
- Adapting navigation, forms, and data tables for touch devices
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Breakpoint Strategy | CRITICAL | bp- |
| 2 | Layout Transformation | CRITICAL | layout- |
| 3 | Responsive Spacing | HIGH | rspac- |
| 4 | Fluid Typography | HIGH | fluid- |
| 5 | Navigation Patterns | MEDIUM-HIGH | nav- |
| 6 | Touch & Interaction | MEDIUM | touch- |
| 7 | Responsive Media | MEDIUM | rmedia- |
| 8 | Data Adaptation | LOW-MEDIUM | data- |
Quick Reference
1. Breakpoint Strategy (CRITICAL)
bp-mobile-first-default- Use Mobile-First Breakpoint Directionbp-content-driven-breakpoints- Set Breakpoints Where Content Breaksbp-avoid-device-widths- Avoid Device-Specific Breakpoint Valuesbp-consolidate-breakpoints- Consolidate Breakpoints to Three or Fourbp-min-width-over-max- Use min-width Over max-width for Breakpointsbp-debug-breakpoints- Use Visual Breakpoint Indicators During Development
2. Layout Transformation (CRITICAL)
layout-stack-to-row- Stack Elements on Mobile, Row on Desktoplayout-sidebar-collapse- Collapse Sidebar to Top or Bottom on Mobilelayout-grid-column-reduction- Reduce Grid Columns at Narrower Breakpointslayout-holy-grail-responsive- Use Responsive Holy Grail Layout with Gridlayout-sticky-to-static- Convert Sticky Elements to Static on Mobilelayout-fixed-to-relative- Replace Fixed Positioning with Relative on Mobilelayout-aspect-ratio-containers- Use Aspect Ratio for Responsive Containers
3. Responsive Spacing (HIGH)
rspac-scale-padding-per-bp- Scale Padding Independently Per Breakpointrspac-responsive-gap- Use Responsive Gap for Grid and Flex Spacingrspac-compact-mobile-generous-desktop- Use Compact Spacing on Mobile, Generous on Desktoprspac-section-spacing- Scale Section Dividers with Viewportrspac-inline-to-stack-spacing- Convert Inline Spacing to Stack Spacing on Mobilerspac-container-padding- Use Responsive Container Padding
4. Fluid Typography (HIGH)
fluid-clamp-font-size- Use clamp() for Fluid Font Sizingfluid-responsive-line-height- Tighten Line Height as Font Size Increasesfluid-responsive-measure- Constrain Line Length to 45-75 Charactersfluid-scale-headings-independently- Scale Heading Sizes Independently Across Breakpointsfluid-responsive-letter-spacing- Adjust Letter Spacing for Responsive Headlinesfluid-type-scale- Use a Responsive Type Scale
5. Navigation Patterns (MEDIUM-HIGH)
nav-horizontal-to-hamburger- Collapse Horizontal Nav to Hamburger on Mobilenav-tab-bar-mobile- Use Bottom Tab Bar for Primary Mobile Navigationnav-breadcrumb-collapse- Truncate Breadcrumbs on Mobilenav-sidebar-drawer- Convert Sidebar Nav to Off-Canvas Drawer on Mobilenav-dropdown-to-fullscreen- Expand Dropdown Menus to Full-Width on Mobilenav-sticky-header-compact- Com
Установить tailwind-responsive-ui в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл tailwind-responsive-ui?
Responsive UI transformation patterns for Tailwind CSS applications. This skill should be used when making interfaces responsive, refactoring layouts for multiple screen sizes, or reviewing responsive Tailwind code. Triggers on tasks involving breakpoint strategy, layout adaptation, responsive spacing, fluid typography, mobile navigation, touch interaction, responsive media, or data table responsiveness.
Как установить скилл tailwind-responsive-ui?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл tailwind-responsive-ui запускает скрипты?
Нет, скилл состоит только из инструкций (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