Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计提醒

tailwindTailwind CSS 样式

Agent Skill

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

总安装

563

周安装

23

GitHub Stars

2

下载量

182
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/display-design-studio/skills --skill tailwind

简介

提供 Tailwind CSS v4 的实用优先样式开发最佳实践。

  • 覆盖主题变量、响应式设计与无障碍访问实现要点。
  • 支持 Figma 到 Tailwind 的设计令牌自动生成流程。
  • 包含性能优化与自定义样式整合的完整指南。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • tailwind 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Tailwind CSS Best Practices

Tailwind CSS v4 guide organized as modular rules. Covers the utility-first model, @theme variables, responsive/state variants, custom styles, performance, accessibility, and the Figma → Tailwind theme workflow for generating design tokens directly from Figma variables.

ROUTING: Which rule file to load

IF setting up Tailwind or understanding how utility classes work: → Read rules/core-utility-model.md

IF working with theme variables (@theme), design tokens, colors, fonts, spacing: → Read rules/core-theme-variables.md

IF working with responsive design, hover/focus states, dark mode, or custom variants: → Read rules/core-responsive-and-states.md

IF adding custom CSS, component classes, base styles, or custom utilities: → Read rules/core-custom-styles.md

IF optimizing build size, purging unused classes, or configuring content detection: → Read rules/perf-purging-and-scanning.md

IF working on accessibility or dark mode strategies: → Read rules/a11y-and-dark-mode.md

IF translating Figma variables/design tokens into Tailwind v4 theme CSS: → Read rules/figma-to-theme-workflow.md + see figma-tokens/ templates

Rule index

TopicDescriptionFile
Sections overviewCategories and reading orderrules/_sections.md
Utility modelUtility-first principles, composing classes, arbitrary valuesrules/core-utility-model.md
Theme variables@theme directive, namespaces, extend/override, inline/staticrules/core-theme-variables.md
Responsive & statesBreakpoints, hover/focus/dark variants, custom variantsrules/core-responsive-and-states.md
Custom styles@layer, @utility, @variant, component classesrules/core-custom-styles.md
PerformanceContent detection, JIT, build optimizationrules/perf-purging-and-scanning.md
A11y & dark modeAccessibility utilities, dark mode patternsrules/a11y-and-dark-mode.md
Figma workflowAgent workflow: Figma variables → Tailwind @theme CSSrules/figma-to-theme-workflow.md

Figma → Tailwind theme workflow

This skill includes a dedicated agent workflow to convert Figma design variables into Tailwind v4 @theme CSS files. The workflow is described in rules/figma-to-theme-workflow.md and uses the annotated templates in figma-tokens/ as output targets.

How to trigger it: paste your Figma CSS variables into chat and ask the agent to generate the Tailwind theme files.

Template files in figma-tokens/:

  • colors.css--color-* namespace
  • typography.css--font-*, --text-*, --font-weight-*, --tracking-*, --leading-*
  • spacing.css--spacing and --spacing-*
  • radius-shadows.css--radius-*, --shadow-*
  • breakpoints.css--breakpoint-*

Rule categories by priority

PriorityCategoryImpactPrefix
1Utility model & themeCRITICALcore-
2Responsive & statesHIGHcore-
3Custom stylesHIGHcore-
4Figma workflowHIGH(standalone)
5PerformanceMEDIUM-HIGHperf-
6AccessibilityMEDIUMa11y-

Coverage and maintenance

  • Coverage map: rules/_coverage-map.md
  • Source: https://tailwindcss.com/docs (v4.2)
  • Update when Tailwind releases a new major/minor version with breaking @theme changes.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

展示第三方安全扫描或审计结果

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

平台分布

Codex

37.79%
按下载量换算69

Claude

28.88%
按下载量换算53

Cursor

19.22%
按下载量换算35

Gemini CLI

8.86%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills