frontend-design
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:
- Typography – Typeface selection, font pairings, weights, sizing, and hierarchy
- Color & Theme – Emotional intent, color systems, and unexpected accents
- Motion – Orchestrated animations, easing, and interaction choreography
- Spatial Composition – Layout, spacing systems, and asymmetrical design
- 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
- Design Thinking – Answer purpose, tone, constraints, differentiation
- Typography – Select typefaces, weights, sizes, hierarchy
- Color & Theme – Define emotional intent, color system, accents
- Motion – Plan animations, easing, interaction sequences
- Spatial Composition – Design layouts, spacing scales, asymmetry
- Backgrounds & Details – Add subtle textures, gradients, micro-details
- Implementation – Follow your tech-specific sub-skill
- 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-Skill | Purpose |
|---|---|
typography | Font selection, pairings, hierarchy, sizing |
color-theme | Color systems, emotional intent, accents |
motion | Animations, easing, orchestration, scroll triggers |
spatial | Layout systems, asymmetry, spacing scales |
backgrounds | Gradients, textures, micro-details, patterns |
design-thinking | Pre-design checklist and strategic thinking |
Framework Sub-Skills Reference
| Framework | Create New | Fix Existing |
|---|---|---|
| React + Vite | frontend-design-react | frontend-design-fix-react |
| Vue | frontend-design-vue | frontend-design-fix-vue |
| Svelte | frontend-design-svelte | frontend-design-fix-svelte |
| HTML/CSS | frontend-design-html | frontend-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
- Pick your framework (React, Vue, Svelte, or HTML)
- Complete the design thinking checklist (
./sub-skills/design-thinking.md) - Follow the 8-phase workflow (this document)
- Apply each dimension using the corresponding sub-skill
- Validate against the anti-patterns checklist
Quick Install
/plugin add https://github.com/matteocervelli/llms/tree/main/frontend-designCopy and paste this command in Claude Code to install this skill
GitHub 仓库
Related Skills
langchain
MetaLangChain 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.
webapp-testing
TestingThis 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.
business-rule-documentation
MetaThis 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.
Algorithmic Art Generation
MetaThis skill helps developers create algorithmic art using p5.js, focusing on generative art, computational aesthetics, and interactive visualizations. It automatically activates for topics like "generative art" or "p5.js visualization" and guides you through creating unique algorithms with features like seeded randomness, flow fields, and particle systems. Use it when you need to build reproducible, code-driven artistic patterns.
