MCPInstall

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.

Installs
464
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/pproenca/dot-skills --skill tailwind-responsive-ui
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads tailwind-responsive-ui automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

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

PriorityCategoryImpactPrefix
1Breakpoint StrategyCRITICALbp-
2Layout TransformationCRITICALlayout-
3Responsive SpacingHIGHrspac-
4Fluid TypographyHIGHfluid-
5Navigation PatternsMEDIUM-HIGHnav-
6Touch & InteractionMEDIUMtouch-
7Responsive MediaMEDIUMrmedia-
8Data AdaptationLOW-MEDIUMdata-

Quick Reference

1. Breakpoint Strategy (CRITICAL)

  • bp-mobile-first-default - Use Mobile-First Breakpoint Direction
  • bp-content-driven-breakpoints - Set Breakpoints Where Content Breaks
  • bp-avoid-device-widths - Avoid Device-Specific Breakpoint Values
  • bp-consolidate-breakpoints - Consolidate Breakpoints to Three or Four
  • bp-min-width-over-max - Use min-width Over max-width for Breakpoints
  • bp-debug-breakpoints - Use Visual Breakpoint Indicators During Development

2. Layout Transformation (CRITICAL)

  • layout-stack-to-row - Stack Elements on Mobile, Row on Desktop
  • layout-sidebar-collapse - Collapse Sidebar to Top or Bottom on Mobile
  • layout-grid-column-reduction - Reduce Grid Columns at Narrower Breakpoints
  • layout-holy-grail-responsive - Use Responsive Holy Grail Layout with Grid
  • layout-sticky-to-static - Convert Sticky Elements to Static on Mobile
  • layout-fixed-to-relative - Replace Fixed Positioning with Relative on Mobile
  • layout-aspect-ratio-containers - Use Aspect Ratio for Responsive Containers

3. Responsive Spacing (HIGH)

  • rspac-scale-padding-per-bp - Scale Padding Independently Per Breakpoint
  • rspac-responsive-gap - Use Responsive Gap for Grid and Flex Spacing
  • rspac-compact-mobile-generous-desktop - Use Compact Spacing on Mobile, Generous on Desktop
  • rspac-section-spacing - Scale Section Dividers with Viewport
  • rspac-inline-to-stack-spacing - Convert Inline Spacing to Stack Spacing on Mobile
  • rspac-container-padding - Use Responsive Container Padding

4. Fluid Typography (HIGH)

  • fluid-clamp-font-size - Use clamp() for Fluid Font Sizing
  • fluid-responsive-line-height - Tighten Line Height as Font Size Increases
  • fluid-responsive-measure - Constrain Line Length to 45-75 Characters
  • fluid-scale-headings-independently - Scale Heading Sizes Independently Across Breakpoints
  • fluid-responsive-letter-spacing - Adjust Letter Spacing for Responsive Headlines
  • fluid-type-scale - Use a Responsive Type Scale

5. Navigation Patterns (MEDIUM-HIGH)

  • nav-horizontal-to-hamburger - Collapse Horizontal Nav to Hamburger on Mobile
  • nav-tab-bar-mobile - Use Bottom Tab Bar for Primary Mobile Navigation
  • nav-breadcrumb-collapse - Truncate Breadcrumbs on Mobile
  • nav-sidebar-drawer - Convert Sidebar Nav to Off-Canvas Drawer on Mobile
  • nav-dropdown-to-fullscreen - Expand Dropdown Menus to Full-Width on Mobile
  • nav-sticky-header-compact - Compact the Header on Scroll for Mobile

6. Touch & Interaction (MEDIUM)

  • touch-min-touch-target - Ensure Minimum 44px Touch Targets on Mobile
  • touch-hover-to-tap - Replace Hover Interactions with Tap-Friendly Alternatives
  • touch-swipe-affordance - Add Visual Swipe Affordances for Horizontal Scrolling
  • touch-scroll-snap-mobile - Use Scroll Snap for Carousel-Like Mobile Interfaces
  • touch-input-sizing-mobile - Size Form Inputs to Prevent iOS Zoom
  • touch-focus-visible-touch - Use focus-visible for Touch-Friendly Focus Styles

