shadcn-ui · podo — скилл для Claude Code: что делает и как установить
Скилл учит агента искать, ставить и связывать компоненты shadcn/ui с учётом настроек репозитория.
MIT 271 установок ★ 35 обновлён 2026-10-21
npx skills add podo/design-agent-skills --skill shadcn-ui -a claude-codeЧто делает shadcn-ui
Скилл подключает рабочий процесс для shadcn/ui. Агент считывает локальный контекст через команду npx shadcn@latest info --json, находит нужные реестры компонентов, включая сторонние, и добавляет элементы штатными командами CLI. При вёрстке он опирается на встроенные варианты и семантические цвета из темы проекта, а не пишет кастомные стили с нуля.
Для работы обязательно требуется Node.js в системе и файл components.json в корне репозитория (либо готовность создать его через shadcn init). Размер загрузки составляет около 71 MB.
Обратите внимание на конфликт имён: скилл с именем shadcn-ui также ставит каталог google-stitch-skills, поэтому совместная установка перезапишет ранее добавленный файл.
Какие задачи решает
- найти и поставить нужный компонент shadcn/ui через CLI
- собрать сложный экран из готовых блоков вроде Tabs и Card
- исправить ошибки в разметке и вариантах компонентов shadcn
- подключить пресеты и сторонние реестры компонентов
Примеры запросов агенту
- Добавь shadcn component для диалогового окна и настрой форму
- Собери страницу настроек профиля из компонентов shadcn/ui
- Проверь установленные ui component и исправь ошибки в стилях карточки
Как установить shadcn-ui
1Через Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill shadcn-ui -a claude-code2Вручную: положить файлы
~/.claude/skills/shadcn-ui/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/shadcn-ui/
1Через Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill shadcn-ui -a codex2Вручную: положить файлы
.agents/skills/shadcn-ui/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill shadcn-ui -a cursor2Вручную: положить файлы
.cursor/skills/shadcn-ui/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install podo/design-agent-skills skills/shadcn-ui2Вручную: положить файлы
.github/skills/shadcn-ui/SKILL.md1Через Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill shadcn-ui -a gemini-cli2Командой платформы
gemini skills install https://github.com/podo/design-agent-skills --path skills/shadcn-uiВручную: положить файлы
.devin/skills/shadcn-ui/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add podo/design-agent-skills --skill shadcn-ui -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о shadcn-ui
Как установить shadcn-ui в Claude Code?
Выполните в терминале команду npx skills add podo/design-agent-skills --skill shadcn-ui -a claude-code. Файл скилла запишется в ~/.claude/skills/shadcn-ui/SKILL.md.
Что делает этот скилл?
Он направляет агента при работе с библиотекой shadcn/ui: запрашивает конфигурацию через npx shadcn@latest info --json, выбирает готовые компоненты и компонует интерфейсы по правилам библиотеки.
Что нужно подготовить перед запуском скилла?
Требуется установленный Node.js для запуска команд через npx и файл components.json в вашем проекте.
Исходный текст
SKILL.md · MIT
--- name: shadcn-ui description: | Project-aware shadcn/ui workflow for searching, adding, composing, and fixing components with correct patterns. Reads the local project's shadcn config and installed components and avoids common shadcn anti-patterns during implementation. triggers: - "shadcn" - "shadcn/ui" - "shadcn component" - "ui component" das: category: visual-components upstream: "https://github.com/shadcn-ui/ui" upstream_path: "skills/shadcn/SKILL.md" version: latest install: true --- # shadcn-ui > Catalogue stub — full skill: [shadcn-ui/ui](https://github.com/shadcn-ui/ui) (`skills/shadcn`) <!-- das:install:start — generated from stub.yaml by `npm run generate`; edit stub.yaml, not this block --> ## Decision tree 1. **Is the full skill already installed?** Upstream names this skill `shadcn`, so it installs next to this pointer (the pointer is not replaced). - Global: `f=~/.agents/skills/shadcn/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"` - Project: `f=.agents/skills/shadcn/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer"` - `installed` → the skill is installed as `shadcn`, invoke it and proceed - `pointer` → go to step 2 2. **Detect scope, then install:** ```bash [ -e ~/.agents/skills/shadcn-ui ] && echo "global" || echo "project" ``` **Global:** ```bash npx skills add shadcn-ui/ui --skill shadcn -g -y ``` **Project:** ```bash npx skills add shadcn-ui/ui --skill shadcn -y ``` > **Claude Code:** send a command as a chat message starting with `!` to run it without leaving the conversation. **Heads-up** - **Requires:** Node.js: the skill runs the shadcn CLI through your package runner (`npx shadcn@latest ...`, fetched from npm at use time), including `info --json` for project context; A project with a components.json file (or one you are about to create with `shadcn init`) - **License:** MIT - **Download size:** ~71 MB. - **Name collision:** `shadcn-ui` is also written by `google-stitch-skills` (its install or its catalogue pointer); installing both overwrites the earlier one. <!-- das:install:end --> ## Invoke after install - Skill name: `shadcn` - Trigger phrases: "shadcn", "shadcn/ui", "shadcn component", "ui component" ## What it does Provides a project-aware workflow for working with shadcn/ui: searching the available component registries (including community registries), adding components with the correct CLI command, composing components from existing ones (a settings page is Tabs + Card + form controls), using built-in variants and semantic colors before custom styles, and fixing common implementation mistakes. It also covers presets, registries and design-system pages. The skill loads project context by running `npx shadcn@latest info --json`. The same upstream repository ships a separate `migrate-radix-to-base` skill for moving components from Radix UI to Base UI; it is not part of this stub (add it with `npx skills add shadcn-ui/ui --skill migrate-radix-to-base`). ## When NOT to use - A non-shadcn component library, or a design system built from scratch — use `design-consultation` - Google Stitch to shadcn conversion — use `google-stitch-skills`
© podo · MIT · podo/design-agent-skills
Похожие скиллы
Все скиллы по теме «Фронтенд и UI» →Сначала — shadcn-ui от других авторов.