Back to Skills

frontend-design

matteocervelli
Updated 3 days ago
130 views
10
10
View on GitHub
Metadesign

About

This skill helps developers create production-ready frontends by systematically composing five core design dimensions (typography, color, motion, spatial composition, and backgrounds). It generates distinctive, non-generic UIs by applying these dimensions to specific tech stacks like React with Vite and Framer Motion or Vue. Use it when you need to quickly build a polished, uniquely styled frontend with a cohesive design system.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/matteocervelli/llms
Git CloneAlternative
git clone https://github.com/matteocervelli/llms.git ~/.claude/skills/frontend-design

Copy and paste this command in Claude Code to install this skill

Documentation

Frontend Design Skill

Overview

This orchestrator skill composes five design dimensions with tech-specific implementations to create distinctive, production-grade frontends that avoid generic AI design patterns.

The 5 Dimensions:

  1. Typography – Typeface selection, font pairings, weights, sizing, and hierarchy
  2. Color & Theme – Emotional intent, color systems, and unexpected accents
  3. Motion – Orchestrated animations, easing, and interaction choreography
  4. Spatial Composition – Layout, spacing systems, and asymmetrical design
  5. Backgrounds & Details – Subtle textures, gradients, and visual rewards

Tech Implementations (choose one):

  • React with Vite and Framer Motion
  • Vue (Options API or Composition API)
  • Svelte with custom animations
  • HTML/CSS/SCSS fundamentals
  • Design system integrations (Tailwind, shadcn/ui, Radix, Material)

Quick Navigation

"I need to create..." - "I want to focus on..."

Typography dimension → See ./sub-skills/typography.md

Color & theme system → See ./sub-skills/color-theme.md

Motion & animations → See ./sub-skills/motion.md

Spatial layout & composition → See ./sub-skills/spatial.md

Backgrounds & visual details → See ./sub-skills/backgrounds.md

Design thinking checklist → See ./sub-skills/design-thinking.md


8-Phase Workflow

  1. Design Thinking – Answer purpose, tone, constraints, differentiation
  2. Typography – Select typefaces, weights, sizes, hierarchy
  3. Color & Theme – Define emotional intent, color system, accents
  4. Motion – Plan animations, easing, interaction sequences
  5. Spatial Composition – Design layouts, spacing scales, asymmetry
  6. Backgrounds & Details – Add subtle textures, gradients, micro-details
  7. Implementation – Follow your tech-specific sub-skill
  8. Validation – Design review, accessibility, performance, mobile

Anti-Patterns (Reject These)

Typography

  • ❌ Inter, Roboto, Open Sans, Lato, system fonts
  • ❌ Mid-range weights only (400, 500, 600)
  • ❌ Incremental size scaling (48px → 40px → 32px)

Color

  • ❌ Material Design trinity (Blue, Red, Green)
  • ❌ Pure grays without personality (#999, #CCC)
  • ❌ Oversaturated neon accents

Layout

  • ❌ Everything centered (predictable, boring)
  • ❌ Uniform padding everywhere
  • ❌ "Default SaaS dashboard" aesthetic

Motion

  • ❌ Linear timing on everything
  • ❌ No animation at all
  • ❌ Slow, sluggish transitions (2s+)

Sub-Skills Reference

Sub-SkillPurpose
typographyFont selection, pairings, hierarchy, sizing
color-themeColor systems, emotional intent, accents
motionAnimations, easing, orchestration, scroll triggers
spatialLayout systems, asymmetry, spacing scales
backgroundsGradients, textures, micro-details, patterns
design-thinkingPre-design checklist and strategic thinking

Framework Sub-Skills Reference

FrameworkCreate NewFix Existing
React + Vitefrontend-design-reactfrontend-design-fix-react
Vuefrontend-design-vuefrontend-design-fix-vue
Sveltefrontend-design-sveltefrontend-design-fix-svelte
HTML/CSSfrontend-design-htmlfrontend-design-fix-html

When to Use This Skill

✅ Building a distinctive frontend that doesn't look AI-generated ✅ Need guidance on typography, color, motion, and layout composition ✅ Want to avoid generic design patterns and clichés ✅ Implementing a design system with intentional principles ✅ Creating multi-page apps with consistent design language


Getting Started

  1. Pick your framework (React, Vue, Svelte, or HTML)
  2. Complete the design thinking checklist (./sub-skills/design-thinking.md)
  3. Follow the 8-phase workflow (this document)
  4. Apply each dimension using the corresponding sub-skill
  5. Validate against the anti-patterns checklist

GitHub Repository

matteocervelli/llms
Path: frontend-design-system/skills/frontend-design

Related Skills

content-collections

Meta

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

View skill

creating-opencode-plugins

Meta

This skill provides the structure and API specifications for creating OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It offers implementation patterns for JavaScript/TypeScript modules that intercept and extend the AI assistant's lifecycle. Use it when you need to build event-driven plugins for monitoring, custom handling, or extending OpenCode's capabilities.

View skill

polymarket

Meta

This skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.

View skill

langchain

Meta

LangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.

View skill