agentleFS
justincordovajustincordova/agents/skills/frontend-design/SKILL.md

frontend-design

Skill1 starsChanged 4 months agoMITView on GitHub

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

189 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use file-reading, arrange 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.
  • 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 7 projects that use this

  • nikafastovets-langSkill

    arrange

    Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy to create intentional compositions.

    Also in 6 projects that use this

  • mm-mazharSkill

    cache-components

    Expert guidance for Next.js Cache Components and Partial Prerendering (PPR).

    Also in 6 projects that use this

  • SeifBenayedSkill

    pdf-reading

    Use this skill when you need to read, inspect, or extract content from PDF files — especially when file content is NOT in your context and you need to read it from disk. Covers content inventory, text extraction, page rasterization for visual inspection, embedded image/attachment/table/form-field extraction, and choosing the right reading strategy for different document types (text-heavy, scanned, slide-decks, forms, data-heavy). Do NOT use this skill for PDF creation, form filling, merging, splitting, watermarking, or encryption — use the pdf skill instead.

    Also in 6 projects that use this

  • JokerRunSkill

    compound-engineering

    Compound Engineering workflow for AI-assisted development. Use when planning features, executing work, reviewing code, or codifying learnings. Follows the Plan → Work → Review → Compound loop where each unit of engineering makes subsequent work easier. Triggers on: plan this feature, implement this, review this code, compound learnings, create implementation plan, systematic development.

    Also in 5 projects that use this

  • mtctSkill

    teach-impeccable

    One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.

    Also in 10 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 180 edited versions we read keep these.

  • 13

    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:

    Default to autopilot. Only enter collaborative mode when the user signals they want input on the design direction.

    line 18
  2. Distinctive:

    Create a task for each item and complete them in order:

    line 22
  3. Distinctive:

    Before proposing anything, check what's already in the project:

    line 26
  4. Distinctive:

    Existing design tokens: Look for theme files, color/spacing scales, design system constants.

    line 30
  5. Distinctive:

    If the project has established patterns, follow them.

    line 34
  6. Distinctive:

    Ask the user questions one at a time to understand the interface.

    line 38
  7. Distinctive:

    Always recommend one direction and explain why it fits this particular context better.

    line 57
  8. Distinctive:

    Wait for the user to pick a direction before continuing to implementation.

    line 70
  9. Distinctive:

    Use the project's theming system (CSS variables, design tokens, color resources) — don't hardcode.

    line 84
  10. Distinctive:

    Use the platform's native animation primitives first.

    line 89
  11. Distinctive:

    Use the platform's layout system (CSS Grid/Flexbox, SwiftUI stacks/grids, Compose Row/Column, Flutter Flex).

    line 94
  12. Distinctive:

    No dead code: remove unused imports, placeholder text, commented-out styles

    line 108
  13. Distinctive:

    Context-first: Read the existing codebase before making choices.

    line 129

“Common” is measured: kept by at least 6 in 10 of the 180 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

Build frontend interfaces that look intentionally designed, not generated. Every implementation should feel like a designer made deliberate choices — not just "not ugly," but cohesive and purposeful.

Works across any UI framework: web (React, Vue, Svelte, plain HTML/CSS), mobile (SwiftUI, Jetpack Compose, Flutter, React Native), desktop (Electron, Tauri), or anything else. Adapt the guidance below to the platform.

Modes

This skill has two modes. Detect which to use based on the user's input:

Autopilot — the user describes what to build without specifying aesthetic direction. Pick the best-fitting design yourself, explain your choices briefly, and build it. The user can always ask for revisions.

Collaborative — the user wants to explore options before building. They might say "I want to see some options" or "what directions could this go?" Present 2-3 design directions, recommend one, get their pick, then build.

Default to autopilot. Only enter collaborative mode when the user signals they want input on the design direction.

Checklist

Create a task for each item and complete them in order:

1. Scan existing conventions

Before proposing anything, check what's already in the project:

  • Platform and framework: What UI framework, language, and runtime? Check package manifests, build files, or project structure.
  • Styling approach: What styling system is in use? (Tailwind, CSS modules, styled-components, SwiftUI modifiers, Compose modifiers, etc.) Match whatever exists.
  • Existing design tokens: Look for theme files, color/spacing scales, design system constants. Use them.
  • Component patterns: How are existing UI elements structured? Follow the same conventions.
  • Existing typefaces: Already loading fonts or using specific system fonts? Use them before introducing new ones.

