agentleFS
hoophqhoophq/hoop/.claude/skills/hoop-ui/SKILL.md

hoop-ui

Skill869 starsChanged 42 days agoMITView on GitHub

Design rules for Hoop UI. Use BEFORE you write or change anything a person sees in the Hoop product - a page, form, list, modal, empty state, badge, toast or component in webapp_v2/ (React, Mantine), or the text and output of the hoop CLI in client/ (help, flags, errors, tables, prompts, TUI). Use it also for a small UI fix, a label or a copy change. Not for the website (hoophq/lp) or documents.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    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:

    Read the reference for your surface, and the repo files it names.

    line 34
  2. Distinctive:

    Do not invent a token, a color, a size or a component name.

    line 38
  3. Distinctive:

    Do the checks at the end of the reference, before you say you are done.

    line 40

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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

Hoop UI

Goal: a screen or a command output that looks like Hoop on the first try, with no designer in the loop.

The repo holds the code rules. This skill holds the design decisions that the repo does not write down, and tells you where the rest is. When this skill and the repo disagree, the repo wins. Say so in your report.

Which surface

You changeRead
webapp_v2/ (a page, a component, UI text)references/webapp.md
client/ output a person reads (help, errors, tables, prompts, TUI)references/terminal.md
BothBoth. Use the same product words in both.

The legacy ClojureScript app (webapp/) gets no new UI. Do not copy its look into React. A page it still renders (Sessions, Runbooks, Terminal) follows the same shape rules, set in its own code: a field, a filter button beside a field, a popover and its rows are square (Radix radius "none", Tailwind rounded-none). Its shared parts already follow them: selection-card (square, indigo when selected) and callout-link (a pill docs button). A Tailwind class the legacy CSS build has not seen does nothing until that build runs: set a one-off value with :style and a Radix token instead.

Steps

  1. Read the reference for your surface, and the repo files it names.
  2. Find the nearest existing screen or command and match it. Do not invent a pattern the app already has.
  3. Build it. Use only components, variants and tokens that exist in the repo. Do not invent a token, a color, a size or a component name. If you need one that does not exist, stop and say what is missing.
  4. Do the checks at the end of the reference, before you say you are done.
  5. In your report, list: a rule you could not follow and why, a new component, and each [TBD] label.

Never

  • A color, size or radius that is not from the theme (web) or the style file (terminal).
  • A second filled primary button in one view.
  • A status shown by color alone.
  • Motion a page writes on its own, or anything that moves on scroll.
  • A product word that is not in the copy table (references/webapp.md, "Copy").
  • Em dashes, exclamation marks, buzzwords, real customer names or emails.

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.