7. Responsive Media (MEDIUM)

  • rmedia-responsive-images - Use Responsive Image Sizing with Object-Fit
  • rmedia-video-aspect-ratio - Maintain Video Aspect Ratio Across Breakpoints
  • rmedia-icon-size-scaling - Scale Icons Per Breakpoint, Not with Font Size
  • rmedia-avatar-responsive - Scale Avatar Sizes Per Context and Breakpoint
  • rmedia-background-image-bp - Swap Background Images at Breakpoints
  • rmedia-embed-responsive - Make Embedded Content Responsive with Container Constraints

8. Data Adaptation (LOW-MEDIUM)

  • data-table-to-cards - Transform Tables to Cards on Mobile
  • data-horizontal-scroll-table - Use Horizontal Scroll for Dense Data Tables
  • data-responsive-data-grid - Adapt Data Grid Density for Screen Size
  • data-list-density-mobile - Increase List Item Density on Mobile
  • data-truncate-overflow - Truncate Overflowing Text on Mobile
  • data-responsive-form-layout - Stack Form Fields on Mobile, Use Grid on Desktop

How to Use

Read individual reference files for detailed explanations and code examples:

  • Section definitions - Category structure and impact levels
  • Rule template - Template for adding new rules

Reference Files

FileDescription
references/_sections.mdCategory definitions and ordering
assets/templates/_template.mdTemplate for new rules
metadata.jsonVersion and reference information

FAQ

What does the tailwind-responsive-ui skill do?

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.

How do I install tailwind-responsive-ui?

Run npx skills add https://github.com/pproenca/dot-skills --skill tailwind-responsive-ui in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/tailwind-responsive-ui/ (personal) or .claude/skills/tailwind-responsive-ui/ (project).

Which AI agents can use tailwind-responsive-ui?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is tailwind-responsive-ui safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains tailwind-responsive-ui?

It is published by pproenca in pproenca/dot-skills. It has 464 recorded installs.

More from pproenca/dot-skills

View all →

zod

pproenca/dot-skills

Zod schema validation best practices for type safety, parsing, and error handling. This skill should be used when defining z.object schemas, using z.string validations, safeParse, or z.infer. This skill does NOT cover React Hook Form integration patterns (use react-hook-form skill) or OpenAPI client generation (use orval skill).

Frontend & Design7.1K installs

vitest

pproenca/dot-skills

Vitest testing framework patterns for test setup, async testing, mocking with vi., snapshots, and test performance (formerly test-vitest). This skill should be used when writing or debugging Vitest tests. This skill does NOT cover TDD methodology (use test-tdd skill), API mocking with MSW (use test-msw skill), or Jest-specific APIs.

Testing & QA6.2K installs

react-hook-form

pproenca/dot-skills

React Hook Form performance optimization for client-side form validation using useForm, useWatch, useController, useFieldArray, the subscribe() API, and the Watch / FormStateSubscribe / FieldArray render-prop components. Covers RHF 7.82 additions including resetDefaultValues() and the disabled field-array option. This skill should be used when building client-side controlled forms with React Hook Form library. This skill does NOT cover React 19 Server Actions, useActionState, or server-side form handling (use react-19 skill for those).

emilkowal-animations

pproenca/dot-skills

Emil Kowalski's animation best practices for web interfaces. Use when writing, reviewing, or implementing animations in React, CSS, or Framer Motion. Triggers on tasks involving transitions, easing, gestures, toasts, drawers, or motion.

Frontend & Design2.8K installs

nuqs

pproenca/dot-skills

nuqs (type-safe URL query state) best practices for Next.js and other React frameworks. This skill should be used when writing, reviewing, or refactoring code that uses nuqs for URL state management. Triggers on tasks involving useQueryState, useQueryStates, search params, URL state, query parameters, nuqs parsers, limitUrlUpdates, Standard Schema, NuqsAdapter, or Next.js routing with state.

Frontend & Design2.3K installs

clean-architecture

pproenca/dot-skills

Clean Architecture principles and best practices from Robert C. Martin's book. This skill should be used when designing software systems, reviewing code structure, or refactoring applications to achieve better separation of concerns. Triggers on tasks involving layers, boundaries, dependency direction, entities, use cases, or system architecture.

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs