Token导航 LogoToken导航

Agent Skill · 研究检索

build-daisyui-mcp(构建 daisyui MCP)

build-daisyui-mcp 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

build-daisyui-mcp 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 65,351。

总安装 282周安装 12GitHub Stars 5下载 99核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill build-daisyui-mcp

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

专为 daisyUI 5 设计的前端构建辅助工具。支持从 Figma 生成组件、选择模板类别及自定义主题开发。结合 Tailwind v4 进行 UI 重构,不处理纯 Tailwind 样式逻辑。需确保已配置 daisyUI MCP 工具链,避免在非目标场景下调用。

build-daisyui-mcp 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/build-daisyui-mcp

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill build-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

build-daisyui-mcp 怎么安装?

在终端执行 npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill build-daisyui-mc…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

build-daisyui-mcp 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

build-daisyui-mcp 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill build-daisyui-mcp 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

build-daisyui-mcp 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

build-daisyui-mcp 用的人多吗?

公开数据是累计安装 282 次,近一周安装 12 次,下载 99 次,GitHub 5 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

build-daisyui-mcp 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
build-daisyui-mcp

构建 daisyui MCP · 本页

2825执行命令未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

build-daisyui-mcp

Use this skill as the operating layer for daisyUI 5 work with the daisyui-blueprint MCP tools. Keep SKILL.md lean: choose the correct workflow, fetch only the references you need, and keep bulky detail in references/.

Use this skill for

  • Building or refactoring UI with daisyUI 5 + Tailwind v4
  • Converting a Figma frame or screenshot into daisyUI code
  • Choosing the right snippet category: components, component-examples, layouts, templates, or themes
  • Generating or adapting a custom daisyUI theme from brand colors, images, or existing UI

Do not use this skill for

  • Pure Tailwind work with no daisyUI goal
  • UI libraries other than daisyUI
  • Generic design discussion that does not need daisyUI code, snippets, or themes

Runtime prerequisites

This skill has two operating modes. Choose one before composing UI:

  • Snippet-driven mode (preferred): daisyui-blueprint-daisyUI-Snippets is available, and daisyui-blueprint-Figma-to-daisyUI is available when the task starts from Figma.
  • Reference-only fallback: the MCP tools are unavailable, but the task is simple enough to build from references/component-catalog.md plus references/integration/tailwind-v4-setup.md without guessing snippet keys.

Sanity-check snippet-driven mode before real work with one tiny fetch:

{ "components": { "button": true } }
  • Send that exact JSON object to daisyui-blueprint-daisyUI-Snippets.
  • If that succeeds, continue with snippet-driven workflows.
  • If it fails and the task depends on snippet discovery, templates, or Figma extraction, stop and ask the user to enable the MCP tools instead of guessing.
  • If it fails and the task is a small static page or component, switch to the reference-only fallback.

Reference-only fallback workflow

  1. Confirm the target already has daisyUI 5 + Tailwind v4 wired up, or use the CDN/static setup in references/integration/tailwind-v4-setup.md.
  2. Build only from documented class names and markup patterns in references/component-catalog.md plus the smallest relevant workflow or pattern reference.
  3. Do not guess snippet keys, template names, or hidden component variants in fallback mode. If the task depends on those, stop and ask for MCP access.

Non-negotiable rules

  1. Nested object syntax only for daisyui-blueprint-daisyUI-Snippets. Arrays fail silently.
  2. Fetch before guessing. If you do not know a valid class or example key, fetch the component reference first. Guessing class names is the #1 source of broken output.
  3. Batch requests, max ~8 items per call. Get all needed snippets in one call; do not fetch one component at a time. But keep each call under ~8 items — larger batches produce 15–26 KB responses that can overflow context.
  4. Use the right category. components is reference data (class names, parts, modifiers), not copy-paste HTML. component-examples is working markup. themes returns CSS, not HTML.
  5. Start page work from templates (preferred) or layouts. Templates give a complete starting point; layouts give a shell. Do not assemble full pages from many isolated component guesses.
  6. For Figma, always follow FETCH → ANALYZE → GET SNIPPETS → BUILD. Never skip analysis.
  7. Use semantic daisyUI colors (primary, secondary, accent, neutral, base-*, info, success, warning, error) and *-content variants on themed surfaces.
  8. Do not use dark: for daisyUI semantic colors. Themes already adapt them. Only use dark: for custom Tailwind utility classes outside daisyUI's theme system.
  9. Prefer CSS-only daisyUI interaction patterns unless app-specific behavior truly requires custom JS:

