Tailwind Ui Refactor
Structured guide that refactors Tailwind CSS interfaces across 52 design rules, ordered from design intent through polish.
- CCM score
- 53 of 100
- skills.sh installs
- 480
- GitHub stars
- 228
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers 9 prioritized categories: design intent, visual hierarchy, layout and spacing, typography, color, depth, borders, images, and polish
- Includes a quick-reference index linking each rule to its reference file, using Tailwind CSS v4 syntax with v3 notes where they differ
- Enforces an audit-before-styling order, so removing unnecessary elements is considered before any visual changes are applied
- Designed for refactoring or reviewing Tailwind components when working without a dedicated designer
Install
$ npx -y skills add pproenca/dot-skills --skill tailwind-ui-refactor -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Refactoring UI Tailwind CSS Best Practices
Comprehensive UI refactoring guide based on Refactoring UI by Adam Wathan & Steve Schoger, implemented with Tailwind CSS utility classes. Contains 52 rules across 9 categories, prioritized by design impact to guide automated refactoring and code generation. Uses Tailwind CSS v4 syntax (v3 notes provided where syntax differs).
Important: Think first, style second. Before applying any visual rule, understand the UI's purpose, identify what matters to the user, and remove unnecessary elements. The Design Intent category (priority 1) must be considered before any styling changes. A simpler component with fewer elements always beats a decorated component with unnecessary markup.
When to Apply
Reference these guidelines when:
- Refactoring existing Tailwind CSS components
- Writing new UI with Tailwind utility classes
- Reviewing code for visual hierarchy and spacing issues
- Improving design quality without a designer
- Fixing accessibility contrast problems
Rule Categories by Priority
Details
- Repository
- github.com/pproenca/dot-skills
- Categories
- Frontend & UI Code, Design & UI/UX
- First seen
- Jun 3, 2026
Questions
What does the tailwind-ui-refactor skill do?
tailwind-ui-refactor guides refactoring of HTML written with Tailwind CSS utility classes to improve visual hierarchy, spacing, typography, color, depth and polish. It is based on the Refactoring UI book by Adam Wathan and Steve Schoger and covers 52 rules across 9 categories, starting with design intent before any styling changes.
How do I install the tailwind-ui-refactor skill?
Run npx -y skills add pproenca/dot-skills --skill tailwind-ui-refactor -y in your project to install it. Once added, tailwind-ui-refactor helps the agent review and refactor Tailwind components with a design-first approach.
Who should use tailwind-ui-refactor?
tailwind-ui-refactor suits developers who write or review Tailwind CSS markup and want better visual results without a designer. It triggers on UI cleanup, design review, Tailwind refactoring, component styling and visual improvement tasks.
Where does tailwind-ui-refactor sit in its category?
tailwind-ui-refactor is listed in the Frontend & UI Code category on Claude Marketplaces. Its sibling skills there include web-design-guidelines and design-taste-frontend, and tailwind-ui-refactor focuses specifically on Tailwind utility class markup.
Does tailwind-ui-refactor require Tailwind CSS v4?
tailwind-ui-refactor uses Tailwind CSS v4 syntax and provides v3 notes where the syntax differs. It works on HTML with Tailwind utility classes, so your project needs to use Tailwind.
More from pproenca/dot-skills
All 100- Zustand472
- Debug458
- Ios Design454
- Feature Arch445
- Feature Spec444
- React Testing Library436
- Expo React Native Coder428
- Tdd428
- Jscodeshift427
- Humanize425
- Knip Deadcode422
- React Optimise416
- Rails Hotwire395
- Ts Google390
- Nginx C Module Design387
- Audio Voice Recovery385
- Nginx C Modules384
- Vite381
- Ios Animations371
- Dockerfile Optimise370
- Uniwind360
- 37signals Rails354
- Orval353
- Ast Grep351
Similar to Tailwind Ui Refactor
More Frontend & UI Codetailwind-responsive-uipproenca/dot-skills487 installsResponsive UI rule set for Tailwind CSS, covering 49 transformation patterns from mobile-first breakpoints to data tables.
tailwind-refactorpproenca/dot-skills326 installsComprehensive Tailwind v4 refactoring guide that cleans up deprecated utilities without changing visual output.
tailwind-css-patternsgiuseppe-trisciuoglio/developer-kit18.5K installsModern Tailwind CSS v4.1 patterns for responsive layouts, components, dark mode, and accessibility.
tailwindcsshairyf/skills5.5K installsUtility-first CSS framework reference covering layout, typography, visuals, and v4 theme customization for building responsive interfaces.
tailwind-csspaulrberg/agent-skills3.1K installsTailwind v4 styling guidance that adds, fixes, configures, or migrates classes while respecting local conventions.
ui-stylingnextlevelbuilder/ui-ux-pro-max-skill60.3K installsPragmatic styling guide pairing shadcn/ui components with Tailwind CSS and canvas-based visual design.