Use skill if you are building UI with daisyUI components, converting Figma designs or screenshots to daisyUI code, or generating themes using the daisyui-blueprint MCP server.
From build-daisyui-mcpnpx claudepluginhub yigitkonur/skills-by-yigitkonurThis skill uses the workspace's default tool permissions.
references/common-mistakes.mdreferences/component-catalog.mdreferences/integration/tailwind-v4-setup.mdreferences/integration/v4-to-v5-migration.mdreferences/patterns/form-patterns.mdreferences/patterns/navigation-patterns.mdreferences/prompts/bootstrap-prompt.mdreferences/prompts/image-to-theme-prompt.mdreferences/prompts/prompt-chaining.mdreferences/prompts/prompt-engineering.mdreferences/prompts/screenshot-prompt.mdreferences/prompts/tailwind-prompt.mdreferences/theme-and-colors.mdreferences/theming/custom-themes.mdreferences/tool-api-reference.mdreferences/workflows/bootstrap-conversion.mdreferences/workflows/component-composition.mdreferences/workflows/figma-to-code.mdreferences/workflows/responsive-layouts.mdreferences/workflows/screenshot-to-code.mdUse 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/.
components, component-examples, layouts, templates, or themesThis skill has two operating modes. Choose one before composing UI:
daisyui-blueprint-daisyUI-Snippets is available, and daisyui-blueprint-Figma-to-daisyUI is available when the task starts from Figma.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 } }
daisyui-blueprint-daisyUI-Snippets.Reference-only fallback workflow
references/integration/tailwind-v4-setup.md.references/component-catalog.md plus the smallest relevant workflow or pattern reference.daisyui-blueprint-daisyUI-Snippets. Arrays fail silently.components is reference data (class names, parts, modifiers), not copy-paste HTML. component-examples is working markup. themes returns CSS, not HTML.templates (preferred) or layouts. Templates give a complete starting point; layouts give a shell. Do not assemble full pages from many isolated component guesses.FETCH → ANALYZE → GET SNIPPETS → BUILD. Never skip analysis.primary, secondary, accent, neutral, base-*, info, success, warning, error) and *-content variants on themed surfaces.dark: for daisyUI semantic colors. Themes already adapt them. Only use dark: for custom Tailwind utility classes outside daisyUI's theme system.is-drawer-open: / is-drawer-close: variants for visibility)<dialog> with .modal-open or JS .showModal()<details> or popover APIfieldset, dock, tabs-lift, card-border, no input-bordered, no form-control).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"] }
| Need | Use | Key rule |
|---|---|---|
| Validate classes, parts, modifiers, or discover example names | components | Start here when unsure |
| Copy-paste markup for a known pattern | component-examples | Fetch only the 1–3 best matches |
| Get a page shell with placeholders | layouts | Best starting point for dashboards, sidebars, app shells |
| Start from a full page | templates | Use for login/dashboard/full-page acceleration |
| Get theme variables or color-system reference | themes | Returns CSS/config, not component HTML |
| Extract structure from a Figma design | daisyui-blueprint-Figma-to-daisyUI | Returns 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 }
}
| Request | Start here |
|---|---|
| Admin/dashboard page with complete content blocks | templates.dashboard |
| Login or auth page | templates.login-form |
| Persistent sidebar that can collapse to icon-only | layouts.responsive-collapsible-drawer-sidebar |
| Standard responsive app shell with off-canvas sidebar on mobile | layouts.responsive-offcanvas-drawer-sidebar |
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 shape | Do this first | Then load |
|---|---|---|
| Setup or install daisyUI / Tailwind v4 | Read setup docs | references/integration/tailwind-v4-setup.md |
| MCP server missing or Figma auth/setup issue | Fix tool setup before composing UI | references/tool-api-reference.md |
| Migrating from daisyUI v4 | Read migration docs before writing code | references/integration/v4-to-v5-migration.md |
| Single component or section | Fetch components first, then targeted component-examples | references/common-mistakes.md |
| Full page, dashboard, auth screen, landing page | Start from templates (preferred) or layouts | references/workflows/component-composition.md, references/workflows/responsive-layouts.md |
| Figma URL present | Run the Figma workflow below | references/workflows/figma-to-code.md, references/tool-api-reference.md |
| Screenshot or image mockup | Run the screenshot workflow below | references/workflows/screenshot-to-code.md, references/common-mistakes.md, references/prompts/screenshot-prompt.md |
| Brand colors, image-to-theme, dark mode, theme request | Run the theme workflow below | references/workflows/theme-generation.md, references/theming/custom-themes.md, references/theme-and-colors.md, references/prompts/image-to-theme-prompt.md |
| Form-heavy UI | Load form patterns before composing | references/patterns/form-patterns.md |
| Navbar, menu, drawer, tabs, dock, breadcrumbs | Load navigation patterns before composing | references/patterns/navigation-patterns.md |
| Bootstrap or raw Tailwind conversion | Use the relevant conversion workflow | references/workflows/bootstrap-conversion.md, references/workflows/tailwind-optimization.md, references/prompts/bootstrap-prompt.md, references/prompts/tailwind-prompt.md |
| Prompt crafting or multi-step chaining | Load prompt guides | references/prompts/prompt-engineering.md, references/prompts/prompt-chaining.md |
components reference, then targeted component-examples.template (preferred) or layout first. Never build a full page from scratch when a template exists.components category.components first to discover names, then fetch component-examples.sm:, md:, lg: breakpoint prefixes for responsive behavior.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. Useis-drawer-open:andis-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
cardorcard-bodycontainer 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 patternsreferences/workflows/responsive-layouts.md — breakpoint strategies, grid patternsreferences/common-mistakes.md — "do this, not that" quick referenceThis sequence is mandatory.
daisyui-blueprint-Figma-to-daisyUI?node-id=X-Y)depth: 3-5; increase only if the tree is too shallowincludeImages: false unless image references are requiredcomponents first, then the exact component-examplesLoad only what you need:
references/workflows/figma-to-code.md — step-by-step Figma extraction guidereferences/tool-api-reference.md — MCP tool parameters and auth setupreferences/component-catalog.md — full class/modifier reference when lookup is neededtemplate or layout matches the overall structure.<!-- TODO: integrate [chart library] here --> inside a card wrapper with appropriate sizing. Do not attempt to recreate them with daisyUI components.Load only what you need:
references/workflows/screenshot-to-code.md — full screenshot conversion workflowreferences/prompts/screenshot-prompt.md — agent prompt for screenshot analysisreferences/component-catalog.md — class validation when uncertainreferences/common-mistakes.md — avoid frequent errorsprimary, secondary, accentneutralbase-100, base-200, base-300, base-contentinfo, success, warning, error*-content colors with accessible contrast.@plugin "daisyui/theme" CSS in OKLCH.Load only what you need:
references/workflows/theme-generation.md — end-to-end theme workflowreferences/theming/custom-themes.md — variable reference and design presetsreferences/theme-and-colors.md — color system architecturereferences/prompts/image-to-theme-prompt.md — image-to-OKLCH extraction promptreferences/tool-api-reference.md for themes category usagecomponents category for that component; example keys are listed in the response.components category or references/component-catalog.md.template or layout.references/tool-api-reference.md, especially MCP config and FIGMA requirements.bg-blue-500, text-white, or dark: on themed UI → replace with semantic color classes (bg-primary, text-primary-content) or a custom theme.form-control, input-bordered, label-text, tabs-lifted, or btm-nav → convert to v5 equivalents and load references/integration/v4-to-v5-migration.md.card, card-body) with a TODO comment. Do not invent daisyUI classes.| Task | Load |
|---|---|
| Single component/section | references/common-mistakes.md |
| Full page/layout | references/workflows/component-composition.md, references/workflows/responsive-layouts.md |
| Figma conversion | references/workflows/figma-to-code.md, references/tool-api-reference.md |
| Screenshot conversion | references/workflows/screenshot-to-code.md, references/common-mistakes.md |
| Theme generation | references/workflows/theme-generation.md, references/theming/custom-themes.md |
| Forms | references/patterns/form-patterns.md |
| Navigation | references/patterns/navigation-patterns.md |
| Setup or migration | references/integration/tailwind-v4-setup.md, references/integration/v4-to-v5-migration.md |
| Bootstrap/Tailwind conversion | references/workflows/bootstrap-conversion.md, references/workflows/tailwind-optimization.md, references/prompts/bootstrap-prompt.md, references/prompts/tailwind-prompt.md |
| Prompt crafting / chaining | references/prompts/prompt-engineering.md, references/prompts/prompt-chaining.md |
| Class/modifier validation | references/component-catalog.md |
| Color system deep dive | references/theme-and-colors.md, references/theming/custom-themes.md |
| Image to theme | references/prompts/image-to-theme-prompt.md, references/theme-and-colors.md |
| Screenshot analysis prompts | references/prompts/screenshot-prompt.md |
Before finishing, verify each item passes:
| Check | Pass criteria |
|---|---|
| Snippet syntax | Every daisyui-blueprint-daisyUI-Snippets call uses { "category": { "name": true } } — no arrays, no string values |
| Category choice | components used for class lookup; component-examples for markup; templates/layouts for page shells; not mixed up |
| Batch efficiency | All needed snippets fetched in ≤3 MCP calls total (not one call per component) |
| daisyUI v5 classes | Zero occurrences of form-control, input-bordered, label-text, tabs-lifted, btm-nav, or other v4-only classes |
| Semantic colors | All themed surfaces use bg-base-*, text-base-content, bg-primary, etc. — no raw Tailwind colors (bg-blue-500) on daisyUI components |
dark: usage | Zero dark: prefixes on daisyUI semantic colors; dark: only used for custom non-theme utilities |
| Layout starting point | Page-level work started from a template or layout, not assembled from individual components |
| Figma sequence | If Figma was involved: FETCH → ANALYZE → GET SNIPPETS → BUILD sequence was followed in order |
| Framework adaptation | If target is React/Next.js/Vue/Svelte: class→className, for→htmlFor, self-closing tags, etc. |
| Reference efficiency | Only 1–3 reference files were loaded for this task, not the full set |