← スキル一覧に戻る
name: shadcn
description: Create, update, and maintain shadcn/ui components in the

shadcn
by Ermianr
⭐ 0🍴 0📅 2026年1月16日
SKILL.md
name: shadcn
description: Create, update, and maintain shadcn/ui components in the apps/web Next.js project. Use when asked to add UI components, sync styles/theme, adjust Tailwind, or apply shadcn/ui best practices in this codebase.
Shadcn (shadcn/ui)
Goal
Apply shadcn/ui in apps/web using the real project configuration, creating or updating UI components in a consistent, accessible, and maintainable way.
Workflow
- Read
references/project.mdto learn current configuration, paths, versions, and registries. - Verify
apps/web/components.jsonandapps/web/package.jsonbefore running the CLI. - If MCP is available, browse or search items in the
@shadcnregistry first. - Run the CLI from
apps/webusing the version installed in the project:
bun x shadcn add <component>
To update an existing component, allow explicit overwrite:
bun x shadcn add <component> --overwrite
- Review changes in
apps/web/src/components/uiand shared utilities underapps/web/src/lib. - Adjust global styles in
apps/web/src/index.cssif the component requires it.
Best practices
- Use project aliases:
@/components/ui,@/components,@/lib/utils,@/lib. - Keep the
cnfunction andclass-variance-authorityfor variants and composable styles. - Prefer composition over duplicating components.
- Keep
use clientonly when the component uses hooks, state, or events. - Use
next/imageandnext/linkinstead of raw<img>or<a>. - Respect accessibility: visible labels, correct roles/aria, and focus states.
- Avoid barrel imports in large libraries; import directly when it is critical.
Verification
- If multiple files are modified, run
bun x ultracite checkbefore delivery. - If there are style conflicts, run
bun x ultracite fixin the workspace.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です