- drawer → checkbox toggle (use is-drawer-open: / is-drawer-close: variants for visibility) - modal → <dialog> with .modal-open or JS .showModal() - dropdown → <details> or popover API - tabs/steppers → daisyUI radio/tab patterns

  1. Stay on daisyUI v5 syntax (fieldset, dock, tabs-lift, card-border, no input-bordered, no form-control).
  2. Load only the 1–3 references needed for the active task. Do not dump the entire skill into context.
  3. Adapt output to the target framework. For React/Next.js: class → className, self-close void elements (<img />, <input />), for → htmlFor, tabindex → tabIndex. For Vue: use :class bindings. For Svelte: use class: directives.

Positive v5 form baseline

<fieldset class="fieldset">
  <legend class="fieldset-legend">Profile</legend>
  <input class="input" placeholder="Name" />
  <select class="select"><option>Role</option></select>
  <textarea class="textarea" placeholder="Notes"></textarea>
  <p class="fieldset-label">Helper text or validation hint</p>
</fieldset>
// ✅ Correct
{
  "components": { "button": true, "card": true },
  "component-examples": { "card.card": true }
}

// ❌ Wrong — arrays fail silently with no error
{ "components": ["button", "card"] }
{ "snippets": ["components/button"] }

Choose the right tool or snippet category first

NeedUseKey rule
Validate classes, parts, modifiers, or discover example namescomponentsStart here when unsure
Copy-paste markup for a known patterncomponent-examplesFetch only the 1–3 best matches
Get a page shell with placeholderslayoutsBest starting point for dashboards, sidebars, app shells
Start from a full pagetemplatesUse for login/dashboard/full-page acceleration
Get theme variables or color-system referencethemesReturns CSS/config, not component HTML
Extract structure from a Figma designdaisyui-blueprint-Figma-to-daisyUIReturns a node tree only; always follow with snippets

Mix categories in one call when you already know what you need:

{
  "layouts": { "responsive-collapsible-drawer-sidebar": true },
  "components": { "navbar": true, "card": true, "table": true },
  "component-examples": {
    "navbar.responsive-dropdown-menu-on-small-screen-center-menu-on-large-screen": true,
    "table.table-with-visual-elements": true
  },
  "themes": { "colors": true }
}

Common starting keys for page work

RequestStart here
Admin/dashboard page with complete content blockstemplates.dashboard
Login or auth pagetemplates.login-form
Persistent sidebar that can collapse to icon-onlylayouts.responsive-collapsible-drawer-sidebar
Standard responsive app shell with off-canvas sidebar on mobilelayouts.responsive-offcanvas-drawer-sidebar

Route to the correct workflow

Priority rule — first match wins. Walk the table top to bottom; stop at the first row that matches the request. If the request spans multiple rows (e.g., "Figma design with forms"), handle the primary workflow first, then load secondary references.
Request shapeDo this firstThen load
Setup or install daisyUI / Tailwind v4Read setup docsreferences/integration/tailwind-v4-setup.md
MCP server missing or Figma auth/setup issueFix tool setup before composing UIreferences/tool-api-reference.md
Migrating from daisyUI v4Read migration docs before writing codereferences/integration/v4-to-v5-migration.md
Single component or sectionFetch components first, then targeted component-examplesreferences/common-mistakes.md
Full page, dashboard, auth screen, landing pageStart from templates (preferred) or layoutsreferences/workflows/component-composition.md, references/workflows/responsive-layouts.md
Figma URL presentRun the Figma workflow belowreferences/workflows/figma-to-code.md, references/tool-api-reference.md
Screenshot or image mockupRun the screenshot workflow belowreferences/workflows/screenshot-to-code.md, references/common-mistakes.md, references/prompts/screenshot-prompt.md
Brand colors, image-to-theme, dark mode, theme requestRun the theme workflow belowreferences/workflows/theme-generation.md, references/theming/custom-themes.md, references/theme-and-colors.md, references/prompts/image-to-theme-prompt.md
Form-heavy UILoad form patterns before composingreferences/patterns/form-patterns.md
Navbar, menu, drawer, tabs, dock, breadcrumbsLoad navigation patterns before composingreferences/patterns/navigation-patterns.md
Bootstrap or raw Tailwind conversionUse the relevant conversion workflowreferences/workflows/bootstrap-conversion.md, references/workflows/tailwind-optimization.md, references/prompts/bootstrap-prompt.md, references/prompts/tailwind-prompt.md
Prompt crafting or multi-step chainingLoad prompt guidesreferences/prompts/prompt-engineering.md, references/prompts/prompt-chaining.md

Workflow — component or page composition

  1. Decide scope and starting point.

