site-design
Skill0 starsChanged 7 days agoMITView on GitHub
Use when building or redesigning a page, landing page, dashboard or screen, or when the user asks what something should look like. Builds several variants and judges them side by side.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- titouannwtt/claude-toolstheir own version, first seen Nov 15, 2026
- RichardBray/skillstheir own version, first seen Nov 1, 2026
- panaversity/ksortheir own version, first seen Aug 24, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- panaversity/ksor★ 225same name
- RichardBray/skills★ 5same name
- titouannwtt/claude-tools★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- shared/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- betterSkill
- buildSkill
- claude-videoSkill
- dashboard-designSkill
- fixSkill
- github-readmeSkill
- grill-liteSkill
- handoffSkill
- improveSkill
- retroSkill
- shortSkill
- skill-auditSkill
- write-docSkill
- writingSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
5
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
- Distinctive: line 14
Default to three variants.
- Distinctive: line 19
When the user gives a screenshot or link as a reference, write one line on what to take from it (density, spacing, type) and what to leave …
- Distinctive: line 21
Never ask for a reference, because that hands the user a chore.
- Distinctive: line 43
Only build a new route when the thing genuinely has no page to live inside.
- Distinctive: line 48
Never lorem ipsum. Never invented sample text.
- Very specific: line 63
Keep DISABLE_TELEMETRY=1 and leave app and customer names out of the search, because the tool otherwise reports searches to Google.
- Very specific: line 90
If codex is missing or fails, or its output is empty, say "fresh look: couldn't tell" and show the variants anyway.
- Very specific: line 102
Never run a delete command during design work, because each one stops the user with a permission prompt.
- Very specific: line 145
If the brand already uses one, keep it.
“Common” is measured: kept by at least 6 in 10 of the 3 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.
Files
Site Design
One design always looks fine on its own. You only see a weak design next to a strong one.
So never build one. Build three, and judge them together.
Build three
Default to three variants. Stop at five. Past five they stop being different and become noise.
Make them radically different. Three versions of the same idea teach nothing. Vary the thing that actually decides the page: the layout, the density, what leads, what is cut.
When the user gives a screenshot or link as a reference, write one line on what to take from it (density, spacing, type) and what to leave (its layout, its brand), and hold every variant to it. Never ask for a reference, because that hands the user a chore.
Compare the variants as static layouts. Add decorative animation only after the user has picked, because motion hides a weak layout. Keep feedback that a control needs to work, such as a focus ring or a pressed state, and build motion early only when it is the point of the page.
Build them on the real page
A blank route is a vacuum. Every variant looks fine in a vacuum.
Mount the variants inside the page that will really host them, with its real header, real
navigation, real data, and real density. Give each one its own ?variant= URL, then show them
together on one compare page, because the user compares by reading and loses the thread across tabs
or sideways scrolling:
- The page fills the whole browser width and never scrolls sideways at any window size.
- The current version comes first, when one exists. The numbered choices sit beside it only while every one stays readable at normal text size. Otherwise they stack underneath it at full width.
- Each decision is a numbered section with numbered choices, picked by clicking on the page.
- The page keeps a visible answer in section order, such as
1 1 1, with a button that copies it. The user can paste that answer into the chat or type the same numbers there.
Only build a new route when the thing genuinely has no page to live inside. Before you do, check again — an empty route hides the faults a populated one exposes.
Use real content
Never lorem ipsum. Never invented sample text.
Fake content hides that the layout does not fit the real thing. Use the user's own copy, real records, longest title and emptiest state.
Use current browser features
Models lean on old patterns, so look up each dialog, form, table, layout or animation before writing it:
DISABLE_TELEMETRY=1 npx -y modern-web-guidance@1.0.1 search "<2-5 word capability>"
DISABLE_TELEMETRY=1 npx -y modern-web-guidance@1.0.1 retrieve "<id>"Keep DISABLE_TELEMETRY=1 and leave app and customer names out of the search, because the tool
otherwise reports searches to Google. The reply does not mention this unless a guide changed what
the user will see.
A fresh look before the user sees them
Whoever built a design is the worst judge of it, so a different model looks first. Screenshot every
variant's own ?variant= URL at 1440 and 390 wide into a temp folder, then send only the
images to the Codex reviewer. Attach two images per variant. If the user gave a reference, attach
it too, screenshotting it first if it is a link; otherwise leave out reference.png:
python3 -I ~/.claude/shared/codex-exec.py --skip-git-repo-check --sandbox read-only \
-c model=gpt-6.1-sol -c model_reasoning_effort=medium \
--image /abs/reference.png --image /abs/a-desktop.png --image /abs/a-phone.png \
--image /abs/b-desktop.png --image /abs/b-phone.png --image /abs/c-desktop.png \
--image /abs/c-phone.png -- \
"<which images are the reference and options A, B, C>. <one line on what the page is for>. <if there is a reference, the line on what to take from it and what to leave; do not flag what was taken on purpose>. Styles to flag if present: <the list under 'When all three look the same', minus any the brand or owner keeps>. Answer: 1) Are any two options too alike to be a real choice? If so, which, and what do they share? 2) For each option, the one part that looks generated, where on screen, and what to change. 3) Any listed style present, by option and name. None is a valid answer to 1, 2 or 3. Do not pick a winner and give no scores." < /dev/nullSend no code and none of your own opinion, so the review stays independent. Remove any listed style it finds. Fix each generated-looking part it names, or say in one line why not. If it names two options as too alike, rebuild one around the fix in "When all three look the same". Do this once, then retake the screenshots of what changed and look at them yourself, with no second review. It never picks a winner; the user does, even if they pick the one it criticised. Say in one line what it changed.
If codex is missing or fails, or its output is empty, say "fresh look: couldn't tell" and show
the variants anyway. Skip this step for a fix inside a direction already picked.
These images leave the machine. If any of them, including a reference, would show customer or private records, swap those records for made-up ones of the same length in the review screenshots only, and keep the real content on the page. If that cannot be done, skip the review and say so.
Judge, pick, overwrite
Show all three. The user picks one, or takes parts from each, and the pick is written over the real page.
Never run a delete command during design work, because each one stops the user with a permission
prompt. Keep variants in a mockups/ folder listed in .git/info/exclude, with the same file names
every round, so the next round replaces the last. A file left over from a bigger round stays there,
unlinked from the compare page. Run a delete only when the user asks for one.
Close your message with the compare page link and the numbers to pick from.
A variant is throwaway code that answered a question. It is not a deliverable.
The variant that stays becomes real code the user maintains alone. Write it with the least code
that does the job: reuse the page's existing components and styles before adding new ones, and
add no settings or features nobody asked for. Never cut accessibility or input checks to get
there — those fail silently. Touch only the page being designed, and once the pick is in,
edit out any code in real files that only the variants used. This is here because evals run without
~/.claude/CLAUDE.md, so the skill has to carry it.
Accessibility here means the page still works for someone who cannot see it or use a mouse:
every control is a real <button> or <a> with a visible focus ring, every input and icon-only
button has a label, images have alt, zoom is never disabled, and motion respects
prefers-reduced-motion. These are spelled out because a model trims them first when asked for
less code, and nobody notices until a reader hits one.
When all three look the same
This is the failure mode, and it is the one comparison cannot catch. Three generic variants still produce a winner, and it is still generic.
The cause is always the same: every variant came from the same defaults, so none of them carries anything of the subject. A variant built from these is a default, not a direction, so do not add them:
- a cream or off-white background, or a terracotta accent colour
- one italic or coloured word in a headline
- "01 / 02 / 03" labels, unless the content really is a sequence
- small ALL-CAPS labels above headings, or monospace labels
- pill-shaped buttons, or an arrow (character or icon) in button text
- identical rounded cards with the same grey shadow
- a side list where the current item is only a slightly lighter rounded row
- one grey outline on every secondary button, with plain text inside it
- the same bold heading over a small grey caption on every block
- a large account or customer name above each item in a list; the item's own title leads, with the name under it at body size
- a dark label block at the left end of a strip, with the content in plain columns to its right
If the brand already uses one, keep it. This list matches the one in ~/.claude/shared/AGENTS.md §7,
so change both together.
The fix is one move. Name a detail that could appear on this page and no other — its real units, its real vocabulary, its real numbers, the convention its own field uses. Put that detail in, and rebuild the variants around it.
Review the pick
Once the user has picked, run /better-interface on the chosen variant and fix every HIGH
finding. A side-by-side pick judges the look; nobody tried the page with a keyboard, at 320px or
at 200% zoom, and those are where a reader gets stuck. Fix MEDIUM and LOW findings only when
the user asks, because each fix is more code they maintain alone. If the review marks a domain
Not reviewed, say which one; do not call the page checked.
Done
The compare page fills the browser with no sideways scroll and can be picked from. The user has picked a variant, /better-interface returns Approve on it, and it works on a narrow screen, with the longest real content,
and in its empty, loading and error states, because those are where a layout that looked fine
side by side breaks. Its controls pass the accessibility list above. The pick has overwritten
the real page, no real file still uses a variant, no delete command ran, and nothing outside the designed page changed. No variant
adds a style from that list.
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
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.

