wasintoh/toh-framework/ui-first-builder
Claude Code and agent skill by wasintoh/toh-framework
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install wasintoh/toh-framework/ui-first-builderSKILL.md
UI First Builder
Create beautiful, functional UI immediately. No questions. No waiting.
<core_principle>
The First-Prompt Promise
User describes idea → User sees working UI → Same prompt, no follow-up needed
This is what makes Lovable magical. We replicate it here. </core_principle>
<default_to_action> NEVER ask:
- "How many pages do you want?" → Infer from description, start with essential pages
- "What color scheme?" → Read root DESIGN.md (the design contract); if absent,
trigger design identity generation first (design-craft two-pass → DESIGN-TEMPLATE.md). The identity file is how we decide without asking — distinctive per project.
- "What features do you need?" → Infer standard features for this app type
- "Should it be responsive?" → ALWAYS responsive, mobile-first
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
</default_to_action>
<component_architecture>
File Structure (Next.js 16 App Router)
</component_architecture>
<shadcn_components>
shadcn/ui Components to Use
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
DO NOT use components that don't exist
- No custom components pretending to be shadcn
- Stick to official shadcn/ui component list
</shadcn_components>
<mock_data_rules>
Mock Data Guidelines
Mock data language depends on project language setting in CLAUDE.md.
✅ GOOD Mock Data (English - Default)
❌ BAD Mock Data (Lazy/Obvious)
Mock Data Location
Always create: src/lib/mock-data.ts Export typed data for components to import </mock_data_rules>
<styling_rules>
Styling Guidelines
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
</styling_rules>
<page_templates>
Common Page Patterns
Dashboard Page
List/Table Page
Form Page
</page_templates>
<interaction_states>
Always Include These States
Loading State
Empty State
Hover/Active States
</interaction_states>
<output_checklist>
Before Completing, Verify:
- [ ] All pages render without errors
- [ ] Mock data looks realistic (per language setting)
- [ ] Responsive design works (mobile → desktop)
- [ ] All buttons have hover states
- [ ] No "Lorem ipsum" or "Test" placeholder text
- [ ] shadcn/ui components used correctly
- [ ] TypeScript types defined for all data
- [ ] File structure follows convention
- [ ]
npm run devwill work immediately
</output_checklist>
<anti_patterns>
What NOT To Build
❌ Don't Create
- Complex nested routing before basic pages work
- Custom design system (use shadcn)
- Authentication flow before main UI
- API routes before UI exists
- Database schema before seeing UI needs
❌ Don't Style
- Gradient backgrounds on light mode
- Neon/bright accent colors
- Pure black (#000) text
- Inconsistent spacing
- Different fonts per section
❌ Don't Assume
- User has specific components installed (ask shadcn to add)
- Complex state management needed first
- User wants to see architecture diagram
- User needs explanation before seeing UI
</anti_patterns>
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/skills/ui-first-builder/SKILL.md
Popularity
- Repository stars
- 79
- Repository forks
- 17
- Repository npm downloads, 7 days
- 34
- 7-day trend score
- 30
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 14 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wasintoh/toh-framework/ui-first-builder)