frontend-design
关于
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.
技能文档
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
快速安装
/plugin add https://github.com/matteocervelli/llms/tree/main/frontend-design在 Claude Code 中复制并粘贴此命令以安装该技能
GitHub 仓库
相关推荐技能
langchain
元LangChain是一个用于构建LLM应用程序的框架,支持智能体、链和RAG应用开发。它提供多模型提供商支持、500+工具集成、记忆管理和向量检索等核心功能。开发者可用它快速构建聊天机器人、问答系统和自主代理,适用于从原型验证到生产部署的全流程。
project-structure
元这个Skill为开发者提供全面的项目目录结构设计指南和最佳实践。它涵盖了多种项目类型包括monorepo、前后端框架、库和扩展的标准组织结构。帮助团队创建可扩展、易维护的代码架构,特别适用于新项目设计、遗留项目迁移和团队规范制定。
issue-documentation
元该Skill为开发者提供标准化的issue文档模板和指南,适用于创建bug报告、GitHub/Linear/Jira问题等场景。它能系统化地记录问题状况、复现步骤、根本原因、解决方案和影响范围,确保团队沟通清晰高效。通过实施主流问题跟踪系统的最佳实践,帮助开发者生成结构完整的故障排除文档和事件报告。
llamaindex
元LlamaIndex是一个专门构建RAG应用的开发框架,提供300多种数据连接器用于文档摄取、索引和查询。它具备向量索引、查询引擎和智能代理等核心功能,支持构建文档问答、知识检索和聊天机器人等数据密集型应用。开发者可用它快速搭建连接私有数据与LLM的RAG管道。
