source-command-ui-copy-showcase
БесплатноБез исполняемых скриптовНе проверенCopy shadcn showcase components to lab
от databayt★ 19 звёзд на GitHubОб этом скилле
source-command-ui-copy-showcase
Use this skill when the user asks to run the migrated source command ui-copy-showcase.
Command Template
Copy shadcn/ui showcase components to src/components/atom/lab/
Process
Fetch showcase components from shadcn/ui repository
- Source:
https://github.com/shadcn-ui/ui/tree/main/apps/v4/app/(app)/(root)/components - Components: 20+ showcase examples
- Source:
Parse and adapt each component
- Update imports to match project structure
- Apply semantic token system
- Add internationalization
- Ensure TypeScript strict mode
- Add comprehensive tests
Component list to copy:
Form Components
field-demo.tsx- Field wrapper examplesfield-checkbox.tsx- Checkbox field patternsfield-choice-card.tsx- Card-based selectionfield-slider.tsx- Slider input fieldsnotion-prompt-form.tsx- Notion-style form
Input Groups
input-group-demo.tsx- Input grouping patternsinput-group-button.tsx- Input with buttoninput-group-textarea.tsx- Textarea groupsbutton-group-demo.tsx- Button groupingbutton-group-popover.tsx- Buttons with popovers
Display Components
item-demo.tsx- List item patternsitem-avatar.tsx- Avatar displaysempty-avatar-group.tsx- Empty state avatarsempty-input-group.tsx- Empty input states
Feedback Components
spinner-badge.tsx- Loading with badgespinner-empty.tsx- Loading placeholders
Settings
appearance-settings.tsx- Theme settings UI
Adapt to project standards
Semantic Tokens
// Original (hardcoded) className = "bg-white dark:bg-gray-900" // Adapted (semantic) className = "bg-background"Internationalization
// Original (hardcoded) <button>Save Changes</button> // Adapted (i18n) const { dictionary } = useDictionary() <button>{dictionary?.lab?.saveChanges || 'Save Changes'}</button>TypeScript
// Original (loose) export function Component(props) {} // Adapted (strict) interface ComponentProps { variant?: "default" | "ghost" size?: "sm" | "md" | "lg" } export function Component({ variant = "default", size = "md", }: ComponentProps) {}File structure
src/components/atom/lab/ ├── field-components/ │ ├── field-demo.tsx │ ├── field-checkbox.tsx │ └── ... ├── input-groups/ │ ├── input-group-demo.tsx │ └── ... ├── display/ │ ├── item-demo.tsx │ └── ... ├── feedback/ │ ├── spinner-badge.tsx │ └── ... └── index.ts # Barrel exportsQuality validation
- Run
/ui-validateon all copied components - Fix any violations
- Ensure 95%+ test coverage
- Verify all components render correctly
- Run
Update lab showcase
- Update
src/components/platform/lab/dashboard-cards-showcase.tsx - Add new shadcn components to showcase
- Organize by category
- Add filter/search support
- Update
Expected Output
Copying shadcn showcase components...
✓ Fetched 20 components from GitHub
✓ Parsed and adapted field components (5/5)
✓ Parsed and adapted input groups (5/5)
✓ Parsed and adapted display components (4/4)
✓ Parsed and adapted feedback components (2/2)
✓ Parsed and adapted settings components (1/1)
✓ Generated TypeScript types
✓ Added internationalization
✓ Created unit tests
✓ Validated quality (100% pass rate)
Successfully copied 20 components to src/components/atom/lab/
Next steps:
1. Review components: src/components/atom/lab/
2. Test in lab page: /lab
3. Customize as needed
Components Overview
Field Components (2025 Patterns)
Modern form field wrappers with labels, hints, and errors:
- Field wrapper with label positioning
- Checkbox fields with descriptions
- Choice cards for radio/select patterns
- Slider fields with value display
Input Groups
Compound input patterns for better UX:
- Inputs with action buttons
- Textarea with character count
- Button groups with segments
- Popovers integrated with buttons
Display Patterns
List and item display patterns:
- Avatar lists with fallbacks
- Item cards with metadata
- Empty state patterns
Loading States
Skeleton and spinner patterns:
- Badge with spinner
- Empty state skeletons
Customization
After copying, customize:
- Colors - Already using semantic tokens
- Spacing - Adjust padding/margins
- Typography - Already using semantic HTML
- Variants - Add custom variants
- Features - Extend with additional props
Integration
Add to lab showcase page:
// src/components/school-dashboard/lab/dashboard-cards-showcase.tsx
import { FieldDemo, InputGroupDemo } from "@/components/atom/lab"
;<DashboardSection title="shadcn 2025 Patterns">
<DashboardGrid>
<FieldDemo />
<InputGroupDemo /
Установить source-command-ui-copy-showcase в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл source-command-ui-copy-showcase?
Copy shadcn showcase components to lab
Как установить скилл source-command-ui-copy-showcase?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл source-command-ui-copy-showcase запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic