Skill library

Agent skill Frontend

shadcn

Build or refine reusable components for a web interface.

  • UI components
  • Typography
  • Accessibility
  • Design systems

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add bergside/awesome-design-skills --skill shadcn --agent claude-code --yes

Check this file in your project.claude/skills/shadcn/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add bergside/awesome-design-skills --skill shadcn

    Select 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 one target surface, its current tokens, interactions and representative data.

View operation manual

What this skill helps with

  • Build or refine reusable components for a web interface.

Good for

  • Component implementation
Exercise
Specify a compact account form in the project’s own component library
Design direction
Use monochrome foundations for surfaces, semantic status colors where needed and the existing component variants for field states.
Output
Page and component guidelines in the publisher’s documented format.
Skill name
shadcn

Turn aesthetic preferences into rules you can check

Only a style adjective

Make the page look like this style and make it polished.

The prompt leaves tokens, component states and limits undefined.

An implementable guideline

  1. Specify a compact account form in the project’s own component library
  2. Use monochrome foundations for surfaces, semantic status colors where needed and the existing component variants for field states.

shadcn operation manual

Specify a compact account form in the project’s own component library

Use monochrome foundations for surfaces, semantic status colors where needed and the existing component variants for field states.

  1. Collect evidence and constraints

    Collect evidence and constraints

    Prompt · Step 1
    Use Bergside’s shadcn Skill in [Project directory]. Read the installed SKILL.md and DESIGN.md. If only SKILL.md is available, use its Style Foundations. For [Product] and [Target surface], find the real audience, tokens, font permissions and behavior constraints. The task is to specify a compact account form in the project’s own component library. Return the selected scope and foundations first.
  2. Draft implementable guidelines

    Draft implementable guidelines

    Prompt · Step 2
    Use Bergside’s shadcn Skill in [Project directory]. Draft guidelines for [Target component or route] using the publisher’s order: context, tokens, component states, accessibility, content, anti-patterns, and a QA checklist. Use monochrome foundations for surfaces, semantic status colors where needed and the existing component variants for field states. Limit the proposal to [Approved scope] and identify the product behaviors to preserve.
  3. Review the proposed rules on the real surface

    Check field labels, validation, disabled and submitting states. Confirm existing keyboard behavior and that the design guide does not require a new component dependency.

    Prompt · Step 3
    Use Bergside’s shadcn Skill in [Project directory]. Review [Guidelines draft] against the real preview. Check field labels, validation, disabled and submitting states. Confirm existing keyboard behavior and that the design guide does not require a new component dependency. Tie each verdict to a token, state and observation. Record checks that remain for implementation.

Look up a guideline decision

Tie your decisions to real content and component states.

Define visual rulesDESIGN.md
Command or reference
Specify a compact account form in the project’s own component library
Examples
Use monochrome foundations for surfaces, semantic status colors where needed and the existing component variants for field states.
Review acceptanceQA
Command or reference
SKILL.md
Examples
Check field labels, validation, disabled and submitting states. Confirm existing keyboard behavior and that the design guide does not require a new component dependency.

Troubleshooting and FAQ

Does the guideline make code changes?

This workflow delivers guidelines. Implement the selected component rules after review.

How do I verify the outcome?

Check field labels, validation, disabled and submitting states. Confirm existing keyboard behavior and that the design guide does not require a new component dependency.