design-patterns
Design Patterns Reference
This skill provides a curated library of proven design patterns that generate high-quality, non-vibe-coded UI.
Layout Patterns
Hero Sections
Pattern 1: Split Hero Best for: SaaS, product landing pages
┌─────────────────────────────────────────────┐
│ [Content] [Media] │
│ Headline Image/Video/ │
│ Subhead Illustration │
│ CTA Buttons │
└─────────────────────────────────────────────┘
Pattern 2: Centered Hero Best for: Announcements, events, minimal designs
┌─────────────────────────────────────────────┐
│ [Eyebrow Badge] │
│ Headline │
│ Subhead │
│ [CTA] [Secondary] │
│ [Social Proof] │
└─────────────────────────────────────────────┘
Pattern 3: Product Showcase Best for: E-commerce, physical products
┌─────────────────────────────────────────────┐
│ [Product Image - Large, High Quality] │
│ ───────────────────────────────────────── │
│ Product Name Price │
│ Brief Description [Add to Cart] │
│ [Feature Icons] │
└─────────────────────────────────────────────┘
Navigation Patterns
Top Navigation (Desktop)
┌─────────────────────────────────────────────┐
│ [Logo] Nav Items... [CTA] [Account] │
└─────────────────────────────────────────────┘
Sidebar Navigation (Dashboard)
┌─────────────────────────────────────────────┐
│ [Logo] │ Page Content │
│ ─────────────── │ │
│ Nav Item 1 │ │
│ Nav Item 2 │ │
│ Nav Item 3 │ │
│ │ │
│ [Collapsed User] │ │
└─────────────────────────────────────────────┘
Card Patterns
Content Card
┌─────────────────┐
│ [Image] │
│ Category │
│ Title │
│ Description... │
│ [Meta] [Action] │
└─────────────────┘
Feature Card
┌─────────────────┐
│ [Icon] │
│ Feature Name │
│ Description │
│ that explains │
│ the benefit. │
└─────────────────┘
Pricing Card
┌─────────────────┐
│ Plan Name │
│ $XX/mo │
│ Description │
│ ─────────────── │
│ ✓ Feature 1 │
│ ✓ Feature 2 │
│ ✓ Feature 3 │
│ [CTA Button] │
└─────────────────┘
Component Patterns
Buttons
Primary Button
- Background: Primary color
- Text: White/contrast color
- Padding: 12px 24px (or 16px 32px for large)
- Border-radius: 6px (or 8px)
- Font-weight: 500 or 600
- Hover: Darken 10%
Secondary Button
- Background: Transparent
- Border: 1px solid primary or gray
- Text: Primary color or gray-700
- Same padding and radius as primary
Ghost Button
- Background: Transparent
- No border
- Text: Primary color
- Underline or subtle hover effect
Forms
Input Field
<div class="form-group">
<label for="input">Label</label>
<input type="text" id="input" placeholder="Placeholder">
<span class="hint">Helper text</span>
</div>
Styling:
- Border: 1px solid gray-300
- Border-radius: 6px
- Padding: 10px 14px
- Focus: Border primary color + ring
- Error: Border red + red text
Feedback
Toast Notification
┌────────────────────────────┐
│ [Icon] Message text [X] │
└────────────────────────────┘
Position: Top-right or bottom-center Duration: 3-5 seconds
Alert Banner
┌──────────────────────────────────────────┐
│ [Icon] Alert message with more details. │
│ [Action Link] [X] │
└──────────────────────────────────────────┘
Sector-Specific Patterns
Fintech
Trust Indicators:
- Security badges (SOC2, bank-level encryption)
- Regulatory compliance logos
- Trust pilot/review scores
- "Protected by..." messaging
Data Display:
- Clean data tables with sorting
- Clear number formatting (currency, percentages)
- Status indicators (green/yellow/red)
- Trend indicators (arrows, sparklines)
Color Guidance:
- Primary: Blues, teals
- Success: Greens (money positive)
- Warning: Amber (caution)
- Avoid: Aggressive reds except for losses
Healthcare
Accessibility Priority:
- WCAG AAA contrast where possible
- Large touch targets (48px minimum)
- Clear, readable fonts (18px+ body)
- High-contrast mode option
Information Hierarchy:
- Critical info: Prominent placement
- Warnings: Clear visual distinction
- Patient data: Clear labeling
- Actions: Confirmation for destructive
Color Guidance:
- Calming: Soft blues, greens
- Clinical: Clean whites
- Avoid: Harsh, aggressive colors
E-commerce
Product Display:
- High-quality images (multiple angles)
- Clear pricing (original + sale)
- Stock status
- Quick add to cart
Trust & Conversion:
- Reviews and ratings
- Free shipping threshold
- Return policy highlight
- Secure checkout badges
Urgency (use sparingly):
- Low stock indicators
- Sale countdown
- Limited time offers
SaaS
Onboarding:
- Progressive disclosure
- Progress indicators
- Skip options
- Contextual help
Dashboard:
- Key metrics prominent
- Clear navigation
- Quick actions
- Recent activity
Pricing Page:
- Clear comparison
- Recommended plan highlight
- Feature differentiation
- FAQ section
Anti-Patterns (Avoid These)
Layout Anti-Patterns
- ❌ Walls of text without visual breaks
- ❌ Too many competing focal points
- ❌ Inconsistent alignment
- ❌ Cramped spacing
Component Anti-Patterns
- ❌ Mystery meat navigation (icons without labels)
- ❌ Infinite scroll without way back
- ❌ Carousel as primary content
- ❌ Pop-ups on page load
Visual Anti-Patterns
- ❌ Generic purple-blue gradients
- ❌ Floating decorative blobs
- ❌ Stock photos of business handshakes
- ❌ Default framework colors unchanged
More from claude-code-community-ireland/claude-code-resources
design-ui
This skill should be used when the user asks to "design a UI", "create a landing page", "build a dashboard", "generate a website design", "make a product page", or needs guidance on UI design patterns, accessibility standards, design tokens, or eliminating generic AI-generated design patterns (vibe-code).
12security-review
Security review checklist covering OWASP Top 10, authentication, authorization, input validation, secrets management, and common vulnerability patterns. Reference when reviewing code for security.
7architecture-decision-record
ADR format and methodology for documenting significant technical decisions with context, alternatives considered, and consequences. Use when making or documenting architectural decisions.
5pr-description
Pull request authoring standards — structured descriptions, linking issues, providing test evidence, and writing good summaries. Reference when creating or describing pull requests.
4refactoring-patterns
Safe refactoring techniques — extract method, rename, move, inline, and structural patterns. Includes code smell identification and transformation recipes. Use when refactoring code or improving structure.
4skill development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.
4