home / skills / 1999azzar / ui-designer-skill / ui-designer-skill

ui-designer-skill skill

/SKILL.md

This skill helps you design beautiful, accessible interfaces with cohesive theming, color harmony, and Tailwind-powered implementation guidance.

npx playbooks add skill 1999azzar/ui-designer-skill --skill ui-designer-skill

Review the files below or copy the command above to add this skill to your agents.

Files (12)
SKILL.md
3.5 KB
---
name: ui-designer
description: Design beautiful interfaces using Material You, Minimalism, Glassmorphism, Neo-Brutalism, and Claymorphism. Expert in Tailwind CSS, color harmonics, component theming, and accessibility (WCAG).
---

# UI Designer Skill

Expert design guidance for creating aesthetically pleasing, user-centric interfaces. This skill focuses on the visual and structural design intent before and during implementation.

## Core Capabilities

### 1. Color Palette Generation
Generate cohesive and harmonic color palettes tailored to the project's vibe.
- Deliverables: HEX codes, Tailwind config extensions, and CSS variables.
- Palettes: Default to high-end pastels, dark luxury, or tonal Material You sets.

### 2. Component Theming
Establish robust theme systems (Light/Dark) through consistent design tokens.
- Define --bg, --text, --accent, and --border variables.
- Ensure unified states (hover, focus, active) across all UI elements.

### 3. Accessibility Audits
Evaluate and refine interfaces for maximum inclusivity and compliance.
- Focus: WCAG AA/AAA contrast ratios, semantic HTML, and intuitive navigation.
- Guidance: ARIA attributes, focus ring management, and screen-reader friendliness.

## Core Design Languages

### 1. Material You (M3)
- **Key traits:** Large rounded corners, tonal color palettes, expressive typography.
- **Reference:** [material-you.md](references/material-you.md)

### 2. Minimalism
- **Key traits:** Generous padding, typography-driven hierarchy, neutral palettes.
- **Reference:** [minimalism.md](references/minimalism.md)

### 3. Glassmorphism
- **Key traits:** Backdrop blur, thin borders, vibrant background gradients.
- **Reference:** [glassmorphism.md](references/glassmorphism.md)

### 4. Neo-Brutalism
- **Key traits:** Thick black borders, hard shadows, vibrant clashing colors, bold typography.
- **Reference:** [neo-brutalism.md](references/neo-brutalism.md)

### 5. Claymorphism
- **Key traits:** Soft 3D shapes, double inner shadows, large border radius, playful pastels.
- **Reference:** [claymorphism.md](references/claymorphism.md)

### 6. M3 Pastel Glass (Hybrid)
- **Key traits:** Pastel Blue/Deep Blue, 28px corners, morphing hover effects.
- **Reference:** [m3-pastel-glass.md](references/m3-pastel-glass.md)

### 7. Neo-M3 Hybrid (Wired/Verge Style)
- **Key traits:** Wired/Verge inspired high-contrast, 3px solid black borders, hard shadows (6px+), 24px rounded corners, tonal pastel accents.
- **Reference:** [neo-m3-hybrid.md](references/neo-m3-hybrid.md)

## Automation: Cursor Integration

This skill can automatically update your project's `.cursorrules` to keep the AI aligned with your design goals.

### `apply_ui_rules.py`
Run this script to append design rules to your current directory's .cursorrules.

```bash
python ~/.gemini/skills/ui-designer/scripts/apply_ui_rules.py --style [material|minimal|glass|neo-brutalism|claymorphism|m3-pastel|neo-m3] --palette [pastel|dark|vibrant]
```

## Workflows

### 1. Design Conception
When starting a new feature, ask for:
- Primary design language? (Material You, Minimalism, Glassmorphism, Neo-Brutalism, Claymorphism, M3 Pastel Glass, Neo-M3 Hybrid)
- Color vibe? (Pastel, Dark, High-Contrast)

### 2. Component Architecture
Plan the HTML/React structure with Tailwind classes. Focus on Grid/Flex layouts and responsiveness.

## Best Practices
- **Consistency:** Stick to one design language per project.
- **Accessibility:** Ensure enough contrast for text.
- **Azzar's Rule:** "Just enough engineering to get it done well." (Wong edan mah ajaib).

Overview

This skill provides expert guidance to design beautiful, user-centric interfaces across Material You, Minimalism, Glassmorphism, Neo‑Brutalism, and Claymorphism. It combines color harmonics, Tailwind CSS expertise, component theming, and WCAG-focused accessibility to produce polished, production-ready UI intent. Use it to define palettes, theme tokens, component states, and accessibility fixes before implementation.

How this skill works

I generate cohesive color palettes with HEX codes, Tailwind config snippets, and CSS variable sets tailored to the chosen design language and vibe. I produce theme systems with clear tokens (--bg, --text, --accent, --border) and unified interaction states for hover, focus, and active. I perform accessibility audits that check contrast ratios, semantic structure, ARIA guidance, and keyboard focus behavior. Optionally, I can append design rules to your local cursor rules file to keep tooling aligned with the chosen style.

When to use it

  • Starting a new feature or product and you need a clear visual direction
  • Converting a wireframe into themed components with Tailwind CSS
  • Creating accessible color palettes and ensuring WCAG AA/AAA contrast
  • Standardizing component states and design tokens across a codebase
  • Experimenting with hybrid aesthetics (e.g., pastel glass or neo‑M3) before handoff

Best practices

  • Pick one primary design language per project to maintain visual coherence
  • Define atomic tokens (--bg, --text, --accent, --border) for both light and dark themes
  • Validate color choices with WCAG contrast checks and fallback text styles
  • Use Tailwind config extensions to centralize palette and spacing decisions
  • Document hover/focus/active states and ARIA expectations for each component

Example use cases

  • Generate a dark luxury palette plus Tailwind config and CSS variables for a premium dashboard
  • Create a Material You themed button system with large rounded corners and responsive typography
  • Audit an existing site for contrast failures and provide exact color replacements and ARIA fixes
  • Prototype a glassmorphism landing hero with backdrop blur, gradient assets, and interaction rules
  • Define component structure and Tailwind utility suggestions for a claymorphism-style settings panel

FAQ

Can you produce ready-to-use Tailwind config entries?

Yes — I output Tailwind extend snippets including color keys and recommended shades so you can paste them into your config.

Do you check accessibility automatically?

I run contrast and semantic checks and return concrete fixes: alternate colors, ARIA usage, and keyboard focus guidance.