ui-design-brain
Generate production-grade UI using real component patterns and best practices from 60+ documented interface components.
Skill by wpgaurav
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/wpgaurav-ui-design-brain
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ui-design-brain
What's inside
- Skill 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
- MIT
- Metadata
- source: https://github.com/carmahhawwari/ui-design-brain
- Instructions
- 160 lines in SKILL.md · view on GitHub
Files (3)
- README.md
- SKILL.md
- components.md
SKILL.md (first lines)
> From [UI Design Brain](https://github.com/carmahhawwari/ui-design-brain) by carmahhawwari. Copyright (c) 2026 UI Design Brain Contributors, used under the MIT License. See [NOTICE.md](../../../NOTICE.md).
# UI Design Brain
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.
## When to Use This Skill
Apply whenever the user asks to build, design, or generate:
- Web pages, landing pages, marketing sites
- SaaS dashboards, admin panels, settings pages
- Forms, data tables, navigation structures
- Modals, drawers, popovers, or overlay patterns
- Any React, HTML/CSS, or Tailwind UI component
## Design Philosophy
Every generated interface should feel **modern, minimal, and production-ready** — not like a template.
### Core Principles
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.
### Quality Bar
The output should match what you'd expect from a senior product designer at a top SaaS company:
- Clean visual rhythm with intentional asymmetry
- Obvious interactive affordances (hover, focus, active states)
- Graceful edge cases (empty states, loading, error)
- Responsive without breakpoint artifacts
## Workflow
### Step 1 — Identify Components
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:
- "navigation" → Header, Navigation, Breadcrumbs, Tabs
- "form" → Form, Text input, Select, Checkbox, Radio button, Button
- "data display" → Table, Card, List, Badge, Avatar
- "feedback" → Alert, Toast, Modal, Spinner, Progress bar, Empty state
- "input" → Text input, Textarea, Select, Combobox, Datepicker, File upload, Slider
- "overlay" → Modal, Drawer, Popover, Tooltip, Dropdown menu
### Step 2 — Apply Best Practices
For each component in the interface, follow its best practices from the reference. Key rules that apply broadly:
**Layout**
- Single-column forms — faster to scan
- Consistent vertical lanes in repeated rows (lists, tables)
- Fixed-width slots for icons and actions, even when empty
- Cards: media → title → meta → action hierarchy
**Interaction**
- Buttons: verb-first labels ("Save changes", not "Submit"), one primary per section
- Modals: always provide X, Cancel, and Escape; trap focus; return focus on close
- Toasts: auto-dismiss 4–6 s, allow manual dismiss, stack newest on top
- Toggles: immediate effect only — use checkboxes in forms that require Save
**Typography & Spacing**
- Strict heading hierarchy (h1 → h2 → h3), one h1 per page
- Minimum 44 px touch targets on mobile
- Labels above inputs (vertical forms) or beside (horizontal)
- Placeholder text as format hint, never as label replacement
**States**
- Empty states: illustration + helpful headline + primary CTA
- Loading: skeleton screens > spinners (show after 300 ms delay)
- Validation: inline on blur, not on every keystroke
- Disabled elements: visually distinct but still readable
### Step 3 — Choose a Design Direction
Select the style preset that best matches the user's intent, or ask if unclear:
**Modern SaaS** (default)
- Neutral palette, one strong accent
- 8 px grid, generous white space
- Clean, professional, spacious
**Apple-level Minimal**
- Near-monochrome, warm grays
- Large type hierarchy, tight tracking on display text
- Abundant white space, micro-interactions (150–250 ms ease-out)
**Enterprise / Corporate**
- Information-dense, well-defined regions
- Compact spacing scale (4/8/12/16/24 px)
- Robust form handling, fully keyboard-navigable
**Creative / Portfolio**
- Bold, expressive, strong visual personality
- Asymmetric layouts, dramatic scale contrast
- Editorial typography, vivid accent colors
**Data Dashboard**
- Data-dense, optimised for scannability
- Consistent vertical alignment across rows
- Clear metric hierarchy: KPI → trend → detail
### Step 4 — Generate Code
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 pxFrom wpgaurav/WordPress-skills, MIT.
More from wpgaurav/WordPress-skills
- 0.642score
cinematic-editorial-graphics
wpgaurav
Create cinematic editorial hero images with photorealistic subjects, dramatic typography, and magazine-quality composition.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
bolder
wpgaurav
Amplify safe or boring designs to make them more visually interesting and stimulating.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
critique
wpgaurav
Evaluate design effectiveness from a UX perspective.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
harden
wpgaurav
Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
audit
wpgaurav
Perform comprehensive audit of interface quality across accessibility, performance, theming, and responsive design.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
colorize
wpgaurav
Add strategic color to features that are too monochromatic or lack visual interest.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
onboard
wpgaurav
Design or improve onboarding flows, empty states, and first-time user experiences.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
delight
wpgaurav
Add moments of joy, personality, and unexpected touches that make interfaces memorable and enjoyable to use.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
animate
wpgaurav
Review a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
adapt
wpgaurav
Adapt designs to work across different screen sizes, devices, contexts, or platforms.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
extract
wpgaurav
Extract and consolidate reusable components, design tokens, and patterns into your design system.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
polish
wpgaurav
Final quality pass before shipping.
SkillAFreshness: A★ 18Claude Code +9
Signals
- Stars
- 18
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Oct 24, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/wpgaurav/WordPress-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from wpgaurav
- 0.642score
cinematic-editorial-graphics
wpgaurav
Create cinematic editorial hero images with photorealistic subjects, dramatic typography, and magazine-quality composition.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
bolder
wpgaurav
Amplify safe or boring designs to make them more visually interesting and stimulating.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
adapt
wpgaurav
Adapt designs to work across different screen sizes, devices, contexts, or platforms.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
animate
wpgaurav
Review a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
audit
wpgaurav
Perform comprehensive audit of interface quality across accessibility, performance, theming, and responsive design.
SkillAFreshness: A★ 18Claude Code +9 - 0.639score
colorize
wpgaurav
Add strategic color to features that are too monochromatic or lack visual interest.
SkillAFreshness: A★ 18Claude Code +9
Cite this page
ui-design-brain skill. Agent Mart. https://agentmart.dev/skills/wpgaurav-ui-design-brain (last updated 2026-10-24)