agentleFS
AnthonyPoschenAnthonyPoschen/agent-skills/skills/frontend-design/SKILL.md

frontend-design

Skill2 starsChanged 3 months agoMITView on GitHub

Design, build, restyle, or review polished frontend interfaces for web apps, dashboards, tools, landing pages, components, and responsive workflows. Use whenever a request involves frontend visual design, layout, styling, UI hierarchy, interface polish, design systems, color palettes, typography, color schemes, prefers-color-scheme, dark and light themes, responsive behavior, or making an existing web experience more usable and distinctive. Also use for motion, elevation, accessibility, and design critique. Apply it to both new screens and focused UI improvements, even when the user asks only for code. Avoid templated AI aesthetics. When designing or reviewing UI, visually inspect the running interface with the eyes-on skill, in both dark and light themes.

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

56 rules. 0 are common, 52 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 180 edited versions we read keep these.

  • 52

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create interfaces that make a real task easy to understand and complete.

    line 8
  2. Distinctive:

    When consulted before implementation, establish the few decisions that coding cannot safely infer.

    line 14
  3. Very specific:

    Treat DESIGN.md in the target project as the durable record of design knowledge.

    line 20
  4. Very specific:

    Use the DESIGN.md template to add a brief for each substantial flow or redesign.

    line 51
  5. Distinctive:

    Before choosing an app shell or a visual style, establish:

    line 61
  6. Distinctive:

    Start with a useful feature or state, not a navigation layout.

    line 70
  7. Very specific:

    When improving existing UI, inspect the current behavior and visual language first, including the rendered page through the eyes-on skill …

    line 74
  8. Distinctive:

    Start with the smallest visible control that can represent the user's intent.

    line 81
  9. Distinctive:

    Put complexity behind interaction, not beside it.

    line 82
  10. Distinctive:

    Remove controls that duplicate the same decision or force users to translate their goal into the data model.

    line 86
  11. Distinctive:

    Prefer progressive disclosure when advanced capability can remain available without competing with the primary task.

    line 88
  12. Distinctive:

    Keep committed choices visible, understandable, and reversible.

    line 92
  13. Distinctive:

    Treat simplicity as reduced cognitive work, not reduced capability.

    line 94
  14. Distinctive:

    Before adding a control, ask: what user decision does this support, and can an existing control express that decision more directly?

    line 96
  15. Distinctive:

    Use that direction to constrain decisions:

    line 109
  16. Distinctive:

    Use real-looking content, labels, data, and edge cases.

    line 116
  17. Distinctive:

    Avoid generic visual filler: unmotivated gradients, floating glass panels, oversized rounded cards, decorative glow, or ornamental motion …

    line 121
  18. Distinctive:

    Treat visual identity as a product decision.

    line 127
  19. Distinctive:

    Before coding a new screen or a visual redesign, write a compact plan:

    line 131
  20. Very specific:

    If a palette is "dark gray plus one mint/teal/green accent", or "cream plus terracotta", name the subject-specific reason it belongs here …

    line 151
  21. Distinctive:

    Use size, weight, contrast, placement, and whitespace to create hierarchy.

    line 177
  22. Distinctive:

    Do not depend on font size alone.

    line 178
  23. Distinctive:

    Keep semantic HTML correct while styling according to visual importance.

    line 179
  24. Distinctive:

    Use cards sparingly: for repeated objects, a truly bounded tool, or a clear comparison unit.

    line 189
  25. Distinctive:

    Use typography and color as functional systems, not isolated decoration.

    line 208
  26. Distinctive:

    When a user is choosing or reconsidering a colour palette, let them compare real contenders on the existing product before promoting a set …

    line 212
  27. Distinctive:

    Keep line height comfortable for the role.

    line 234
  28. Distinctive:

    Treat labels, supporting copy, data, and headings as distinct roles.

    line 237
  29. Distinctive:

    Use stronger tones for emphasis and interaction.

    line 249
  30. Distinctive:

    Keep multi-line headings from leaving one short line stranded.

    line 267
  31. Distinctive:

    Use headings to reveal the argument or sequence.

    line 272
  32. Distinctive:

    Use emphasis sparingly. Bold, links, colored text, and highlighted panels all compete for attention.

    line 274
  33. Distinctive:

    Treat quotes, lists, examples, author information, and sign-up prompts as meaningful interruptions in the reading rhythm, not …

    line 276
  34. Distinctive:

    Put closely related fields together.

    line 287
  35. Distinctive:

    Keep the form at a readable working width.

    line 289
  36. Distinctive:

    Use spacing and surface contrast to distinguish inputs from their container.

    line 292
  37. Distinctive:

    Place destructive actions away from the default save or continue path and label their consequence precisely.

    line 295
  38. Distinctive:

    Keep workflow actions in a stable location across related screens.

    line 298
  39. Distinctive:

    Do not turn every value into a colored label.

    line 316
  40. Distinctive:

    Use dividers and borders only where they improve row, column, or section separation.

    line 317
  41. Distinctive:

    Use familiar controls for familiar work, then make their state visible.

    line 324
  42. Distinctive:

    Put information the user needs in the resting state.

    line 329
  43. Distinctive:

    Follow the motion rules, the accessibility bar, and the narrow-screen rules.

    line 333
  44. Distinctive:

    Keep the default path calm, then make alternate, advanced, and recovery paths available at the moment they become relevant.

    line 336
  45. Distinctive:

    Before adding motion, decide in order whether it should animate, what job it does, which easing it uses, and how fast it is.

    line 346
  46. Distinctive:

    Use transitions for anything the user can interrupt.

    line 359
  47. Distinctive:

    Every control has a visible name.

    line 379
  48. Distinctive:

    Keep the decision, the primary action, and the values that decision needs in the first view.

    line 396
  49. Distinctive:

    Use the touch target size from the accessibility bar.

    line 403
  50. Distinctive:

    Follow the project's existing framework, component library, CSS approach, and design tokens when they are coherent.

    line 407
  51. Distinctive:

    Use semantic structure and reusable variables or tokens for repeat values.

    line 412
  52. Distinctive:

    Prefer the project’s established icon and asset strategy.

    line 415
  53. Distinctive:

    Keep content, state, and interaction logic realistic enough to verify the visual result.

    line 417
  54. Distinctive:

    After the eyes-on loop, correct the largest problems first, then make a detail pass.

    line 433
  55. Distinctive:

    When the user asks for a critique, report the findings instead of only fixing them.

    line 436
  56. Distinctive:

    Do labels, long values, realistic data, and feedback fit without overlap, and does every loading state keep the settled box so a selectable …

    line 450

