Token导航 LogoToken导航TokenDH.com
开发只读unknown未标认证来源可访问许可证需确认审计未展示

tailwindTailwind CSS 样式

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

396

周安装

16

下载量

124
Local Agent

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tailwind(Tailwind CSS 样式)
来源仓库:https://smithery.ai
仓库路径:tailwind
安装命令:
# Required packages
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

skills.sh安装方式未标明
# Required packages

简介

用于辅助前端页面、组件和样式开发。tailwind 属于开发类 Skill,可作为该场景下的辅助能力补充。

  • 适合生成或审查 React、Vue、Tailwind 等相关代码。
  • 使用时需结合项目现有设计系统和路由结构。
  • 避免只生成孤立片段,应配合本地预览确认效果。
  • 涉及页面改动时需通过构建检查验证兼容性。

SKILL.md

Prerequisites

  • Load the web:css skill for CSS Best Practices.
  • Load the web:react skill for React Best Practices.
  • Load the web:typescript skill for TypeScript Best Practices.
  • load the web:web-design skill for Design Best Practices.

Tailwind Design System

Build production-ready design systems with Tailwind CSS, including design tokens, component variants, responsive patterns, and accessibility.

Quick Reference

TopicGuide
Tailwind config, global CSS, tokenssetup.md
CVA pattern with type-safe variantscva-components.md
Animation utilities and Dialoganimations.md
Utility functions (cn, focusRing)utilities.md
Do's and Don'ts for maintainabilitybest-practices.md

When to Use This Skill

  • Creating a component library with Tailwind
  • Implementing design tokens and theming
  • Building responsive and accessible components
  • Standardizing UI patterns across a codebase
  • Migrating to or extending Tailwind CSS

Core Concepts

Design Token Hierarchy

Brand Tokens (abstract)
    └── Semantic Tokens (purpose)
        └── Component Tokens (specific)

Example:
    blue-500 → primary → button-bg

Component Architecture

Base styles → Variants → Sizes → States → Overrides

When to Use Each Guide

Setup

Use setup.md when you need:

  • Initial Tailwind configuration
  • CSS variable setup for theming
  • Design token structure
  • Global styles foundation

CVA Components

Use cva-components.md when you need:

  • Type-safe component variants
  • Button, Badge, or similar components
  • Standardized variant APIs
  • Reusable component patterns

Animations

Use animations.md when you need:

  • Entry/exit animations
  • Dialog or modal transitions
  • Tailwind CSS Animate utilities
  • State-based animations

Utilities

Use utilities.md when you need:

  • Class name composition (cn function)
  • Common utility patterns
  • Focus ring, disabled state helpers

Best Practices

Use best-practices.md for:

  • Guidance on semantic naming
  • Do's and Don'ts
  • Accessibility requirements
  • Performance considerations

Quick Decision Trees

Where should colors be defined?

Is this a one-off color?
├── Yes → Use arbitrary value sparingly (e.g., bg-[#abc123])
└── No → Is it semantic (primary, destructive)?
    ├── Yes → Add to semantic tokens in setup.md
    └── No → Is it a brand color?
        ├── Yes → Add to theme.extend.colors
        └── No → Use existing Tailwind color

Installation

# Required packages
yarn add tailwindcss postcss autoprefixer
yarn add class-variance-authority clsx tailwind-merge
yarn add tailwindcss-animate

Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Local Agent

97.89%
按下载量换算121

安全审计

暂无安全审计结果可展示。

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills