SkillAtlasSkill 详情

daisyui

[![][logo-url]][docs-url]

审核状态:已审核Quality 80Security 88

复制安装命令

用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。

复制前请先查看来源、License 和安全提示。

项目 README

来源文件:README.md

抓取于 2026年8月29日

The most popular, free and open-source component library for Tailwind CSS

daisyUI 5

🌼 Official website →

🧩 See all components →

🚀 How to use →

🤝 Contribute →


Sponsors and backers

Contributors

༼ つ ◕_◕ ༽つ Please share

开发与工程Agent / MCP / Skill 创作

中风险

  • 来源需自行核对维护者身份。
  • 未检测到明显脚本安装指令。
  • 未检测到明显外部权限要求。
  • 未检测到高风险命令。
  • 扫描发现:1 条。

Codex — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/saadeghi/daisyui.git
  3. 将 "skills/daisyui" 文件夹复制到 Codex 的 skills 目录中。
  4. 重启 Codex 让新的 skill 生效。

Codex — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Codex 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Codex 让新的 skill 生效。

Claude Code — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/saadeghi/daisyui.git
  3. 将 "skills/daisyui" 文件夹复制到 Claude Code 的 skills 目录中。
  4. 重启 Claude Code 让新的 skill 生效。

Claude Code — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Claude Code 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Claude Code 让新的 skill 生效。

Cursor — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/saadeghi/daisyui.git
  3. 将 "skills/daisyui" 文件夹复制到 Cursor 的 skills 目录中。
  4. 重启 Cursor 让新的 skill 生效。

Cursor — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Cursor 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Cursor 让新的 skill 生效。

GitHub Copilot — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/saadeghi/daisyui.git
  3. 将 "skills/daisyui" 文件夹复制到 GitHub Copilot 的 skills 目录中。
  4. 重启 GitHub Copilot 让新的 skill 生效。

GitHub Copilot — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 GitHub Copilot 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 GitHub Copilot 让新的 skill 生效。

Windsurf — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/saadeghi/daisyui.git
  3. 将 "skills/daisyui" 文件夹复制到 Windsurf 的 skills 目录中。
  4. 重启 Windsurf 让新的 skill 生效。

Windsurf — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Windsurf 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Windsurf 让新的 skill 生效。
查看 SKILL.md 原文
name: daisyui
description: Official daisyUI component-library skill for Tailwind CSS. When you write HTML or JSX code, you must use it. Even if the user does not request it, use it.
metadata:
  version: 5.7.x
  source: https://daisyui.com/SKILL.md

daisyUI 5

daisyUI 5 is a CSS library for Tailwind CSS 4. It supplies class names for common UI components, semantic colors, and themes.

When to use this skill

  • Use this skill each time you write HTML or JSX code.
  • Use this skill for all Tailwind CSS UI work.
  • If the user uses one of these terms or requests related work, use this skill: daisyUI, component, UI, Tailwind, layout, template, theme, color, design
  • Even if the user does not request this skill, use it.

References that you must read

TaskGuideNote
Install daisyUI./install/SKILL.mdIf the project does not have daisyUI, use this guide.
Use daisyUI class names./usage/SKILL.mdYou must read this guide before you use daisyUI class names in code.
Configure daisyUI./config/SKILL.mdRead this guide to configure themes, prefixes, logs, or other options. You do not need it for basic use.
daisyUI colors and themes./colors/SKILL.mdYou must read this guide before you use daisyUI colors in code.
daisyUI components./components/You must read the applicable component guides before you use daisyUI components. Read more than one candidate guide before you select a component.

List of components

Component discovery protocol

Before you write daisyUI code, do these steps in sequence:

  1. Identify the intended function, behavior, and layout in the request. Do not use only the exact words.
  2. Use the component list in this file to select the best candidate components.
  3. If the choice is not clear, read the guides for the candidate components that can meet the request before you select one.
  4. Compare the description, behavior, syntax, and rules of each candidate with the request.
  5. Select the best component or component combination. Obey all its constraints.
  6. Use the exact structure and constraints of the selected components.

You must match the meaning, even when the words are different from component names. A component with a different name can still be the best match. Always examine the intended function and meaning.

If the user requests a named component and a guide with that name exists, read that guide first.

发现问题?提交给管理员复核

评分:

评论 (0)

暂无评论,成为第一个评论者吧!