shadcn
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
shadcn/ui
A framework for building ui, components and design systems. Components are added as source code to the user's project via the CLI.
IMPORTANT: Run all CLI commands using the project's package runner:
npx shadcn@latest,pnpm dlx shadcn@latest, orbunx --bun shadcn@latest— based on the project'spackageManager. Examples below usenpx shadcn@latestbut substitute the correct runner for the project.
Current Project Context
!`npx shadcn@latest info --json`
The JSON above contains the project config and installed components. Use npx shadcn@latest docs <component> to get documentation and example URLs for any component.
Principles
- Use existing components first. Use
npx shadcn@latest searchto check registries before writing custom UI. Check community registries too. - Compose, don't reinvent. Settings page = Tabs + Card + form controls. Dashboard = Sidebar + Card + Chart + Table.
- Use built-in variants before custom styles.
variant="outline",size="sm", etc.
More from different-ai/openwork
opencode-primitives
Reference OpenCode docs when implementing skills, plugins, MCPs, or config-driven behavior.
653solidjs-patterns
SolidJS reactivity + UI state patterns for OpenWork
558opencode-bridge
Bridge between OpenWork UI and OpenCode runtime
542tauri-solidjs
Tauri 2.x + SolidJS stack for OpenWork native app
506opencode-mirror
Maintain the local OpenCode mirror for self-reference
482openwork-core
Core context and guardrails for OpenWork native app
471