shadcn
shadcnコンポーネントとプロジェクトを管理します。コンポーネントの追加、検索、修正、デバッグ、スタイリング、UI構築が可能です。プロジェクトコンテキスト、コンポーネントドキュメント、使用例を提供します。shadcn/ui、コンポーネントレジストリ、プリセット、--presetコード、またはcomponents.jsonファイルを含むプロジェクトで適用されます。「shadcn init」「--presetでアプリを作成」「--presetに切り替え」といったコマンドでも起動します。
description の原文を見る
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", or "switch to --preset".
SKILL.md 本文
shadcn/ui
UI、コンポーネント、デザインシステムを構築するためのフレームワークです。コンポーネントは CLI を使用してソースコードとしてユーザーのプロジェクトに追加されます。
重要: すべての CLI コマンドをプロジェクトのパッケージランナーを使用して実行してください:
npx shadcn@latest、pnpm dlx shadcn@latest、またはbunx --bun shadcn@latest— プロジェクトのpackageManagerに基づいて選択します。以下の例ではnpx shadcn@latestを使用していますが、プロジェクトに合わせて正しいランナーに置き換えてください。
現在のプロジェクトコンテキスト
!`npx shadcn@latest info --json 2>/dev/null || echo '{"error": "No shadcn project found. Run shadcn init first."}'`
上記の JSON にはプロジェクト設定とインストール済みコンポーネントが含まれています。任意のコンポーネントのドキュメントと例の URL を取得するには npx shadcn@latest docs <component> を使
...
詳細情報
- 作者
- jcteague
- リポジトリ
- jcteague/wheelbase
- ライセンス
- 不明
- 最終更新
- 2026/5/9
Source: https://github.com/jcteague/wheelbase / ライセンス: 未指定