Skip to content

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.

Install

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

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)

2. Layout Transformation (CRITICAL)

3. Responsive Spacing (HIGH)

4. Fluid Typography (HIGH)

5. Navigation Patterns (MEDIUM-HIGH)

6. Touch & Interaction (MEDIUM)

7. Responsive Media (MEDIUM)

8. Data Adaptation (LOW-MEDIUM)

How to Use

Read individual reference files for detailed explanations and code examples:

Reference Files

File Description
references/_sections.md Category definitions and ordering
assets/templates/_template.md Template for new rules
metadata.json Version and reference information

Related skills

zodpproenca6.5KZod 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).vitestpproenca3.9KVitest 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.react-hook-formpproenca2.8KReact 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 formemilkowal-animationspproenca2.2KEmil 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.

← All skills

Search skills and MCP servers

Search across 31,816 skills and MCPs