“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

Create interfaces that make a real task easy to understand and complete. Make visual choices serve the product and its users; do not treat a collection of components as a finished design.

Design Consultation

When consulted before implementation, establish the few decisions that coding cannot safely infer. Do not block a small, reversible change for a full brief; use repository evidence and state reasonable assumptions. Ask only when an unknown would materially change the workflow, content priority, or visual direction.

Treat DESIGN.md in the target project as the durable record of design knowledge. Look for it before making a material design decision. At the first substantive design consultation, create it if it does not exist. Update it when user feedback, repository evidence, testing, or a design review changes an assumption, constraint, priority, or decision. Record the decision and its reason, not a transcript of the conversation.

Capture these decisions when the work is substantial, likely to span multiple sessions, or needs handoff to another implementer:

  • Outcome and success: the user outcome, the primary action or decision, and how the team will know the design worked.
  • Audience and context: who uses it, their familiarity and urgency, the device or environment, and any access needs that shape the interaction.
  • Primary workflow: entry point, happy path, key alternatives, and the feedback or recovery needed after success, failure, or interruption.
  • Content and data: the real information, its relative importance, expected density, long or empty values, and any content that must remain visible.
  • States and rules: permissions, validation, loading, empty, error, destructive, selected, and time-sensitive states that change what a person can see or do.
  • Constraints: existing design system or product conventions, technical limits, supported viewports and input methods, accessibility requirements, brand constraints, and licensed assets or fonts.
  • Visual direction: a few concrete adjectives, comparable product references, and anti-references that clarify the desired character without copying another product.
  • Scope and tradeoffs: what is deliberately out of scope, what can be a sensible default, and which unresolved questions need a prototype or user decision.

