packages/docs/src/routes/(routes)/docs/skill/[slug]/+page.md
<SEO
title={How to add daisyUI skill to ${data.editor.name}}
desc={Add the daisyUI skill to ${data.editor.name} and generate accurate daisyUI components from your prompts.}
/>
daisyUI skill is a compact, markdown version of daisyUI docs to help AI generate accurate daisyUI code based on your prompt.
You can easily add daisyUI skill to your project and your agent will be able to use it automatically when you ask for daisyUI code.
Run this command
<div class="has-[.code-tab]:my-4 overflow-x-auto [direction:ltr]"> <div class="p-1 -mb-6 italic opacity-60 text-xs code-tab">prompt</div> <pre class="shiki tokyo-night" style="background-color:var(--shiki-bg);color:var(--shiki-punctuation)" tabindex="0"><code><span class="line"><span style="color:var(--shiki-token)">{data.installCommand}</span></span></code></pre> </div>Now in Agent Mode you can tell AI to use daisyUI skill. For example:
Make a login form. use daisyUI skill
We recommend using an MCP server for daisyUI.
MCP servers are more efficient and faster than skills, they provide context on demand, instead of a static skill file. An MCP server will save you LLM tokens and will generate the code faster.
<a href="/docs/mcp/" class="btn">See daisyUI MCP setup guides</a>