agentleFS
yezzzpyezzzp/agent-relay-protocol/skills/style/SKILL.md

style

Skill0 starsChanged 8 days agoMITView on GitHub

Base visual style for every product: minimal, sober, Apple-like, with nothing repeated and the least text that is still clear. Load before creating, changing or reviewing any screen or visual component, and before briefing a subagent on UI. A project's brand layer may override colors, fonts and density.

13 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use audit and review.

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.
  • OpenAISkill

    audit

    Audit or critique a product flow, journey, workflow, funnel, onboarding path, checkout path, settings path, screen, or multi-step product experience by capturing screenshots first, then reporting UX, design, and accessibility findings inline from that evidence. Use Figma only when the user explicitly asks for a board. Use when the user asks to audit, review, critique, inspect, assess, analyze, evaluate, or give feedback on a product experience.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 5

    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:

    If a screen seems to need an explanation, change the control.

    line 11
  2. Distinctive:

    Nothing repeated in a view: If a value is in the header, the chat or a panel, it is not written again.

    line 20
  3. Distinctive:

    Color means something: Use it only for state and the main action:

    line 35
  4. Distinctive:

    No gradients, no per-category palettes, no colored dots in filters.

    line 46
  5. Very specific:

    Never alert() or confirm(): use the app's own sheets, dialogs or panels.

    line 50
  6. Distinctive:

    Use the real component library (for example shadcn/ui installed by its CLI), never hand-made imitations.

    line 55

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

style

The project's brand layer, if it has one (a skill or doc named in AGENTS.md), overrides only what it says: colors, fonts, density, light or dark first. Everything else here applies.

1. The screen explains itself

If a screen seems to need an explanation, change the control. Remove:

  • subtitles that repeat the title or narrate the step;
  • help text about how the system works inside;
  • warnings that sound like threats ("required", "cannot be undone"). A disabled button says it is required. Only warn about a consequence that changes something;
  • errors before the user did anything. Show an error only on a real conflict;
  • placeholders that list fields or codes. Use a short action: "Search customers";
  • anything that erases what the user typed on blur or Enter.

2. Text and data

  • Nothing repeated in a view. If a value is in the header, the chat or a panel, it is not written again.
  • Names, not codes. Codes nobody memorizes go in a tooltip or in small text, and search still accepts them.
  • Mark only the exception. No "OK" or "Active" on every row; use a dash when there is nothing.
  • No KPI cards or indicator rows. Counters go in tabs, chips, or next to a group title.
  • A figure appears once per view and never breaks across lines. Do not put figures that contain each other at the same level.
  • Plurals agree ("1 item", "2 items"). Show the API's real error message.

3. Look

  • Apple-like and calm:
    • system font stack (-apple-system, "SF Pro Text", Inter, system-ui);
    • hierarchy by size, weight and space, not by boxes;
    • 1 px hairlines instead of shadows or filled bands;
    • generous inner margins;
    • radius 8–12 px;
    • thin-stroke icons.
  • Color means something. Use it only for state and the main action:

    ColorMeansNever
    Accent (one hue)action, selection, focusdecoration
    Greendone, paida button other than the final "pay" or "confirm"
    Amberneeds attention, there is timesaturated blocks
    Redoverdue, error, loss, destructivea filled button
    Greyneutral, skippeddata
  • A state is a soft background with text in the same hue, never a saturated block, and never color alone: add a word, an icon or a sign. Use − (U+2212) for minus.
  • No gradients, no per-category palettes, no colored dots in filters.
  • Light and dark, always. Honor prefers-reduced-motion.

4. Behavior

  • Never alert() or confirm(): use the app's own sheets, dialogs or panels.
  • Symmetric spacing: a band between two lines has the same space above and below, measured in the browser, not by eye. Paddings add up, and you measure what is visible, not the box.
  • At most two buttons together: the main action, plus one menu ("⋯") for the rest. One main accent button per view.
  • What the role cannot do does not appear. The API rejects it anyway.
  • The same control looks and behaves the same on every screen. Look for the existing one before building one.
  • Use the real component library (for example shadcn/ui installed by its CLI), never hand-made imitations.
  • A restyle never loses information: compare field by field with the old version.

5. Known failures

Each one has been seen on real screens. Make it impossible in the shared component, so no screen needs to remember it. ui-check catches the ones a script can see. For React, the reference code is in react.md, next to this file.

FailureNeverMake it impossibleCaught by
Double submita double click creates two records or two downloadsthe shared button disables itself while its action runs; the API is idempotent tooui-check --probe: double-submit
Unbounded inputa 10 000-character paste reaches the API or breaks the rowthe shared text input and search box carry a default maxlengthunbounded-input
Focus lostclosing a menu or dialog with Esc leaves focus on the pageuse the library's dialog and menu, which return focus to the triggerfocus-not-restored
Action with nothing to do"Download", "Send" or "Save" enabled with no rows or no changesthe button's disabled comes from the data, not from a click handler that complainsreview
Draft lostreload or Back erases a half-filled form or cartthe shared draft hook keeps it until it is saved or discardedreview
Generic error"Something went wrong" when the API said whythe shared request helper shows the API's messagereview
Native controla raw select, checkbox or date inputthe project's component, enforced by lintnative-control
Ghost on hidehiding a panel with visibility leaves children with transition-all on screen for their transitionthe hidden state of the shared panel sets transition: none on itself and every descendantreview

The list grows. A finding that could happen on any screen of any product is a class, not a screen bug. Fix it in the shared component, add a lint rule if one can see it, and add a row here, in generic words: no product names or data.

6. Done means

  • §1 list applied. One main action per view, at most two buttons together.
  • Checked in light and dark, with the right role. Every menu, select and dialog opened. Something created and edited for real.
  • Built from the shared components of §5, never a hand-made button, input or dialog.
  • ui-check --probe clean: repeated text, spacing, cut-off text, console errors, double submit.

Briefing a subagent on UI

Paste the rules that apply as written. Give concrete rules, never adjectives ("warm", "lively"). Name the existing screen to copy.

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.