agentleFS
kaynetikkaynetik/skills/frontend-design/SKILL.md

frontend-design

Skill1 starsChanged 8 months agoMITView on GitHub

Creates distinctive, production-grade frontend interfaces with exceptional aesthetic intentionality. Covers design tokens, typography systems, color palettes, component design, motion, accessibility, and design system architecture. Use when building UI components, pages, or applications; auditing existing designs; generating design tokens; choosing fonts, colors, or layout strategies; or when the user asks for help with frontend design, CSS, UI, UX, design system, visual design, component styling, or making something look good.

187 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use instantly-campaign, albert-dm and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • yawningwhaleAISkill

    instantly-campaign

    Create a new Instantly cold-email campaign in the proven 5-email structure of the user's top-performing campaign (~16% reply rate). Use when the user wants to launch a new outbound campaign, write a cold email sequence, create an Instantly campaign, draft outreach for a new service or niche, or set up a sales sequence.

    Also in 6 projects that use this

  • yawningwhaleAISkill

    albert-dm

    Reply to DMs and messages the way Albert would. Use when the user asks "how would Albert reply to this", pastes a conversation and wants an Albert-style response, or asks you to draft/write a DM in Albert's voice. Albert sells AI voice agents / automations to local service businesses (Go High Level, lead follow-up, bookings).

    Also in 5 projects that use this

  • naman10parikhSkill

    ecosystem-reference

    Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.

    Also in 5 projects that use this

  • naman10parikhSkill

    fractal-delegation

    Also in 5 projects that use this

  • julianoczkowskiSkill

    brief-to-tasks

    Break a design brief into an ordered checklist of independently buildable tasks using vertical slices. Saves as a markdown checklist. Use when user wants to break down work, create tasks from a brief, plan implementation order, or mentions "tasks" or "breakdown".

    Also in 7 projects that use this

  • SeifBenayedSkill

    file-reading

    Use this skill when a file has been uploaded but its content is NOT in your context — only its path at /mnt/user-data/uploads/ is listed in an uploaded_files block. This skill is a router: it tells you which tool to use for each file type (pdf, docx, xlsx, csv, json, images, archives, ebooks) so you read the right amount the right way instead of blindly running cat on a binary. Triggers: any mention of /mnt/user-data/uploads/, an uploaded_files section, a file_path tag, or a user asking about an uploaded file you have not yet read. Do NOT use this skill if the file content is already visible in your context inside a documents block — you already have it.

    Also in 6 projects that use this

  • +6 more from naman10parikh

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 181 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create distinctive, production-grade interfaces with a clear aesthetic point-of-view.

    line 16
  2. Distinctive:

    Commit to an aesthetic direction by answering:

    line 20

“Common” is measured: kept by at least 6 in 10 of the 181 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Frontend Design

Create distinctive, production-grade interfaces with a clear aesthetic point-of-view. Choose a direction and execute it with precision. Bold maximalism and refined minimalism both work -- intentionality beats intensity.

Design Thinking (Before Coding)

Commit to an aesthetic direction by answering:

  1. Purpose: What problem does this solve? Who uses it?
  2. Tone: Pick an extreme -- brutally minimal, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial, brutalist/raw, art deco/geometric, industrial/utilitarian, etc.
  3. Differentiator: What makes this unforgettable?

Anti-Defaults

NEVER use:

  • Overused fonts as display fonts: Inter, Roboto, Arial, Space Grotesk (these are acceptable as body text when deliberately paired)
  • system-ui as the sole font stack without an intentional pairing
  • Purple gradients on white backgrounds
  • Predictable card-grid Bootstrap-style layouts
  • Generic blue CTA buttons with rounded corners on white
  • Timid, evenly-distributed color palettes

ALWAYS:

  • Choose a display font that is unexpected and characterful; pair with a refined body font
  • Dominant colors with sharp accents over safe palettes
  • Asymmetry, overlap, grid-breaking, or generous negative space
  • Atmosphere and depth via gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows

Design System Architecture

Token Naming Convention

Tokens use a flat --{category}-{name} CSS custom property scheme:

CategoryPatternExamples
Color--color-{role}--color-primary, --color-accent, --color-surface, --color-surface-elevated, --color-text, --color-text-secondary, --color-border
Semantic--color-{semantic}--color-success, --color-warning, --color-error
Font--font-{role}--font-display, --font-body, --font-mono
Type scale--text-{size}--text-xs, --text-sm, --text-base, --text-lg, --text-xl
Spacing--space-{n}--space-1 (0.25rem), --space-2 (0.5rem), --space-4 (1rem)
Radius--radius-{size}--radius-sm, --radius-md, --radius-lg, --radius-full
Shadow--shadow-{level}--shadow-sm, --shadow-md, --shadow-lg, --shadow-dramatic
Motion--ease-{name}--ease-out, --ease-in-out, --ease-spring

