joabgonzalez/ai-agents-skills/interface-design
Claude Code and agent skill by joabgonzalez/ai-agents-skills
- community
Checking that the SKILL.md file is still in the repository.
UI/UX design patterns for software. Trigger: When designing user interfaces, planning UX flows, or evaluating UI decisions.
Install
npx vskill@latest install joabgonzalez/ai-agents-skills/interface-designSKILL.md
The same SKILL.md was published earlier as joabgonzalez/ai-agents-skills/interface-design.
Interface Design
Plan UI with intentional aesthetic direction, user flows, component hierarchy, and visual system. Design decisions before implementation.
When to Use
- Planning UI for a new feature or page
- Designing user flows and interactions
- Evaluating UI/UX decisions
- Building wireframes or component hierarchies
- User asks "how should this look?" or "what's the best UX for X?"
Don't use for:
- Implementation (react, mui, css skills)
- Accessibility (a11y)
- Backend APIs (architecture-patterns)
Critical Patterns
✅ REQUIRED: Commit to a Bold Aesthetic Direction
Before writing any UI code, define a clear conceptual direction and commit to it.
"Bold maximalism and refined minimalism both work — the key is intentionality, not intensity."
Typography: choose distinctive, characterful faces over generic defaults. Color: a palette that feels like it came FROM the product's world, not applied to it. Composition: unexpected layouts, asymmetry, diagonal flow, generous negative space or controlled density — all valid when intentional. Backgrounds: gradient meshes, noise textures, geometric patterns, grain overlays, layered transparencies, dramatic shadows — atmosphere and depth beyond solid colors. Complexity: match implementation to vision — maximalist design = elaborate animations and effects; minimalist = restraint, precision, and whitespace.
✅ REQUIRED: User-First Design Process
✅ REQUIRED: Define User Flows Before UI
✅ REQUIRED: Component Hierarchy
Map the UI structure before building components.
✅ REQUIRED: State Identification
Identify what state each component needs before implementing.
✅ REQUIRED: Depth Strategy — Pick One
Choose ONE depth approach and apply it consistently. Mixing strategies breaks visual coherence.
Inputs: slightly darker than surroundings (signals "type here"). Sidebars: same background as canvas with a subtle border — not a different hue that fragments space.
✅ REQUIRED: Interactive States — All 5
Every interactive element needs all five states defined before shipping.
✅ REQUIRED: Validation Checkpoints
✅ REQUIRED: Design Critique Framework
Use when evaluating existing UI — a mockup, PR, or shipped feature. Run all 5 dimensions in order.
1. First Impression (2 seconds)
- What draws the eye first? Is that the right element for the user's goal?
- Is the purpose immediately clear without reading any text?
2. Usability
- Can the user accomplish their goal with the current flow?
- Are interactive elements obvious — buttons look pressable, links distinguishable?
- Are there unnecessary steps between intent and outcome?
3. Visual Hierarchy
- Is there a clear reading order? Do size, weight, and contrast guide it?
- Is whitespace used deliberately — not just as leftover space?
4. Consistency
- Does it follow the established design system (spacing tokens, color tokens, typography scale)?
- Do similar elements (same action type, same data type) look and behave the same?
5. Accessibility (use a11y skill for full audit)
- Color contrast ≥ 4.5:1 for text, ≥ 3:1 for UI elements
- Touch targets ≥ 44×44px
- All interactive elements reachable and operable by keyboard
Feedback rules: Be specific (cite element and reason). Suggest alternatives alongside issues. Acknowledge what works.
❌ NEVER: Generic AI Defaults
❌ NEVER: Design in Code
Conventions
Visual system: Modular type scale (0.75rem → 3rem), line-height (headings 1.1–1.3, body 1.5–1.7), fluid clamp(). Spacing: 8pt grid (4px → 64px). Color: semantic tokens, WCAG ratios (4.5:1 text, 3:1 UI). See visual-design.md.
Responsive: Mobile-first, content-driven breakpoints. dvh for mobile browser compatibility. Touch targets 44×44px minimum. See responsive-design.md.
Motion: transform/opacity for 60fps. In React, use the Motion library for complex sequences. Timing: 100–150ms (feedback), 200–300ms (toggles), 300–500ms (modals). Support prefers-reduced-motion. One well-orchestrated page-load reveal creates more delight than scattered micro-interactions. See interaction-design.md.
Decision Tree
Examples
| Pattern | Use When | Example | |
|---|---|---|---|
| List → Detail | Browsing collections | Products list → Product page | |
| Wizard/Steps | Multi-step processes | Checkout, onboarding | |
| Dashboard | Overview + drill-down | Admin panel, analytics | |
| Master-Detail | List with inline preview | Email client, file manager | |
| Modal/Dialog | Focused action, confirmation | Delete confirm, quick edit | |
| Tabs | Related content sections | Settings, profile sections | |
| Search + Filter | Large datasets | Product catalog, user list | |
| Infinite scroll | Content feeds | Social feed, news |
Edge Cases
Responsive: Mobile-first, then expand.
Loading states: Every async operation needs loading, success, error, and empty states.
Empty states: Design for zero data (first use, no results, filtered to nothing).
Error recovery: Always provide a way forward — never a dead end.
Checklist
- [ ] Aesthetic direction committed (domain explored, color world, tone, differentiation, 3 defaults rejected)
- [ ] User flow mapped with entry, goal, and edge cases
- [ ] Component hierarchy reflects visual structure
- [ ] State identified and colocated appropriately
- [ ] All 4 validation checkpoints passed (including craft self-evaluation)
- [ ] Depth strategy chosen and applied consistently
- [ ] All 5 interactive states defined per interactive element
- [ ] Loading, error, and empty states designed
- [ ] Responsive behavior planned
- [ ] Accessibility considerations included
Resources
This is the start of the file. Read the full SKILL.md on GitHub.
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 repositoryCheckingskills/interface-design/SKILL.md
Popularity
- Repository stars
- 6
- Repository npm downloads, 7 days
- 18
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 24 Mar 2026, 8 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/joabgonzalez/ai-agents-skills/interface-design)