- Single component/section → fetch components reference, then targeted component-examples. - Full page/app shell → fetch a template (preferred) or layout first. Never build a full page from scratch when a template exists.

  1. Fetch reference data before writing any markup.

- For each component you plan to use, verify its valid classes via components category. - Batch related components in one MCP call (~8 items max). - If you need exact example keys, fetch components first to discover names, then fetch component-examples.

  1. Fetch only targeted examples for complex pieces: responsive navbars, drawers with icon-only collapsed state, data tables, pricing cards, multi-step forms.
  2. Compose from the outside in — this is the assembly order, not optional:

1. Page shell (template or layout) 2. Navigation (navbar, sidebar/drawer, breadcrumbs) 3. Main content blocks (hero, stat grids, card grids, tables) 4. Detail components (badges, tooltips, modals, toasts)

  1. Apply semantic colors and responsive utilities after structure is correct. Use sm:, md:, lg: breakpoint prefixes for responsive behavior.
  2. If the page is branded, do theme work before final polish so semantic colors resolve correctly.
Steering — page composition pitfalls from real usage: - Dashboard stat grids: use CSS grid (grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4) not flexbox for even columns. - Drawer checkbox toggle: the <input type="checkbox"> must be a sibling of .drawer-side, not nested inside content. Use is-drawer-open: and is-drawer-close: variants for show/hide behavior. - If a UI element has no daisyUI equivalent (charts, maps, code editors, media players), wrap it in a card or card-body container with semantic colors applied to the wrapper only. Do not force non-UI elements into daisyUI components.

Load only what you need:

  • references/workflows/component-composition.md — dashboard, landing page, and e-commerce patterns
  • references/workflows/responsive-layouts.md — breakpoint strategies, grid patterns
  • references/common-mistakes.md — "do this, not that" quick reference

Workflow — Figma to daisyUI

This sequence is mandatory.

  1. FETCH

- Call daisyui-blueprint-Figma-to-daisyUI - Prefer a node-specific Figma URL (?node-id=X-Y) - Start with depth: 3-5; increase only if the tree is too shallow - Use includeImages: false unless image references are required

  1. ANALYZE

- layout direction and alignment - spacing and padding - component candidates - typography scale - corner radius, shadows, and color roles

  1. GET SNIPPETS

- Batch all identified components in one call (~8 items max) - If example names are unknown, fetch components first, then the exact component-examples

  1. BUILD

- Map Figma structure to daisyUI components + Tailwind layout classes - Use semantic colors instead of hardcoded hex on UI surfaces - Add responsive breakpoints explicitly

  1. RECOVER IF NEEDED

- If the node tree is too shallow, re-fetch with higher depth - If the file is large/noisy, switch to a more specific node URL - If a Figma element has no daisyUI equivalent, use raw Tailwind wrapped in a semantic container (see recovery rules)

Load only what you need:

  • references/workflows/figma-to-code.md — step-by-step Figma extraction guide
  • references/tool-api-reference.md — MCP tool parameters and auth setup
  • references/component-catalog.md — full class/modifier reference when lookup is needed

Workflow — screenshot or mockup to daisyUI

  1. Scan top-to-bottom: navbar/header, hero, sidebar, main content, footer/dock.
  2. Identify the page shell first before individual components. Check if a template or layout matches the overall structure.
  3. Catalog visible patterns:

- component type - likely variant - size - semantic color role - visible state

  1. Fetch components and only the best-matching examples (~8 items max per call).
  2. Assemble the shell first, then fill details and tune spacing/color.
  3. For non-daisyUI elements (charts, graphs, maps, video players): note them as <!-- TODO: integrate [chart library] here --> inside a card wrapper with appropriate sizing. Do not attempt to recreate them with daisyUI components.
  4. If an interaction is not visible, choose the most likely CSS-only daisyUI pattern and state the assumption.

Load only what you need:

  • references/workflows/screenshot-to-code.md — full screenshot conversion workflow
  • references/prompts/screenshot-prompt.md — agent prompt for screenshot analysis
  • references/component-catalog.md — class validation when uncertain
  • references/common-mistakes.md — avoid frequent errors

Workflow — theme generation

  1. Determine the source: brand palette, image, existing website, or Figma tokens.
  2. Map source colors to daisyUI semantics:

- primary, secondary, accent - neutral - base-100, base-200, base-300, base-content - info, success, warning, error

  1. **Generate matching *-content colors** with accessible contrast.
  2. Output @plugin "daisyui/theme" CSS in OKLCH.
  3. Validate with semantic component usage; do not leave UI surfaces on raw Tailwind colors.
  4. If building branded UI, theme first, then fetch templates/components so the markup stays semantic.

