Loading...
Loading...
Opinionated constraints for building better interfaces with agents.
npx skill4agent add phrazzld/claude-config ui-skills// Delegate UI implementation to Kimi
mcp__kimi__spawn_agent({
prompt: `Implement [component/feature].
Apply ui-skills constraints:
- Tailwind CSS defaults, cn() utility
- Accessible primitives (Base UI/Radix/React Aria)
- No h-screen (use h-dvh), respect safe-area-inset
- Animator only transform/opacity, max 200ms feedback
- text-balance for headings, tabular-nums for data
Existing patterns: [reference files]
Output: ${targetPath}`,
thinking: true
})/ui-skills/ui-skills <file>motion/reactframer-motiontw-animate-csscnclsxtailwind-mergeBase UIReact AriaRadixBase UIaria-labelAlertDialogh-screenh-dvhsafe-area-insetinputtextareatransformopacitywidthheighttopleftmarginpaddingbackgroundcolorease-out200msprefers-reduced-motiontext-balancetext-prettytabular-numstruncateline-clampletter-spacingtracking-*z-indexz-*size-*w-*h-*blur()backdrop-filterwill-changeuseEffectreferences/expert-panel-review.mdExpert Panel Review: Hero Section
| Expert | Score | Critical Improvement |
|--------|-------|---------------------|
| Ogilvy | 88 | Lead with benefit, not feature |
| Rams | 94 | Clean, focused |
| Scher | 86 | H2 needs more weight contrast |
| Wiebe | 81 | "Get Started" → "Start Free Trial" |
| Laja | 77 | No social proof above fold |
| Walter | 90 | Good emotional resonance |
| Cialdini | 83 | Add urgency element |
| Ive | 92 | Refined execution |
| Wroblewski | 88 | Touch targets good |
| Millman | 85 | Voice slightly inconsistent |
**Average: 86.4** ❌ Below threshold
Implementing: Laja (social proof), Wiebe (CTA), Cialdini (urgency)...