Use the DESIGN.md template to add a brief for each substantial flow or redesign. Keep multiple related designs in the root DESIGN.md while it remains easy to scan. Once it grows beyond about 1,000 lines or develops independently navigable areas, make DESIGN.md a concise router and move individual briefs to design/<topic>.md. Keep shared design principles and the linked index in the root file. Do not turn the record into a retrospective diary.

Start With The Product

Before choosing an app shell or a visual style, establish:

  • the user and the outcome they need;
  • the smallest complete workflow or feature being designed;
  • the information needed to act, decide, or verify success;
  • the important content states: normal, empty, loading, validation, error, and success; and
  • the device, viewport, input method, and accessibility constraints that matter.

Start with a useful feature or state, not a navigation layout. Let repeated workflows reveal whether the product needs a sidebar, top navigation, dense table, wizard, canvas, feed, or another structure.

When improving existing UI, inspect the current behavior and visual language first, including the rendered page through the eyes-on skill when a browser is available. Preserve useful conventions and identify the few changes with the most impact on comprehension, efficiency, and confidence.

Design From Intent

Start with the smallest visible control that can represent the user's intent. Put complexity behind interaction, not beside it. The interface should expose the decision a person is trying to make, not every field, state, or capability the system happens to contain.

  • Remove controls that duplicate the same decision or force users to translate their goal into the data model.
  • Prefer progressive disclosure when advanced capability can remain available without competing with the primary task.
  • Make power discoverable through natural actions, clear feedback, and familiar conventions rather than by displaying every option at once.
  • Keep committed choices visible, understandable, and reversible. Hidden state is acceptable; surprising state is not.
  • Treat simplicity as reduced cognitive work, not reduced capability.

Before adding a control, ask: what user decision does this support, and can an existing control express that decision more directly? Before adding visual emphasis, ask: what state or relationship does it clarify, and what is the quietest treatment that still works?

Establish A Clear Direction

Choose a deliberate visual character appropriate to the product. A repeated-use tool should usually be calm, dense, and quick to scan; an editorial or brand-focused experience can be more expressive. State the intended direction in a few concrete terms before implementation, such as "quiet financial workbench", "warm local guide", or "precise technical console".

Use that direction to constrain decisions:

  • Pick a small, purposeful type system, spacing scale, color system, radius family, and elevation model. Use those steps. A one-off gap, radius, or weight means a different kind of thing.
  • Reuse tokens and component patterns. Variation should signal a meaningful difference, not indecision.
  • Use real-looking content, labels, data, and edge cases. Placeholder-only layouts hide the density and hierarchy problems users will actually face.
  • Make decoration earn its place by reinforcing the product, a state, or the reading order.

Avoid generic visual filler: unmotivated gradients, floating glass panels, oversized rounded cards, decorative glow, or ornamental motion that does not help the task.

Make It Distinctive, Not Default

Treat visual identity as a product decision. A usable layout that could belong to any SaaS is unfinished. Ground choices in the subject's world: materials, instruments, vernacular, and the page's single job.

Before coding a new screen or a visual redesign, write a compact plan:

  • Color: 4–6 named hex values with roles (page, surface, ink, accent, semantic). Do not invent extra accents while implementing.
  • Type: a characterful display face used with restraint, a complementary body face, and a utility face for captions or data if needed. Do not load families that never appear in the UI.
  • Layout: one-sentence concept plus a small ASCII wireframe when comparing options.
  • Signature: the one memorable element this surface should be remembered by. Spend boldness there; keep the rest quiet.