Load only what you need:

  • references/workflows/theme-generation.md — end-to-end theme workflow
  • references/theming/custom-themes.md — variable reference and design presets
  • references/theme-and-colors.md — color system architecture
  • references/prompts/image-to-theme-prompt.md — image-to-OKLCH extraction prompt
  • references/tool-api-reference.md for themes category usage

Recovery rules — if the agent starts drifting

  • Snippets tool returns nothing or empty → check nested object syntax first; arrays fail silently.
  • You do not know an example key → fetch the components category for that component; example keys are listed in the response.
  • Generated classes look plausible but unverified → validate via components category or references/component-catalog.md.
  • You are making too many MCP calls → batch them (~8 items max) and mix categories in one call.
  • A full page is forming from unrelated snippets → stop and restart from a template or layout.
  • The MCP server or Figma tool errors on setup/auth → check references/tool-api-reference.md, especially MCP config and FIGMA requirements.
  • Markup uses bg-blue-500, text-white, or dark: on themed UI → replace with semantic color classes (bg-primary, text-primary-content) or a custom theme.
  • You added JS for a standard drawer/modal/dropdown → switch back to the CSS-only daisyUI mechanism.
  • You see v4 terms like form-control, input-bordered, label-text, tabs-lifted, or btm-nav → convert to v5 equivalents and load references/integration/v4-to-v5-migration.md.
  • You start copying bulky examples into this skill → stop and route to the relevant reference instead.
  • A UI element has no daisyUI equivalent (chart, map, code editor, media player) → wrap it in a semantic container (card, card-body) with a TODO comment. Do not invent daisyUI classes.
  • Output is for React/Next.js but uses HTML attributes → apply rule 12 (framework adaptation).
  • MCP response is huge (>10 KB) → you fetched too many items. Reduce batch size and be more targeted.

Minimal reference packs

TaskLoad
Single component/sectionreferences/common-mistakes.md
Full page/layoutreferences/workflows/component-composition.md, references/workflows/responsive-layouts.md
Figma conversionreferences/workflows/figma-to-code.md, references/tool-api-reference.md
Screenshot conversionreferences/workflows/screenshot-to-code.md, references/common-mistakes.md
Theme generationreferences/workflows/theme-generation.md, references/theming/custom-themes.md
Formsreferences/patterns/form-patterns.md
Navigationreferences/patterns/navigation-patterns.md
Setup or migrationreferences/integration/tailwind-v4-setup.md, references/integration/v4-to-v5-migration.md
Bootstrap/Tailwind conversionreferences/workflows/bootstrap-conversion.md, references/workflows/tailwind-optimization.md, references/prompts/bootstrap-prompt.md, references/prompts/tailwind-prompt.md
Prompt crafting / chainingreferences/prompts/prompt-engineering.md, references/prompts/prompt-chaining.md
Class/modifier validationreferences/component-catalog.md
Color system deep divereferences/theme-and-colors.md, references/theming/custom-themes.md
Image to themereferences/prompts/image-to-theme-prompt.md, references/theme-and-colors.md
Screenshot analysis promptsreferences/prompts/screenshot-prompt.md

Exit checklist

Before finishing, verify each item passes:

CheckPass criteria
Snippet syntaxEvery daisyui-blueprint-daisyUI-Snippets call uses {"category": {"name": true}} — no arrays, no string values
Category choicecomponents used for class lookup; component-examples for markup; templates/layouts for page shells; not mixed up
Batch efficiencyAll needed snippets fetched in ≤3 MCP calls total (not one call per component)
daisyUI v5 classesZero occurrences of form-control, input-bordered, label-text, tabs-lifted, btm-nav, or other v4-only classes
Semantic colorsAll themed surfaces use bg-base-*, text-base-content, bg-primary, etc. — no raw Tailwind colors (bg-blue-500) on daisyUI components
dark: usageZero dark: prefixes on daisyUI semantic colors; dark: only used for custom non-theme utilities
Layout starting pointPage-level work started from a template or layout, not assembled from individual components
Figma sequenceIf Figma was involved: FETCH → ANALYZE → GET SNIPPETS → BUILD sequence was followed in order
Framework adaptationIf target is React/Next.js/Vue/Svelte: class→className, for→htmlFor, self-closing tags, etc.
Reference efficiencyOnly 1–3 reference files were loaded for this task, not the full set

平台分布

Codex

34.04%
按下载量换算34

Claude

30.23%
按下载量换算30

Cursor

18.1%
按下载量换算18

Gemini CLI

9.76%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill build-daisyui-mcp 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills