Agent skill Frontend
shadcn UI
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/jezweb/claude-skills/tree/main/plugins/frontend/skills/shadcn-ui --skill shadcn-ui --agent claude-code --yesCheck this file in your project.claude/skills/shadcn-ui/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/jezweb/claude-skills/tree/main/plugins/frontend/skills/shadcn-ui --skill shadcn-uiSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Bring a running local preview and the code, data or tools needed for the exercise.
View operation manualWhat this skill helps with
- Build or refine reusable components for a web interface.
Good for
- Component implementation
- Goal
- Add one shadcn/ui form control to a themed React project
- Inputs
- Existing CSS variables, components.json, project helpers and field behavior
- Acceptance
- Open [Form route] in both supported themes. Test keyboard use, labels, invalid and disabled states, and that submission gives the correct feedback. Show the file and package changes and what was tested.
- Skill name
shadcn-ui- Repository
jezweb/claude-skills
Name the task the work needs to support
Open-ended request
Improve the whole website.
The request does not provide a surface, state, or outcome the assistant can verify.
A scoped workflow
- Add one shadcn/ui form control to a themed React project
- Existing CSS variables, components.json, project helpers and field behavior
shadcn UI operation manual
Add one shadcn/ui form control to a themed React project
Existing CSS variables, components.json, project helpers and field behavior
Prepare the real inputs
Existing CSS variables, components.json, project helpers and field behavior
Prompt · Step 1Use Jezweb’s shadcn-ui and read the installed SKILL.md. Scope this task to [Project and route]. Before adding [Component], check the existing shadcn/ui configuration, CSS variables, cn utility and component paths. Verify the applicable package and add command in the current official CLI docs.Follow the publisher’s workflow
Add one shadcn/ui form control to a themed React project
Prompt · Step 2Use Jezweb’s shadcn-ui and read the installed SKILL.md. Scope this task to [Project and route]. Plan the component install in dependency order and inspect the proposed files, dependencies and overwrites. After approval, install only needed items and use the existing project tokens. Wire the real labels, validation and state behavior.Check output and evidence
Open [Form route] in both supported themes. Test keyboard use, labels, invalid and disabled states, and that submission gives the correct feedback. Show the file and package changes and what was tested.
Prompt · Step 3Use Jezweb’s shadcn-ui and read the installed SKILL.md. Scope this task to [Project and route]. Open [Form route] in both supported themes. Test keyboard use, labels, invalid and disabled states, and that submission gives the correct feedback. Show the file and package changes and what was tested.
Look up a specific workflow problem
Supply the information the current step needs and check what it produced.
Check required project inputsSKILL.md
- Command or reference
Add one shadcn/ui form control to a themed React project- Examples
- Existing CSS variables, components.json, project helpers and field behavior
Verify the resultBrowser
- Command or reference
Validation- Examples
- Open [Form route] in both supported themes. Test keyboard use, labels, invalid and disabled states, and that submission gives the correct feedback. Show the file and package changes and what was tested.
Troubleshooting and FAQ
Can I verify a result without a preview?
Review the code and prerequisites first. Record visual or interaction checks as pending until they can be exercised.
How do I judge this run?
Open [Form route] in both supported themes. Test keyboard use, labels, invalid and disabled states, and that submission gives the correct feedback. Show the file and package changes and what was tested.