Frontend design fix html

From matteocervelli/llms · View interactive version

Frontend design fix html is an AI agent skill from the GitHub repository matteocervelli/llms. Fix generic HTML/CSS designs by applying aesthetic upgrades across the 5 design dimensions (typography, color, motion, spatial composition, backgrounds)

How to use this skill

Skill file

Frontend Design Fix - HTML/CSS

Overview

Transform bland, generic HTML/CSS designs into visually distinctive interfaces by systematically applying the 5 design dimensions from Anthropic's design framework.

Core Workflow

1. Analysis Phase

2. Assessment Phase

3. Dimension-Based Fixes

Typography
Color & Theme
Motion
Spatial Composition
Backgrounds

4. Implementation

5. Validation

Design Audit Checklist

Typography Audit

Color & Theme Audit

Motion Audit

Spatial Composition Audit

Background Audit

Implementation Tips

CSS Best Practices

/* Use custom properties for consistency */
:root {
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --primary: #1a1a1a;
  --accent: #ff6b35;
  --surface: #fafafa;

  --transition-fast: 200ms ease-out;
  --transition-base: 400ms ease-out;
}

/* Orchestrate animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger with nth-child */
[data-stagger] {
  animation: fadeInUp var(--transition-base) ease-out forwards;
}

[data-stagger]:nth-child(1) { animation-delay: 100ms; }
[data-stagger]:nth-child(2) { animation-delay: 200ms; }
[data-stagger]:nth-child(3) { animation-delay: 300ms; }

Accessibility Maintenance

Examples

See /examples/showcase.md for before/after comparisons:

Success Metrics

After applying fixes, the design should:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.