Agent skill

frontend-design

Create distinctive, memorable user interfaces that avoid generic AI aesthetics. Use when designing UI/UX, planning visual direction, or building pages and layouts.

Stars 9
Forks 1

Install this agent skill to your Project

npx add-skill https://github.com/benshapyro/cadre-devkit-claude/tree/main/skills/frontend-design

SKILL.md

Frontend Design Skill

Create distinctive, memorable user interfaces that avoid generic AI aesthetics.

Pre-Implementation Planning

Before writing code, establish:

  1. Purpose & Audience - What problem does this solve? Who uses it?
  2. Tone - Choose a deliberate aesthetic direction:
    • Brutalist, maximalist, retro-futuristic, luxury, playful, editorial, organic, industrial
  3. Constraints - Framework requirements, performance budgets, accessibility needs
  4. Memorable Element - What's the ONE thing users will remember?

Design Principles

Typography

  • Avoid: Inter, Roboto, Arial, system-ui (generic AI look)
  • Prefer: Distinctive typefaces with character
  • Pair display fonts with refined body options
  • Size hierarchy should be dramatic, not subtle

Color & Theme

  • Use CSS variables for cohesive theming
  • Dominant colors with sharp accents > evenly-distributed palettes
  • Commit fully to color choices - timid palettes look generic
  • Dark mode should be designed, not just inverted

Motion & Animation

  • Prioritize high-impact moments (page load, key interactions)
  • One well-orchestrated entrance > scattered micro-interactions
  • Staggered reveals create rhythm and hierarchy
  • Quality over quantity

Spatial Composition

  • Employ asymmetry, overlap, diagonal flow
  • Break grids intentionally for emphasis
  • Generous negative space OR controlled density (pick one)
  • Avoid centered-everything layouts

Visual Details

  • Gradient meshes, noise textures, geometric patterns
  • Layered transparencies, dramatic shadows
  • Custom cursors, grain overlays, decorative borders
  • Details should reinforce the chosen aesthetic

Anti-Patterns

  • Generic fonts (Inter, Roboto, Arial on white backgrounds)
  • Purple/blue gradients on white (classic AI startup look)
  • Predictable card grids with rounded corners
  • Cookie-cutter component libraries without customization
  • Designs that could belong to any product

Implementation Approach

1. Establish design tokens (colors, typography, spacing)
2. Build distinctive hero/header first (sets the tone)
3. Let the hero aesthetic inform component design
4. Add motion and micro-interactions last
5. Review: "Would I remember this UI tomorrow?"

Framework Notes

This skill is framework-agnostic. Apply these principles whether using:

  • React/Next.js with Tailwind
  • Vue/Nuxt with CSS
  • Svelte with styled-components
  • Plain HTML/CSS

The goal is distinctive design, not specific implementation.


Version

  • v1.0.0 (2025-12-05): Added YAML frontmatter, initial documented version

Expand your agent's capabilities with these related and highly-rated skills.

benshapyro/cadre-devkit-claude

product-discovery

Methodology for discovering and specifying new software products. Use when starting greenfield projects, exploring new ideas, or defining MVP scope.

9 1
Explore
benshapyro/cadre-devkit-claude

error-handler

Provides battle-tested error handling patterns for TypeScript and Python. Use when implementing error handling, creating try/catch blocks, or handling exceptions.

9 1
Explore
benshapyro/cadre-devkit-claude

documentation-templates

Generates README files, API documentation, and inline code comments following best practices. Use when creating project documentation, writing READMEs, documenting APIs, or explaining complex code.

9 1
Explore
benshapyro/cadre-devkit-claude

test-generator

Generates Jest or Pytest tests following Ben's testing standards. Use when creating tests, adding test coverage, writing unit tests, mocking dependencies, or when user mentions testing, test cases, Jest, Pytest, fixtures, assertions, or coverage.

9 1
Explore
benshapyro/cadre-devkit-claude

react-patterns

Modern React patterns for TypeScript applications including hooks, state management, and component composition. Use when building React components, managing state, or implementing React best practices.

9 1
Explore
benshapyro/cadre-devkit-claude

code-formatter

Formats code according to Ben's style guidelines for TypeScript, Python, and general best practices. Use when formatting code, fixing linting issues, checking naming conventions, organizing imports, or when user mentions formatting, style, linting, Prettier, Black, or ESLint.

9 1
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results