← スキル一覧に戻る

frontend-design
by alizain
a collection of skills and plugins for AI agents - ie. magic tricks
⭐ 0🍴 0📅 2025年12月30日
SKILL.md
name: frontend-design description: Use for any frontend UI implementation - orchestrates tailwind-ui, shadcn, and radix-ui in the correct order
Frontend Design
When to Use
- Building React UI components
- Implementing pages, layouts, or features with Tailwind CSS
- Any visual/interactive frontend work
Process
Step 1: Classify the Component Type
| Type | Primary Skill | Examples |
|---|---|---|
| Layout/Structure | utils:tailwind-ui | Heroes, sections, grids, page shells |
| Interactive | shadcn | Buttons, dialogs, forms, tables |
| Primitive (no shadcn match) | radix-ui | Custom compound components |
Step 2: Layout Structure First
Invoke utils:tailwind-ui for structural patterns.
Use the Skill tool with skill: "utils:tailwind-ui"
Use for:
- Page layouts, containers, responsive grids
- Section patterns (hero, features, CTA, footer)
- Dark mode foundations
- Decorative elements and polish
Step 3: Interactive Components
Invoke shadcn for component implementation.
Use the Skill tool with skill: "shadcn"
Use for:
- Form controls (Button, Input, Select, Checkbox, Switch)
- Overlays (Dialog, Popover, DropdownMenu, Sheet, Tooltip)
- Data display (Table, Card, Badge, Avatar, Separator)
- Navigation (Tabs, Breadcrumb, Pagination, NavigationMenu)
- Feedback (Alert, Toast, Progress, Skeleton)
Install missing components:
npx shadcn@latest add <component>
Step 4: Radix Fallback
Only if shadcn lacks the component, invoke radix-ui.
Use the Skill tool with skill: "radix-ui"
Use for:
- Components shadcn doesn't wrap
- Custom compound component patterns
- Lower-level accessibility primitives
Decision Tree
Need UI component?
├─ Is it layout/structure/decorative?
│ └─ utils:tailwind-ui
├─ Is it interactive?
│ ├─ Does shadcn have it? → shadcn
│ └─ No shadcn match? → radix-ui
└─ Combining layout + interactive?
└─ utils:tailwind-ui for structure, shadcn for components inside
Quality Checklist
Before completing any frontend work:
- Dark mode:
dark:variants applied consistently - Responsive: Mobile-first with
sm:,md:,lg:breakpoints - Accessible: Proper ARIA attributes, focus states, semantic HTML
- Consistent: Matches existing design system and patterns
- Polish: Focus rings, hover states, transitions applied
Anti-Patterns
Don't:
- Write Tailwind UI patterns from scratch (657 templates exist)
- Skip shadcn and implement buttons/dialogs manually
- Use raw Radix when shadcn has a styled version
- Forget dark mode variants
- Ignore mobile responsiveness
スコア
総合スコア
40/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
レビュー
💬
レビュー機能は近日公開予定です