tailwindcss-development

Tailwind CSS Development

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tailwindcss-development" with this command: npx skills add laravel/boost/laravel-boost-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:

@tailwind base; @tailwind components; @tailwind utilities;

Spacing

When listing items, use gap utilities for spacing; don't use margins.

<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:

<div class="bg-white dark:bg-gray-900 text-gray-900 dark:text-white"> Content adapts to color scheme </div>

Common Patterns

Flexbox Layout

<div class="flex items-center justify-between gap-4"> <div>Left content</div> <div>Right content</div> </div>

Grid Layout

<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

  • Check browser for visual rendering

  • Test responsive breakpoints

  • 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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

OpenClaw Boost Tools

提供基于 Claude Code 架构的成本追踪、记忆管理、压缩和权限控制等 OpenClaw 效率提升工具。

Registry SourceRecently Updated
850Profile unavailable
Coding

Laravel Docs Reader

Provides instant Laravel documentation, auto-detects project version, generates PSR-12 Laravel code, and highlights differences across Laravel 10 to 12 versi...

Registry SourceRecently Updated
960Profile unavailable
Coding

xCloud Docker Deploy

Deploy any project to xCloud hosting — auto-detects stack (WordPress, Laravel, PHP, Node.js, Next.js, NestJS, Python, Go, Rust), routes to native or Docker d...

Registry SourceRecently Updated
4930Profile unavailable
General

Bw Openclaw Boost

OpenClaw Boost enhances OpenClaw efficiency with cost tracking, memory management, compression, permission control, and task coordination tools.

Registry SourceRecently Updated
1180Profile unavailable