agentleFS
aminemanai2003aminemanai2003/personal-agent-skills/skills/frontend-design/SKILL.md

frontend-design

Skill4 starsChanged 4 months agoMITView on GitHub

Design or substantially reshape user interfaces with domain-specific visual and interaction choices. Use when building a new page, component system, app surface, dashboard, landing experience, or when an existing UI needs a coherent new direction rather than a narrow defect fix.

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, 12 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 180 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create an interface whose hierarchy, controls, content, and visual language show coherent human expert judgment and could not be mistaken …

    line 10
  2. Very specific:

    Use this for creating or substantially reshaping a direction.

    line 21
  3. Distinctive:

    If a design system exists, extend it consistently.

    line 27
  4. Distinctive:

    Test the direction against an unrelated product: if the same layout, copy rhythm, palette, and component composition would still work after …

    line 29
  5. Distinctive:

    Use stable responsive dimensions for boards, grids, toolbars, counters, and dynamic content.

    line 32
  6. Distinctive:

    Do not make a marketing landing page when the request is for an app or tool.

    line 38
  7. Distinctive:

    Do not stack cards inside cards or frame every section as a floating card.

    line 39
  8. Distinctive:

    Do not use gradients, decorative blobs, oversized type, or rounded text pills as automatic style choices.

    line 40
  9. Distinctive:

    Do not imitate a fashionable visual style without connecting it to the product's subject, audience, and content.

    line 41
  10. Distinctive:

    Do not use placeholder statistics, generic names, or polished fake content when real domain content can be represented.

    line 42
  11. Distinctive:

    Do not replace an established product language with personal defaults.

    line 43
  12. Distinctive:

    Do not invent explanatory interface copy about features or keyboard shortcuts.

    line 44
  13. Distinctive:

    Do not ship controls that lack expected states or accessible names.

    line 45

“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

Frontend Design

Purpose

Create an interface whose hierarchy, controls, content, and visual language show coherent human expert judgment and could not be mistaken for an unrelated product with different labels.

Inputs

  • Product, audience, primary workflow, and success condition.
  • Existing design system, screenshots, assets, routes, and component patterns.
  • Content, data density, supported devices, accessibility needs, and technical stack.
  • Brand constraints and explicit visual references.

Scope Boundary

Use this for creating or substantially reshaping a direction. For inspection of an existing rendered interface, use visual-ux-review or the higher-level review-ui workflow.

Process

  1. Inspect the existing product and identify the first-screen job.
  2. Name the audience, workflow, information hierarchy, and required states.
  3. If a design system exists, extend it consistently; identify the few axes the brief leaves open.
  4. Define a compact direction: palette roles, typography roles, spacing, layout tracks, control language, and one justified signature element.
  5. Test the direction against an unrelated product: if the same layout, copy rhythm, palette, and component composition would still work after relabeling, revise it from the subject's real materials, data, terminology, and workflow.
  6. Map common actions to familiar controls: icons for tools, toggles for binary state, tabs for views, menus for option sets, and inputs for values.
  7. Build the usable workflow first, including loading, empty, error, access, focus, and reduced-motion behavior.
  8. Use stable responsive dimensions for boards, grids, toolbars, counters, and dynamic content.
  9. Inspect desktop and mobile renders as a design critic, not only as a tester. Revise generic composition, weak type hierarchy, arbitrary spacing, fake content, and decoration that does not support the subject.
  10. Make a final subtraction pass, then ensure the remaining distinctive choices form one coherent system rather than scattered novelty.

Constraints

  • Do not make a marketing landing page when the request is for an app or tool.
  • Do not stack cards inside cards or frame every section as a floating card.
  • Do not use gradients, decorative blobs, oversized type, or rounded text pills as automatic style choices.
  • Do not imitate a fashionable visual style without connecting it to the product's subject, audience, and content.
  • Do not use placeholder statistics, generic names, or polished fake content when real domain content can be represented.
  • Do not replace an established product language with personal defaults.
  • Do not invent explanatory interface copy about features or keyboard shortcuts.
  • Do not ship controls that lack expected states or accessible names.

Verification

  • The primary workflow is immediately findable and usable.
  • Visual choices can be traced to the subject, audience, brand, or task.
  • The interface fails the relabeling test: moving it to an unrelated product would require structural and visual redesign, not only new text.
  • Typography, spacing, density, color, and interaction feel intentionally directed as one system.
  • Text and controls fit without overlap at supported viewports.
  • Keyboard focus, contrast, reduced motion, and state feedback are coherent.
  • Screenshots or rendered inspection confirm the implementation matches the intended direction.

Failure Modes

  • A generic hero, metrics row, and three-card grid unrelated to the product.
  • Quiet-looking UI that is too sparse for repeated operational work.
  • A distinctive mockup whose actual controls are incomplete.
  • Desktop polish with broken mobile hierarchy.
  • New colors, radii, or typography that fight the existing system.
  • A technically polished page that still resembles the default output for dozens of unrelated prompts.

Examples

Operations dashboard: dense scan-friendly table, restrained status color, predictable filters, persistent actions, and clear empty/error states.

Object-focused page: show the actual object in the first viewport and leave a visible cue to the next section; avoid an abstract split hero.

Sources

See ../../sources/frontend-design.sources.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.