ui-first-builder
БесплатноБез исполняемых скриптовНе проверенCreates production-ready UI immediately from any description. Generates complete pages, components, and realistic mock data in FIRST response. Uses Next.js 16…
Об этом скилле
UI First Builder
Create beautiful, functional UI immediately. No questions. No waiting.
User describes idea → User sees working UI → Same prompt, no follow-up needed
This is what makes Lovable magical. We replicate it here.
ALWAYS do:
- Create complete, working pages
- Include realistic mock data (based on language setting in CLAUDE.md)
- Add hover states and transitions
- Make it look professional immediately
src/
├── app/
│ ├── layout.tsx # Root layout with providers
│ ├── page.tsx # Home/Dashboard
│ ├── globals.css # Tailwind + custom styles
│ └── [feature]/
│ └── page.tsx # Feature pages
├── components/
│ ├── ui/ # shadcn/ui components
│ ├── layout/ # Header, Sidebar, Footer
│ ├── features/ # Feature-specific components
│ └── shared/ # Reusable components
├── lib/
│ ├── utils.ts # cn() helper
│ └── mock-data.ts # Realistic mock data
├── stores/ # Zustand stores
└── types/ # TypeScript types
Always Available (assume installed)
- Button, Card, Input, Label, Textarea
- Dialog, Sheet, Dropdown Menu, Popover
- Table, Tabs, Avatar, Badge, Separator
- Select, Checkbox, Radio Group, Switch
- Toast (sonner), Calendar, Date Picker
- Command (for search), Skeleton (loading)
Usage Pattern
import { Button } from "@/components/ui/button"
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
import { Input } from "@/components/ui/input"
DO NOT use components that don't exist
- No custom components pretending to be shadcn
- Stick to official shadcn/ui component list
Mock data language depends on project language setting in CLAUDE.md.
✅ GOOD Mock Data (English - Default)
const mockUsers = [
{ id: 1, name: "John Smith", email: "[email protected]", role: "Admin" },
{ id: 2, name: "Sarah Johnson", email: "[email protected]", role: "User" },
{ id: 3, name: "Michael Davis", email: "[email protected]", role: "Editor" },
]
const mockProducts = [
{ id: 1, name: "House Blend Drip Coffee", price: 4.50, stock: 45 },
{ id: 2, name: "Matcha Green Tea Latte", price: 5.25, stock: 32 },
{ id: 3, name: "Hot Chocolate", price: 3.75, stock: 28 },
]
const mockStats = {
totalRevenue: 15842,
ordersToday: 47,
newCustomers: 12,
conversionRate: 3.2,
}
❌ BAD Mock Data (Lazy/Obvious)
// NEVER DO THIS
const users = [
{ name: "Test User", email: "[email protected]" },
{ name: "User 1", email: "[email protected]" },
]
const products = [
{ name: "Product A", price: 100 },
{ name: "Lorem Ipsum", price: 999 },
]
Mock Data Location
Always create: src/lib/mock-data.ts
Export typed data for components to import
Color Philosophy
- Source of truth: root DESIGN.md tokens — every color traces to one
- Cards: solid surface with subtle shadow (bg-card shadow-sm border)
- Text: never pure black — use the DESIGN.md text token
- Accent: ONE brand accent from DESIGN.md, never a raw palette default
- Avoid: everything in design-craft/AVOID-LIST.md (gradients-by-default, neon, glassmorphism)
Spacing System
- Page padding:
p-4 md:p-6 lg:p-8 - Card padding:
p-4 md:p-6 - Component gap:
gap-4orgap-6 - Section margin:
mb-6ormb-8
Typography
- Headings:
text-2xl font-semibold(page title),text-lg font-medium(section) - Body:
text-smortext-base - Muted:
text-slate-500ortext-muted-foreground - NO Inter everywhere - use system font stack (already in Tailwind)
Responsive Pattern
// Mobile-first, always
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
{/* Cards */}
</div>
<div className="flex flex-col md:flex-row gap-4">
{/* Layout items */}
</div>
Dashboard Page
export default function DashboardPage() {
return (
<div className="p-4 md:p-6 space-y-6">
{/* Stats Row */}
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
<StatCard title="
Установить ui-first-builder в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ui-first-builder?
Creates production-ready UI immediately from any description. Generates complete pages, components, and realistic mock data in FIRST response. Uses Next.js 16 + Tailwind + shadcn/ui. Never asks questions - infers everything from context. Triggers: UI creation, page building, component generation, build interface, screen design, layout requests.
Как установить скилл ui-first-builder?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ui-first-builder запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic