frontend-design-fix
About
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.
Documentation
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
Quick Install
/plugin add https://github.com/matteocervelli/llms/tree/main/frontend-design-fixCopy 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.
