frontend-design-fix
关于
This skill transforms generic frontend designs by applying aesthetic upgrades across five core dimensions: typography, color, motion, spatial composition, and backgrounds. It diagnoses common design flaws and provides tech-agnostic principles, referencing framework-specific implementations. Use it to systematically enhance visual appeal and break predictable design patterns in your frontend code.
技能文档
Frontend Design Fix Skill
Overview
This orchestrator skill diagnoses generic design patterns and applies targeted aesthetic upgrades across five design dimensions. Fixes are tech-agnostic (principles) but reference framework-specific implementation skills.
The 5 Dimensions:
- Typography – Replace generic fonts, fix weight hierarchies, aggressive size jumps
- Color & Theme – Remove predictable palettes, introduce CSS variables, add dominant + accent strategy
- Motion – Add orchestrated page loads, staggered reveals, hover surprises
- Spatial Composition – Break centered layouts, introduce asymmetry, adjust spacing strategy
- Backgrounds & Details – Layer gradients, add geometric patterns, create atmospheric depth
Quick Diagnosis
"What's wrong with my design?"
It looks like a template → See ./sub-skills/audit.md
Font choices feel default → See ./sub-skills/typography-fixes.md
Color palette is predictable → See ./sub-skills/color-fixes.md
Everything's static and boring → See ./sub-skills/motion-fixes.md
Layout is centered and uniform → See ./sub-skills/spatial-fixes.md
Backgrounds are flat/plain → See ./sub-skills/background-fixes.md
5-Phase Fix Process
Phase 1: Audit
Identify generic elements, score anti-patterns, assess brand context
→ See ./sub-skills/audit.md
Phase 2: Assess Brand & Context
Understand emotional intent, target audience, competitive differentiation
Phase 3: Apply Dimension-Based Fixes
- Typography fixes (typeface, weights, size jumps)
- Color fixes (palette strategy, CSS variables, accents)
- Motion fixes (orchestration, scroll triggers, hover)
- Spatial fixes (asymmetry, overlap, diagonal flow)
- Background fixes (gradients, patterns, depth)
→ See specific sub-skills below
Phase 4: Validate Improvements
- Visual hierarchy strengthened?
- Brand personality evident?
- Accessibility maintained (WCAG AA+)?
- Performance acceptable?
Phase 5: Generate Before/After Report
Document improvements, measure impact, establish design guidelines
Anti-Pattern Detection Checklist
Typography
- Using Inter, Roboto, Open Sans, Lato, or system fonts
- Font weights in safe middle range (400, 500, 600 only)
- Size progression is linear/minimal (1.25–1.5x scale)
Color
- Material Design trinity (Blue, Red, Green)
- Oversaturated neon accents
- No color strategy document or CSS variable structure
Layout
- Everything is centered (hero, cards, sections)
- Uniform padding/margins everywhere
- Symmetric, grid-based composition only
Motion
- No animations at all
- Linear timing on all transitions
- Slow, sluggish animations (2s+)
Background
- Flat solid colors throughout
- No visual depth or layering
- No contextual details or micro-patterns
Sub-Skills Reference
| Sub-Skill | Purpose | Lines |
|---|---|---|
audit.md | Design audit checklist and scoring | ~100 |
typography-fixes.md | Font replacement, weight hierarchy, size jumps | ~100 |
color-fixes.md | Palette overhaul, CSS variables, accent strategy | ~100 |
motion-fixes.md | Orchestrated animations, scroll triggers, hover | ~100 |
spatial-fixes.md | Break centered layout, asymmetry, spacing | ~100 |
background-fixes.md | Gradients, patterns, textures, depth | ~100 |
When to Use This Skill
✅ Design audit reveals generic patterns or lack of differentiation ✅ Existing design feels "AI-generated" or template-like ✅ Need to upgrade without complete redesign ✅ Applying brand personality to standardized UI ✅ Want to improve motion, hierarchy, or visual depth ✅ Building stronger design system foundations
Getting Started
- Run the audit →
./sub-skills/audit.md - Identify weakest dimensions → Anti-pattern checklist above
- Apply targeted fixes → Follow relevant sub-skill(s)
- Validate improvements → Phase 4 checklist
- Document changes → Generate before/after report
Related Skills
- frontend-design – Create new designs (principles-first approach)
- frontend-design-react – React + Vite implementation
- frontend-design-vue – Vue 3 implementation
- frontend-design-svelte – Svelte implementation
- frontend-design-html – Static HTML/CSS implementation
快速安装
/plugin add https://github.com/matteocervelli/llms/tree/main/frontend-design-fix在 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管道。
