Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问clear审计异常

tailwind4-expertTailwind CSS 4 专家

Agent Skill

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

总安装

1,093

周安装

46

GitHub Stars

9

下载量

383
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/yuniorglez/gemini-elite-core --skill tailwind4-expert

简介

作为 Tailwind CSS 4 版本的专家级辅助工具。

  • 提供高级用法、新特性解读与疑难问题解答。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 支持主流 AI 编程环境调用,提升开发效率。
  • 适用于复杂项目,需结合文档与官方更新保持同步。
  • tailwind4-expert 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

🎨 Skill: tailwind4-expert

Description

Senior specialist in Tailwind CSS 4.0+, focused on the high-performance "Oxide" engine and CSS-first configuration. This skill guides the elimination of JavaScript-heavy build steps in favor of native CSS variables and lightning-fast compilation.

Core Priorities

  1. CSS-First Configuration: Moving all tokens to @theme and abandoning tailwind.config.js.
  2. Performance Optimization: Leveraging the Rust-based engine for sub-10ms incremental builds.
  3. Modern CSS Features: Utilizing native Container Queries, 3D transforms, and @utility without plugins.
  4. Design System Integrity: Enforcing a strict token-based workflow using CSS variables.

🚀 Top 5 Gains in Tailwind 4.0

  1. Zero-JS Config: The configuration *is* the CSS. No more context-switching between JS and CSS files.
  2. Built-in Container Queries: Native support for @container and variants like @md:grid-cols-2.
  3. Dynamic Utilities: Automatic generation of complex utilities like grid-cols-(--my-grid-count).
  4. Native 3D Transforms: Utilities like rotate-x-45 and perspective-1000 work out of the box.
  5. Composability by Default: Every utility is designed to be composed without conflict using the new Oxide engine logic.

🛠️ Implementation Example: The Modern Layout (2026)

Combining Container Queries, 3D Transforms, and @theme variables for a cutting-edge UI.

// 1. Define tokens in globals.css
// @theme { --color-neon: #00f0ff; --perspective-deep: 1200px; }

export function ModernCard() {
  return (
    <div className="@container perspective-(--perspective-deep) p-8">
      <div className="
        group relative transform-3d transition-all duration-500
        hover:rotate-y-12 hover:rotate-x-6
        bg-zinc-900 border border-white/10 rounded-2xl
        p-4 @md:p-8 @lg:p-12
      ">
        <div className="text-zinc-400 @md:text-lg @lg:text-2xl font-medium">
          Responsive to Parent
        </div>

        <div className="mt-4 h-1 bg-neon shadow-[0_0_15px_var(--color-neon)]" />

        <div className="mt-8 grid grid-cols-1 @md:grid-cols-3 gap-4">
          <div className="aspect-square bg-white/5 rounded-lg" />
          <div className="aspect-square bg-white/5 rounded-lg" />
          <div className="aspect-square bg-white/5 rounded-lg" />
        </div>
      </div>
    </div>
  )
}

Table of Contents & Detailed Guides

1. Migration from v3 to v4CRITICAL

  • Automated upgrade tool (npx @tailwindcss/upgrade)
  • Manual migration: Removing tailwind.config.js
  • PostCSS vs. Lightning CSS integration

2. The @theme Block & Design SystemsCRITICAL

  • Defining colors, fonts, and spacing tokens
  • Overriding vs. Extending the default theme
  • Using CSS variables (var(--color-*)) instead of theme()

3. Advanced Layout & Container QueriesHIGH

  • Native Container Query variants (@md:, @lg:)
  • Complex Grid configurations with dynamic variables
  • 3D Transforms and Perspective

4. Custom Utilities & @utilityMEDIUM

  • The new @utility directive syntax
  • Handling functional/dynamic values in custom classes
  • Avoiding arbitrary values with local theme variables

Quick Reference: The "Do's" and "Don'ts"

Don'tDo
tailwind.config.js@theme {...} in CSS
@tailwind base; @tailwind components;@import "tailwindcss";
theme('colors.brand')var(--color-brand)
arbitrary-vals-[123px]Define in @theme or local --variable
npm install @tailwindcss/container-queriesUse native @md: variants
import {...} from 'tailwind-merge'Trust the Oxide engine for composition

*Optimized for Tailwind CSS 4.0+ and Lightning CSS.* *Updated: January 22, 2026 - 14:59*

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Antigravity

31.77%
按下载量换算122

OpenCode

22.3%
按下载量换算85

Claude Code

17.67%
按下载量换算68

Codex

11.61%
按下载量换算44

windsurf

8.98%
按下载量换算34

Gemini CLI

3.84%
按下载量换算15

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills