ui-redesign
AGENTS.md3 starsChanged 16 days agoMITView on GitHub
This repository is a skill for redesigning existing products and their design systems. Claude Code loads SKILL.md automatically. Other agents (Codex, Cursor, Gemini CLI, Windsurf, Aider…) should read SKILL.md before any UI, redesign or design-system work. The short version: Design only: same routes, data, copy and behaviour. Big projects follow references/large-projects.md.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,542 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- ui-redesignSkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 9
New branch first: Run git status.
- Distinctive: line 10
If the tree is dirty, ask the user to commit or stash.
- Very specific: line 11
If it's clean, run git switch -c redesign/<scope> and tell the user their app stays untouched.
- Distinctive: line 12
Never commit to or merge into their main branch.
- Very specific: line 16
Direction: Write DESIGN.md with five decisions: feeling, type, colour, shape, depth.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md 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.
Files
ui-redesign for any coding agent
This repository is a skill for redesigning existing products and their design systems.
Claude Code loads SKILL.md automatically. Other agents (Codex, Cursor, Gemini CLI,
Windsurf, Aider…) should read SKILL.md before any UI, redesign or design-system work.
The short version:
- New branch first. Run
git status.- If the tree is dirty, ask the user to commit or stash.
- If it's clean, run
git switch -c redesign/<scope>and tell the user their app stays untouched. - Never commit to or merge into their main branch.
- Capture before.
python3 scripts/shots.py <url> <routes…> --out shots/before. - Audit.
python3 scripts/audit.py <repo> --out redesign-audit.md --propose redesign-tokens.md. - Ask before merging the design system when the verdict is CONSOLIDATE: give the numbers and the three options (merge / keep tokens / only named screens), then wait.
- Direction. Write
DESIGN.mdwith five decisions: feeling, type, colour, shape, depth. - Tokens, then the eight layers, one commit each: type, colour, shape & space, imagery, icons, components & states, data, depth & glass. Details are in
references/layers.md. - Verify on renders.
python3 scripts/shots.py --compare shots/before shots/after-<layer> --out shots/compare. Check contrast, focus, 44-pt targets, 360 and 1440 widths. - Hand off. Report the branch, one line per layer, what is left, and UX suggestions not built.
Design only: same routes, data, copy and behaviour. Big projects follow references/large-projects.md.
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.

