Agent skill Frontend
Daisyui Install
Build or refine reusable components for a web interface.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/saadeghi/daisyui/tree/master/skills/daisyui/install --skill daisyui-install --agent claude-code --yesCheck this file in your project.claude/skills/daisyui-install/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/saadeghi/daisyui/tree/master/skills/daisyui/install --skill daisyui-installSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. This walkthrough uses daisyUI v5 and Tailwind CSS v4. Check the project’s installed major versions first.
View operation manualWhat this skill helps with
- Build or refine reusable components for a web interface.
Good for
- Component implementation
- Exercise
- Install and smoke-test the daisyUI v5 CSS plugin
- Inputs
- A Tailwind CSS v4 project and local build command
- Acceptance
- Run [Project CSS build] and check the generated button classes, then open the test route. Verify the button has theme styles, keyboard focus and a functioning action. Report the installed versions.
- Skill name
daisyui-install- Repository
saadeghi/daisyui
Use the project’s actual versions and theme
Open-ended request
Add daisyUI to the whole project.
Major versions, plugin configuration and theme scope affect which classes and tokens work.
A scoped verification
- Install and smoke-test the daisyUI v5 CSS plugin
- A Tailwind CSS v4 project and local build command
Daisyui Install operation manual
Install and smoke-test the daisyUI v5 CSS plugin
A Tailwind CSS v4 project and local build command
Check the project setup
A Tailwind CSS v4 project and local build command
Prompt · Step 1Load the daisyui-install publisher Skill and read its instructions. Scope this to [Target project and component]. Read [Project manifest] and [CSS entry]. Confirm the installed Tailwind major version and package manager. Review the official daisyUI v5 installation instructions and report which file and dependency will change before applying.Apply the documented change
Install and smoke-test the daisyUI v5 CSS plugin
Prompt · Step 2Load the daisyui-install publisher Skill and read its instructions. Scope this to [Target project and component]. After I approve [Installation scope], add the daisyUI v5 development dependency with the project’s package manager and connect the plugin in its Tailwind CSS entry. Put one actual daisyUI button on a local test route.Build and exercise the component
Run [Project CSS build] and check the generated button classes, then open the test route. Verify the button has theme styles, keyboard focus and a functioning action. Report the installed versions.
Prompt · Step 3Load the daisyui-install publisher Skill and read its instructions. Scope this to [Target project and component]. Run [Project CSS build] and check the generated button classes, then open the test route. Verify the button has theme styles, keyboard focus and a functioning action. Report the installed versions.
Look up a configuration issue
Check the configuration against what the project actually builds.
Check the CSS plugin entry@plugin
- Command or reference
Tailwind CSS v4- Examples
- @import "tailwindcss"; @plugin "daisyui";
Check the resulting componentBuild
- Command or reference
Install and smoke-test the daisyUI v5 CSS plugin- Examples
- Run [Project CSS build] and check the generated button classes, then open the test route. Verify the button has theme styles, keyboard focus and a functioning action. Report the installed versions.
Troubleshooting and FAQ
What if a component class has no effect?
Check the loaded CSS entry, dependency majors, theme or prefix settings and whether the class exists in generated CSS.
How do I verify this task?
Run [Project CSS build] and check the generated button classes, then open the test route. Verify the button has theme styles, keyboard focus and a functioning action. Report the installed versions.