Token Reference (8px spacing base)

:root {
  /* Colors -- replace with project palette */
  --color-primary: ;
  --color-primary-fg: ;
  --color-accent: ;
  --color-surface: ;
  --color-surface-elevated: ;
  --color-surface-subtle: ;
  --color-text: ;
  --color-text-secondary: ;
  --color-text-inverse: ;
  --color-border: ;
  --color-success: ;
  --color-warning: ;
  --color-error: ;

  /* Fonts -- set via next/font CSS variables */
  --font-display: var(--font-display-var, Georgia, serif);
  --font-body: var(--font-body-var, system-ui, sans-serif);
  --font-mono: 'JetBrains Mono', 'Cascadia Code', monospace;

  /* Spacing (8px base) */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-6: 1.5rem;    --space-8: 2rem;
  --space-12: 3rem;    --space-16: 4rem;     --space-24: 6rem;

  /* Radius */
  --radius-sm: 0.25rem;  --radius-md: 0.5rem;
  --radius-lg: 1rem;     --radius-xl: 1.5rem;  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.15);
  --shadow-dramatic: 0 40px 80px -20px rgb(0 0 0 / 0.3);

  /* Motion */
  --duration-fast: 150ms;  --duration-normal: 300ms;  --duration-slow: 500ms;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

Type Scale Ratios

ScaleRatioCharacter
major-second1.125Professional, balanced
minor-third1.200Clear hierarchy
perfect-fourth1.333Bold, impactful
golden-ratio1.618Dramatic, artistic

Motion Guidelines

One well-orchestrated page-load with staggered reveals creates more delight than scattered micro-interactions:

/* Staggered reveal pattern */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal:nth-child(1) { animation: fade-up 400ms var(--ease-out) 0ms forwards; }
.reveal:nth-child(2) { animation: fade-up 400ms var(--ease-out) 80ms forwards; }
.reveal:nth-child(3) { animation: fade-up 400ms var(--ease-out) 160ms forwards; }

@keyframes fade-up {
  to { opacity: 1; transform: none; }
}

/* Hover with spring */
.card {
  transition: transform var(--duration-normal) var(--ease-spring),
              box-shadow var(--duration-normal) var(--ease-out);
}
.card:hover { transform: translateY(-4px); }

Accessibility Checklist

  • Text contrast >= 4.5:1 (normal), >= 3:1 (large/UI)
  • All interactive elements keyboard-focusable with visible indicator
  • Semantic HTML (<nav>, <main>, <button>, not <div> everywhere)
  • alt text on images; aria-label where context is visual-only
  • Body text >= 16px, line-height >= 1.5, paragraph width < 80ch
  • prefers-reduced-motion respected for all animations
  • Touch targets >= 44x44px
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

Layout Strategies

  • Grid-breaking: position elements intentionally outside the 12-col grid
  • Negative space: min-height: 70vh heroes, padding-block: 8rem sections
  • Asymmetry: offset text/image pairs, diagonal dividers, rotated accents
  • Layering: z-index stacking, overlapping sections, sticky sidebars
/* Diagonal section break */
.section-break {
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  padding-bottom: 8rem;
}

Background and Texture Effects

/* Gradient mesh */
.bg-mesh {
  background:
    radial-gradient(ellipse 80% 80% at 20% -20%, hsl(var(--color-primary) / 0.3), transparent),
    radial-gradient(ellipse 60% 60% at 80% 120%, hsl(var(--color-accent) / 0.2), transparent),
    var(--color-surface);
}

/* Noise grain overlay */
.grain::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,..."); /* SVG noise filter */
  opacity: 0.04;
  pointer-events: none;
}

/* Dot grid pattern */
.dot-grid {
  background-image: radial-gradient(circle, currentColor 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.06;
}

Workflow

  1. Define aesthetic direction -- commit to a specific tone before writing code
  2. Set tokens -- colors, type, spacing, motion as CSS custom properties
  3. Build layout skeleton -- sections, grid, negative space strategy
  4. Apply typography -- display font for headings, body font for prose
  5. Layer depth -- shadows, borders, backgrounds, textures
  6. Add motion -- page-load stagger + key hover/focus transitions
  7. Accessibility pass -- contrast, keyboard, semantics, reduced-motion

Additional Resources

  • For component examples in Next.js v16 App Router, see components.md
  • For font pairing recommendations and next/font usage, see typography.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.