01
It starts by itself
PR changes components/ui. Runs in GitHub Actions or Claude Code routine.
- ↻ PR changes components/ui
pull_request paths: components/ui/**
New screen parts get checked every time.
Install the shadcn/ui skill and make it a habit: follow https://gethabit.dev/skills/google-labs-code/shadcn-ui.md
53K installs9K starsApache-2.0 licenceSource on GitHub ↗

shadcn/ui
by google-labs-code · 53K installs
The skill
Helps you add and tune ready-made parts for your website screens.
Only when you ask.
Fewer bugs
New screen parts get checked every time. Fewer bugs and a cleaner site.
↻ Runs by itselfwhen screen parts change
When does it start? How does it check its work? What does it remember?
Stops after one pull request and at most 2 fix retries per run.
The agent reads the diff and lists new or changed files in components/ui.
It uses get_component_metadata to confirm each component's dependencies are in package.json.
It checks cn() for class merging, cva for variants and ARIA attributes kept.
It makes sure custom wrappers sit in components/ and not in components/ui/.
It runs tsc --noEmit and the linter and fixes errors it caused.
It writes the checked components and any open accessibility notes to the run log.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the shadcn/ui skill helps.
The skill suggests tools like axe DevTools and screen reader tests. The loop logs those as notes; the hard gate is types and lint.
It can use npx shadcn@latest add, but this loop checks components that a PR already added.
Yes. shadcn/ui supports Radix UI or Base UI primitives, and the checks are the same.
Copy the prompt at the top into your agent. It installs the skill from google-labs-code/stitch-skills and sets up the habit. Or run npx skills add google-labs-code/stitch-skills --skill shadcn-ui.
Yes. It is published under Apache-2.0. Habit is free too.
Install the shadcn/ui skill and make it a habit: follow https://gethabit.dev/skills/google-labs-code/shadcn-ui.md
All google-labs-code skills →More code skills →
Works in
Made by google-labs-code, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?