Back to Skills

frontend-design

matteocervelli
Updated Today
38 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.

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

Quick Install

/plugin add https://github.com/matteocervelli/llms/tree/main/frontend-design

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

GitHub 仓库

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

Related Skills

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

webapp-testing

Testing

This Claude Skill provides a Playwright-based toolkit for testing local web applications through Python scripts. It enables frontend verification, UI debugging, screenshot capture, and log viewing while managing server lifecycles. Use it for browser automation tasks but run scripts directly rather than reading their source code to avoid context pollution.

View skill

business-rule-documentation

Meta

This skill provides standardized templates for systematically documenting business logic and domain knowledge following Domain-Driven Design principles. It helps developers capture business rules, process flows, decision trees, and terminology glossaries to maintain consistency between requirements and implementation. Use it when documenting domain models, creating business rule repositories, or bridging communication between business and technical teams.

View skill

csv-data-summarizer

Meta

This skill automatically analyzes CSV files to generate comprehensive statistical summaries and visualizations using Python's pandas and matplotlib/seaborn. It should be triggered whenever a user uploads or references CSV data without prompting for analysis preferences. The tool provides immediate insights into data structure, quality, and patterns through automated analysis and visualization.

View skill