If the project has established patterns, follow them. Only introduce new patterns when there's nothing to build on.

2. Gather context (collaborative mode only)

Ask the user questions one at a time to understand the interface. Prioritize multiple choice when possible.

Good questions:

  • Who uses this and what are they trying to accomplish?
  • Any brand guidelines, existing color palette, or reference designs to match?
  • What platforms/viewport sizes matter most?
  • Any hard constraints on dependencies, bundle size, or performance?
  • What existing components or pages should this feel consistent with?

Skip questions where the answer is already clear from context or the existing codebase.

3. Propose design directions (collaborative mode only)

Present 2-3 distinct aesthetic directions with trade-offs. Each should have:

  • A name (so the user can reference it easily)
  • A short description of the look and feel
  • Key design choices (typography, color palette, layout approach, motion)
  • What it does well and what it trades off

Always recommend one direction and explain why it fits this particular context better.

Example:

Direction A: Clean Technical (recommended) Crisp spacing, monospace accents, neutral palette with one bold accent color. Feels precise and professional. Good for developer tools, dashboards. Trades warmth for clarity.

Direction B: Warm Editorial Serif headings, cream background, generous line height, subtle entrance animations. Feels human and readable. Good for content-heavy pages. Trades information density for comfort.

Direction C: Bold Maximal High contrast, oversized typography, saturated color blocks, animated transitions. Feels energetic and memorable. Good for landing pages and marketing. Trades subtlety for impact.

Wait for the user to pick a direction before continuing to implementation.

4. Implement

Once the user approves a direction, write production-grade, working code. Not wireframes, not placeholders.

Adapt the following to the platform and framework in use:

Typography:

  • Choose typefaces with character. Pair a display font with a body font. Two max per surface.
  • Establish a clear type scale. Headings should look like headings.
  • On platforms with limited font options (native mobile), use weight, size, and spacing to create hierarchy.

Color:

  • Use the project's theming system (CSS variables, design tokens, color resources) — don't hardcode.
  • A palette needs a dominant color, an accent, and clear foreground/background contrast.
  • 2-3 colors usually enough. Avoid evenly-distributed "rainbow" palettes.

Motion (when it adds value):

  • Use the platform's native animation primitives first. Only reach for libraries when primitives fall short.
  • A few well-timed animations beat many scattered ones.
  • Respect platform accessibility settings for reduced motion.

Layout:

  • Use the platform's layout system (CSS Grid/Flexbox, SwiftUI stacks/grids, Compose Row/Column, Flutter Flex).
  • Account for the target viewport sizes. Responsive by default.
  • Generous spacing almost always looks better than cramped spacing.

Depth and texture (when it fits the direction):

  • Shadows, gradients, grain, blur, patterns — use when they serve the design.
  • Flat and solid is fine when the direction calls for clean and minimal.

5. Verify

After implementing, check:

  • No runtime errors: builds/runs without errors
  • Responsive: holds up at the smallest and largest target viewport sizes
  • Accessible: sufficient contrast, semantic markup, alt text, focus/keyboard navigation
  • No dead code: remove unused imports, placeholder text, commented-out styles
  • Consistent with project conventions: matches the patterns found in step 1

6. Present

Show the user what you built. If it's a single file, share it directly. If it's multiple files, summarize what goes where and highlight the key design decisions made.

Anti-Patterns

Don'tWhy
Install new styling/animation libraries without checking what's thereConflicting approaches in one codebase
Hardcode colors or spacingCan't maintain, doesn't scale
Default to Inter/Roboto/system fonts as primary typefaceLooks like every other AI-generated page
Default to purple gradient on whiteMost common AI design cliché
Add animation to everythingDistracting, hurts performance
Copy the same aesthetic across unrelated projectsEach design should respond to its context
Use placeholder text when real content is available or easy to writeMakes design feedback harder

Key Principles

  • Context-first. Read the existing codebase before making choices. Fit the project, don't fight it.
  • Propose, don't assume. Present options. The user picks the direction.
  • Deliberate over safe. A strong opinion that's wrong is easier to adjust than no opinion at all.
  • Platform-aware. Adapt the approach to the framework and platform, don't force web patterns onto native UI or vice versa.
  • Details compound. Typography, spacing, color, motion — none of them save a bad design alone, but neglecting any of them drags down a good one.
  • Show, don't describe. Working code beats design descriptions. Build it, let the user react.

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.