Claude Codeに2,500以上のshadcn/uiブロック&コンポーネントのエキスパート知識を付与。71カテゴリ1,338ブロック(ヒーロー、プライシングテーブル、フッター等)と60+グループ1,189コンポーネント。
A Claude Code skill that gives Claude deep knowledge of 1,338 blocks and 1,189 components from ShadcnBlocks, built on shadcn/ui and Tailwind CSS.
When activated, Claude can intelligently select the right pre-built UI block or component for any frontend task — from landing page hero sections to dashboard data tables to ecommerce checkout flows — then handle setup and installation automatically.
Skills are reusable instructions that extend Claude Code's capabilities. They activate automatically based on what you're doing (e.g., building a frontend) and give Claude domain-specific knowledge and workflows. Learn more in the Claude Code documentation.
Install as a Claude Code plugin from GitHub:
claude plugin marketplace add masonjames/Shadcnblocks-Skill
claude plugin install shadcnblocks
.claude-plugin/
plugin.json
skills/
shadcn-ui/
SKILL.md
references/
block-catalog.md
component-catalog.md
setup-guide.md
scripts/
get-api-key.sh
setup-shadcnblocks.sh
npx shadcn@latest init)jq installed (for automated setup: brew install jq)Provide your ShadcnBlocks API key in one of two ways:
Option A — Environment variable (simplest):
export SHADCNBLOCKS_API_KEY=<your-key>
Option B — 1Password CLI:
# Use the default reference path, or set your own:
export OP_SHADCNBLOCKS_REF="op://<Your Vault>/<Your Item>/credential"
The scripts check for the environment variable first, then fall back to 1Password.
Initialize shadcn/ui in your project (if not done):
npx shadcn@latest init
Run the setup script to configure the ShadcnBlocks registry:
bash scripts/setup-shadcnblocks.sh /path/to/your/project
Install blocks:
npx shadcn add @shadcnblocks/hero125
npx shadcn add @shadcnblocks/pricing3
Import and compose in your page — blocks are standard React components.
The skill's primary value is its comprehensive catalog knowledge — Claude knows every available block and component category, what each is for, and which to recommend for a given need.
Blocks are full page sections: hero, feature, pricing, testimonial, FAQ, navbar, footer, blog, contact, team, about, gallery, ecommerce (product cards, carts, checkout), app/dashboard (charts, data tables, sidebars), and more.
Components are reusable UI elements: forms, inputs, buttons, dialogs, sheets, accordions, charts, file uploads, comboboxes, alerts, toasts, and more. All components are free.
.claude-plugin/
plugin.json # Plugin manifest
skills/
shadcn-ui/
SKILL.md # Skill definition with selection guides
references/
block-catalog.md # Full block catalog (71 categories)
component-catalog.md # Full component catalog (60+ groups)
setup-guide.md # Step-by-step setup instructions
scripts/
get-api-key.sh # Retrieves API key (env var or 1Password)
setup-shadcnblocks.sh # Automated project setup
${SHADCNBLOCKS_API_KEY}) to components.json, not the actual key..env, which is gitignored.MIT
互換性