Current AI-generated work clusters around three looks: (1) warm cream (#F4F1EA) with a high-contrast serif and terracotta; (2) near-black with a single acid-green or vermilion accent; (3) broadsheet hairline rules, zero radius, dense newspaper columns. All three are legitimate for some briefs, but they are defaults rather than choices. Where the brief pins a direction, follow it. Where an axis is free, do not spend that freedom on one of these clusters.

If a palette is "dark gray plus one mint/teal/green accent", or "cream plus terracotta", name the subject-specific reason it belongs here or replace it. Project-specific palettes, typefaces, and signature elements belong in that project's DESIGN.md, not in this skill.

Review the plan against the brief before building. If any part would appear for an unrelated product, revise that part and say why.

Write Copy As Design Material

Words exist to make the interface easier to understand. Name things by what people control and recognize, never by how the system is built. Use active voice. Keep action names consistent through the flow ("Save changes" → "Saved"). Failure and empty states explain what happened and what to do next; they do not apologize or sell. Keep register conversational, sentence case, and matched to the audience. A label labels; an example demonstrates; nothing quietly does two jobs.

Compose The Interface

Design the reading order and interaction order together.

  • Establish the primary action, the current state, and the most important information before styling secondary detail.
  • Group related controls and information through proximity, alignment, shared containers, and repeated rhythm. Separate unrelated groups decisively.
  • Use size, weight, contrast, placement, and whitespace to create hierarchy. Do not depend on font size alone.
  • Keep semantic HTML correct while styling according to visual importance. The document outline and the visual hierarchy have different jobs.
  • Give persistent or repeated information a stable position.
  • A loading, empty, or refreshed state occupies the same box as the settled state. Reserve that height and width before the data arrives. Render a control that belongs in the settled layout in its final slot while loading, disabled, instead of inserting it when the request returns. Paint a record the screen already has immediately. Do not use a shorter placeholder, hide a button, or let a row grow around late text when that moves anything the user can select. Images and other media reserve their aspect ratio the same way.
  • Use cards sparingly: for repeated objects, a truly bounded tool, or a clear comparison unit. Do not put every page section in a card.
  • Choose page width, grid, and density to fit the content. Empty space is useful only when it clarifies structure or focus.
  • Align icons, play marks, and other asymmetric glyphs optically when geometric centering looks off.

Design visual feedback without changing the shape of the content it explains. An indicator should not introduce artificial gaps, wrapping, reflow, or altered reading order into the text, labels, or values being indicated. Prefer the least disruptive signal that remains legible, and test it with long, repeated, multi-word, and edge-case content.

For forms, put instructions next to the decision they support, make required actions apparent, give errors a specific recovery path, and avoid forcing users to remember information from another part of the page.

Type, Color, And Depth

Use typography and color as functional systems, not isolated decoration.

Decide palettes through a local comparison

When a user is choosing or reconsidering a colour palette, let them compare real contenders on the existing product before promoting a set of tokens. A swatch sheet cannot reveal whether an accent overwhelms a dense dashboard, how states read beside each other, or whether a dark foundation changes the mood.

  • Build a temporary, local-only palette prototype on a representative existing route. Offer a small number of named candidates through a shareable query parameter and an obvious switcher; preserve the real data, density, and states while changing only tokens.
  • Include the meaningful contrast cases: a primary action, inactive and active status, selection, errors, and a settings/form surface. Keep production free of the switcher and do not commit it as a product feature.
  • Once the user chooses a direction, promote only the winning token set, record its semantic colour roles in the project design record, and remove the prototype controls and losing candidates before committing.

This makes the choice experiential and keeps colour reserved for meaningful state and action rather than decorating every surface.

  • Choose typefaces and a compact scale for readability, tone, and the content density. Use a small number of text roles, then differentiate them by a purposeful combination of size, weight, line height, case, color, and space.
  • Keep line height comfortable for the role. Break up dense copy with meaningful headings, lists, quotations, examples, or calls to action instead of shrinking the type until it fits.
  • Treat labels, supporting copy, data, and headings as distinct roles. Make lower-priority information quieter without making it illegible.
  • Build a palette by roles: neutral surfaces and text; an accent for primary interaction; and restrained semantic colors for success, warning, and error. Define tonal steps for each role before styling individual components.
  • Implement both a dark color theme and a light color theme. Wire them with the CSS media query prefers-color-scheme (@media (prefers-color-scheme: dark) and @media (prefers-color-scheme: light)) so the interface follows the user's browser or OS preference. Do not ship a dark-only or light-only design unless the project's DESIGN.md already forbids one of those schemes. A product theme button is not required when prefers-color-scheme is the switch.
  • Use stronger tones for emphasis and interaction. Keep most of the surface neutral. A usable interface needs more than a page background, a brand color, and one gray.
  • Meet the accessibility bar for contrast in every state.
  • Separate layers with one elevation model and one light direction.
    • A border or a tonal surface change shows structure, selection, and focus.
    • Lift uses a layered neutral shadow: several transparent layers, no colored glow. On a dark theme a shadow disappears, so raise the surface and keep a hairline border.

Design Text-Heavy Screens

For articles, documentation, guides, onboarding, and marketing pages, make the reading experience the interface.

  • Set a readable text column of about 60–75 characters rather than allowing paragraphs to span the whole viewport. On wide screens, use the surrounding space for navigation, related content, or deliberate breathing room.
  • Keep multi-line headings from leaving one short line stranded. Leave body text ragged.
  • Establish the headline, metadata, introduction, body, and calls to action as distinct text roles. Give each role a repeatable treatment rather than hand-tuning every block.
  • Use headings to reveal the argument or sequence. Keep a heading visually and spatially attached to the content it introduces.
  • Use emphasis sparingly. Bold, links, colored text, and highlighted panels all compete for attention; reserve each for a clear purpose.
  • Treat quotes, lists, examples, author information, and sign-up prompts as meaningful interruptions in the reading rhythm, not interchangeable cards.
  • On a narrow screen, protect the measure and the heading hierarchy, and relocate secondary content using the narrow-screen rules.

Design Complex Forms

Organize long settings, account, checkout, and configuration forms around the user's decisions, not around the underlying data model.

  • Divide the form into named sections and make the section boundaries obvious. Put closely related fields together; do not make users infer the grouping from a long uninterrupted column.
  • Keep the form at a readable working width. Use a second column only when the relationship remains clear and the screen has enough room.
  • Pair a label, input, help text, and validation message as one visual unit. Use spacing and surface contrast to distinguish inputs from their container.
  • Give selected plans, options, and payment methods a clear selected state that combines text, control state, and visual treatment.
  • Place destructive actions away from the default save or continue path and label their consequence precisely. Make the normal next step visually dominant without making every button loud.
  • Keep workflow actions in a stable location across related screens.

Design Data-Dense Screens

Dashboards, lists, reports, and operational tools should optimize recognition and comparison, not imitate a marketing page.

  • Decide what a user must understand at a glance, then dedicate the strongest hierarchy to those values, trends, alerts, or next actions.
  • Separate summary, recent activity, detail, and navigation through layout and tonal structure. Avoid giving every metric, card, and table row equal visual weight.
  • Align values so comparisons are easy: use consistent units, tabular number alignment where available, and right alignment for magnitudes when it helps scanning. Keep text labels readable and stable.
  • Make the interactive target clear. A card may be entirely clickable, but its affordance and primary destination should still be evident.
  • Reserve high-contrast status treatment for conditions that need attention. Do not turn every value into a colored label.
  • Use dividers and borders only where they improve row, column, or section separation. Repeated heavy boxes make dense information harder to scan.
  • On a narrow screen, keep the columns the immediate decision needs. Secondary columns follow the narrow-screen rules.

Build Complete Interactions

Use familiar controls for familiar work, then make their state visible.

  • Cover hover, focus, active, selected, disabled, loading, empty, error, and success when they can occur. Hover, focus, and selected stay visually distinct from each other.
  • Put information the user needs in the resting state. Hover may add detail. It cannot be the only place that detail exists.
  • Make primary and destructive actions easy to distinguish before an action is taken. If an action is unavailable, show why beside it.
  • Follow the motion rules, the accessibility bar, and the narrow-screen rules.

Completeness does not require exposing every capability in the normal state. Keep the default path calm, then make alternate, advanced, and recovery paths available at the moment they become relevant. A good interaction feels simple because the system carries the complexity, not because the complexity was removed from the product.

Motion

Animate to show cause, effect, or continuity. Skip motion a person will see many times a day, and never animate a keyboard action.

Before adding motion, decide in order whether it should animate, what job it does, which easing it uses, and how fast it is.

  • Entrances start fast, with ease-out. Movement already on screen uses ease-in-out. Hover and color use ease. A constant loop may use linear. ease-in delays the moment someone is watching, so it is the wrong curve for interface motion.
  • Press feedback takes about 100–160ms. Tooltips and small popovers take 125–200ms. Dropdowns take 150–250ms. Ordinary interface motion stays under 300ms. A press can settle with a slight scale, around 0.97, unless the product's tokens already define feedback.
  • An entering surface starts from about scale(0.95) plus opacity, never from scale(0). A popover scales from its trigger. A modal stays centered.
  • Use transitions for anything the user can interrupt. Keyframes restart from zero.
  • Animate transform and opacity. Leave layout properties still.
  • Apply a hover effect only under @media (hover: hover) and (pointer: fine).
  • Under prefers-reduced-motion: reduce, keep opacity and color changes that explain state, and drop movement.

Match the motion to how often it appears and to the product's character. A repeated-use tool stays crisp. A rare first-run moment can take longer.

Accessibility Bar

Meet this bar on every surface you build or change. The design record can raise it. It cannot waive it.

  • Text someone must read is at least 4.5:1, including secondary text and text on images. Large text (about 24px, or about 19px bold) and non-text marks that carry meaning stay at least 3:1 against their neighbor. Inactive controls are the exception.
  • Every control has a visible name. An icon-only button includes an accessible name. Placeholder text is an example, not the name of the field.
  • Focus is visible, follows the same order as the layout, and is not hidden under sticky chrome. A dialog keeps focus inside until it closes, then returns focus to what opened it.
  • A keyboard user can reach and operate every action, and can skip repeated chrome.
  • Targets are at least 24px on a side, and about 44px for touch.
  • Status, selection, and errors use text, icon, shape, or position as well as color.
  • Honor the reduced-motion rule in the motion section.

Narrow Screens

A narrow layout is a new priority order, not the desktop page squeezed until it wraps.

  • Keep the decision, the primary action, and the values that decision needs in the first view.
  • Move secondary detail into a disclosure, a detail view, or a clearly marked horizontal region.
  • Collapse navigation on purpose. The current location and the way back stay visible.
  • Stack form actions without separating them from the section they affect.
  • Use the touch target size from the accessibility bar.

Implement In Context

Follow the project's existing framework, component library, CSS approach, and design tokens when they are coherent. When they are not, improve the touched surface without a speculative rewrite of unrelated areas.

  • Build the working interface, not a presentation describing the intended UI.
  • Use semantic structure and reusable variables or tokens for repeat values.
  • Make constraints explicit with grid tracks, widths, wrapping, truncation, and overflow handling where content demands them.
  • Prefer the project’s established icon and asset strategy. Do not introduce assets or fonts whose licenses or loading behavior are unknown.
  • Keep content, state, and interaction logic realistic enough to verify the visual result.

Inspect The Rendered Interface

Markup and CSS are not visual proof. Run the eyes-on skill on the running interface and judge those pictures. Use that look during the design loop, not only at the end: implement the smallest complete interaction, exercise it with realistic content, inspect the rendered result, and correct the largest comprehension or continuity problem before adding polish.

Reading the DOM or describing the CSS is supporting evidence. The eyes-on pictures are the proof.

Review Before Handoff

After the eyes-on loop, correct the largest problems first, then make a detail pass.

When the user asks for a critique, report the findings instead of only fixing them. Rank each finding as blocking, should-fix, or polish. Name who is affected, what you saw, and the smallest change that fixes it. Blocking means someone cannot complete the task, cannot tell the state, or cannot operate a control. One systemic fix outranks a list of repeated symptoms. When the task is to build or change the interface, fix the findings during the design loop rather than handing back a list.

Check:

  • Can a first-time user identify the screen's purpose, primary action, and current state quickly?
  • Does the layout prioritize the workflow rather than the app chrome?
  • Are grouping, alignment, spacing, and text hierarchy unambiguous?
  • Do labels, long values, realistic data, and feedback fit without overlap, and does every loading state keep the settled box so a selectable control does not move?
  • Are all relevant interactive, loading, empty, error, and focus states clear?
  • Does the visual direction fit the audience and product instead of resembling a generic template or one of the three AI-default clusters above?
  • Is the palette a role-based system (surfaces, ink, one accent, semantics) rather than a leftover placeholder or a second competing accent?
  • Were both the dark and light themes visually inspected, and does each meet the accessibility bar?
  • Does the motion follow the motion rules?
  • Is there one signature element, and has unused type, unused tokens, and leftover decoration been removed?

In the final response, state what changed, which workflow or state was prioritized, and what visual verification was performed.

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.