
shadcn-component-boundaries
Trigger: components/ui, shadcn, component placement, common components
by c3sc0-v4113Free
Description
A skill for AI agents that creates, moves, wraps and reviews UI components in projects that use shadcn. It enforces boundaries between the registry-managed ui directory, product-owned common components and feature folders. The agent resolves paths from components.json, its aliases for components and ui, rather than assuming components/ or src/components/. Product-owned wrappers, composites and feature behavior never go into the ui directory, and reusable product components go under common/. Dependencies run one way, from feature to common to ui. Styling uses semantic tokens from the global stylesheet. When @shadcn/lint is configured, the shadcn/no-restyle rule keeps look in variants and sizes, so call sites pass layout classes only. The skill is triggered by work on components/ui, shadcn, component placement and common components. It is part of the c3sc0-v4113/scaffold repository.…
Highlights
- Keeps registry primitives in the ui directory
- Puts reusable product components under common/
- Enforces one-way dependencies from feature to common to ui
- Uses semantic tokens and variants instead of call-site restyling
Ratings & Reviews
No ratings yet
Be the first to rate shadcn-component-boundaries.
People also visit
shadcn-component-boundaries FAQ
Where should a product component go?
Reusable product components go under common/, and feature-owned ones go in a named feature folder or next to that feature.
Can I restyle a primitive at the call site?
Not when @shadcn/lint is set up. Add a variant to the primitive instead of restyling at the call site.
How do I install it?
Run npx skills add https://github.com/c3sc0-v4113/scaffold --skill shadcn-component-boundaries in your project.
What do the security audits show?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best shadcn-component-boundaries alternatives?
Popular alternatives to shadcn-component-boundaries include shadcn, shadcn (official skill) and shadcn-ui. See all shadcn-component-boundaries alternatives



















