
Tailwindcss Development
Write and fix Tailwind utility classes in Blade, JSX, or Vue when building responsive layouts, components, dark mode, and v3/v4 styling in Laravel-oriented stacks.
Overview
tailwindcss-development is an agent skill for the Build phase that writes and fixes Tailwind utility classes in HTML templates for Laravel-style frontends.
Install
npx skills add https://github.com/laravel/boost --skill tailwindcss-developmentWhat is this skill?
- Auto-invoke when messages mention tailwind or responsive grids, dashboards, navbars, forms, and dark mode
- Tailwind v3-first guidance with search-docs for v3 patterns and config in tailwind.config
- Class order, redundancy removal, and extraction into project-matching components (Blade, JSX, Vue)
- Explicit skip list: backend PHP, DB, API routes, JS-only tasks, vanilla CSS audits, build-tool-only config
- MIT-licensed Laravel Boost skill focused on template utility work
Adoption & trust: 554 installs on skills.sh; 3.5k GitHub stars; 3/3 security scanners passed (skills.sh audits).
What problem does it solve?
You are editing Blade or similar templates and need consistent responsive Tailwind patterns without breaking v3 conventions or drowning in duplicate utilities.
Who is it for?
Solo Laravel or full-stack builders styling pages and components with Tailwind v3/v4 in HTML templates.
Skip if: Backend-only PHP, database queries, API routes, JavaScript with no HTML/CSS, or standalone CSS file audits.
When should I use this skill?
User message includes 'tailwind' or work involves responsive grids, flex/grid layouts, UI components, dark mode, spacing, typography, or Tailwind v3/v4 in HTML templates.
What do I get? / Deliverables
Templates gain correct, convention-aligned Tailwind classes with cleaner structure and optional component extractions matching your stack.
- Updated template markup with Tailwind classes
- Optional component extractions following project patterns
Recommended Skills
Journey fit
Tailwind work happens while you are building user-facing templates and design systems, not during backend-only or ops tasks. frontend is the shelf for HTML template styling, grids, navbars, forms, and component-level utility composition.
How it compares
Use instead of generic CSS advice when the job is Tailwind utilities inside Blade, JSX, or Vue markup.
Common Questions / FAQ
Who is tailwindcss-development for?
Indie and solo developers building Laravel or mixed-stack UIs who live in Tailwind-powered templates.
When should I use tailwindcss-development?
During Build frontend work when you mention tailwind, fix spacing or typography, build grids and navbars, add dark mode, or align with Tailwind v3/v4 in HTML.
Is tailwindcss-development safe to install?
Review the Security Audits panel on this Prism page; the skill edits styling in your repo and does not replace your own review of generated markup.
SKILL.md
READMESKILL.md - Tailwindcss Development
# Tailwind CSS Development ## Documentation Use `search-docs` for detailed Tailwind CSS v3 patterns and documentation. ## Basic Usage - Use Tailwind CSS classes to style HTML. Check and follow existing Tailwind conventions in the project before introducing new patterns. - Offer to extract repeated patterns into components that match the project's conventions (e.g., Blade, JSX, Vue). - Consider class placement, order, priority, and defaults. Remove redundant classes, add classes to parent or child elements carefully to reduce repetition, and group elements logically. ## Tailwind CSS v3 Specifics - Always use Tailwind CSS v3 and verify you're using only classes it supports. - Configuration is done in the `tailwind.config.js` file. - Import using `@tailwind` directives: <!-- v3 Import Syntax --> ```css @tailwind base; @tailwind components; @tailwind utilities; ``` ## Spacing When listing items, use gap utilities for spacing; don't use margins. <!-- Gap Utilities --> ```html <div class="flex gap-8"> <div>Item 1</div> <div>Item 2</div> </div> ``` ## Dark Mode If existing pages and components support dark mode, new pages and components must support it the same way, typically using the `dark:` variant: <!-- Dark Mode --> ```html <div class="bg-white dark:bg-gray-900 text-gray-900 dark:text-white"> Content adapts to color scheme </div> ``` ## Common Patterns ### Flexbox Layout <!-- Flexbox Layout --> ```html <div class="flex items-center justify-between gap-4"> <div>Left content</div> <div>Right content</div> </div> ``` ### Grid Layout <!-- Grid Layout --> ```html <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> <div>Card 1</div> <div>Card 2</div> <div>Card 3</div> </div> ``` ## Verification 1. Check browser for visual rendering 2. Test responsive breakpoints 3. Verify dark mode if project uses it ## Common Pitfalls - Using margins for spacing between siblings instead of gap utilities - Forgetting to add dark mode variants when the project uses dark mode - Not checking existing project conventions before adding new utilities - Overusing inline styles when Tailwind classes would suffice