brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Generate production-grade UI using real component patterns and best practices from 60+ documented interface components. Use when the user asks to build web interfaces, pages, dashboards, forms, navigation, or any UI — ensures modern, minimal, SaaS-quality output grounded in
Claude Code
$ npx -y skills add carmahhawwari/ui-design-brain --skill ui-design-brain --agent claude-code
Codex
$ npx skills add carmahhawwari/ui-design-brain --skill ui-design-brain -a codex -y
Cursor
$ npx skills add carmahhawwari/ui-design-brain --skill ui-design-brain -a cursor -y
Gemini CLI
$ npx skills add carmahhawwari/ui-design-brain --skill ui-design-brain -a gemini-cli -y
GitHub Copilot
$ npx skills add carmahhawwari/ui-design-brain --skill ui-design-brain -a github-copilot -y
OpenCode
$ npx skills add carmahhawwari/ui-design-brain --skill ui-design-brain -a opencode -y
Windsurf
$ npx skills add carmahhawwari/ui-design-brain --skill ui-design-brain -a windsurf -y
name: ui-design-brain description: Generate production-grade UI using real component patterns and best practices from 60+ documented interface components. Use when the user asks to build web interfaces, pages, dashboards, forms, navigation, or any UI — ensures modern, minimal, SaaS-quality output grounded in design system conventions rather than generic AI patterns. license: Complete terms in LICENSE.txt
This skill provides a curated knowledge base of 60+ UI component patterns sourced from [component.gallery](https://component.gallery) and enriched with best practices, layout guidance, and usage rules. It replaces generic guessing with real design-system knowledge when generating interfaces.
**Before writing any UI code**, consult this skill to select the right components and follow their best practices. Read [components.md](components.md) for the full reference.
Apply whenever the user asks to build, design, or generate:
Every generated interface should feel **modern, minimal, and production-ready** — not like a template.
1. **Restraint over decoration.** Fewer elements, highly refined. White space is a feature. 2. **Typography carries hierarchy.** Pair a distinctive display font with a clean body font. Maximize weight contrast between headings and labels. 3. **One strong color moment.** Neutral palette first (warm off-whites, near-blacks, muted mid-tones). Introduce one confident accent. If it could appear on a poster or book cover, it's probably timeless. 4. **Spacing is structure.** Use an 8 px grid. Tighter gaps group related elements; generous gaps let hero content breathe. 5. **Accessibility is non-negotiable.** WCAG AA contrast minimums. Focus indicators. Semantic HTML. Keyboard navigation. 6. **No generic AI aesthetics.** Avoid: purple-on-white gradients, Inter/Roboto defaults, evenly-spaced card grids, and cookie-cutter layouts. Every interface should feel designed for its specific context.
The output should match what you'd expect from a senior product designer at a top SaaS company:
Read the user's request and determine which UI components are needed. Reference [components.md](components.md) to find each component by name or alias.
Common mappings:
For each component in the interface, follow its best practices from the reference. Key rules that apply broadly:
**Layout**
**Interaction**
**Typography & Spacing**
**States**
Select the style preset that best matches the user's intent, or ask if unclear:
**Modern SaaS** (default)
**Apple-level Minimal**
**Enterprise / Corporate**
**Creative / Portfolio**
**Data Dashboard**
Write production-ready code following these rules:
Stack: React + Tailwind CSS (unless user specifies otherwise) Spacing: Tailwind spacing scale (p-2, gap-4, etc.) on an 8px grid Colors: CSS variables or Tailwind config for palette consistency Typography: Tailwind text utilities; expressive font pairings via Google Fonts States: Implement hover, focus, active, disabled for all interactive elements Responsive: Mobile-first; test at 375, 768, 1440 px Accessibility: Semantic HTML, ARIA where needed, focus management
Below are the 15 most commonly needed components. For the full 60+ component reference w
A Cursor skill that gives the AI agent real UI component knowledge — best practices, layout patterns, and design-system conventions for 60+ interface components — so it generates production-grade UI instead of generic output.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.