design-ui
Skill4 starsChanged 11 days agoMITView on GitHub
Use this skill when the user says things like "design the UI", "make mockups", "mock up the screens", "import my prototype", "bring my design handoff in", "redesign the queue screen", "set up DESIGN.md", or when scaffold or plan-module hands off because a project has screens but no visual reference. Not for writing a project's agent docs or roadmap — use scaffold. Not for building a screen from a plan file — use execute-plan. Maps an existing brand in docs/brand/ onto screens — making one is design-brand's. Settles how a project looks before it is built, so the coding agent works to a reference. Imports an existing prototype, handoff bundle, design file, or screenshots — or proposes two or three distinct visual directions when there is none — and gets each choice explicitly confirmed. Writes DESIGN.md (design tokens plus the reasons behind them), a screen inventory covering every state, and one static HTML mockup per key screen under docs/design/, which later skills plan and verify against.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- lohi-ai/babysittheir own version, first seen Nov 8, 2026
- cachewraith/cachewraith-skillstheir own version, first seen Oct 25, 2026
- kdy1/kdy1-scriptstheir own version, first seen Oct 13, 2026
- NachikethReddyY/skillstheir own version, first seen Oct 13, 2026
- mae616/ai-templatetheir own version, first seen Aug 22, 2026
- ThisIsSadeghi/KMPilottheir own version, first seen Aug 4, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- ThisIsSadeghi/KMPilot★ 56same name
- kdy1/kdy1-scripts★ 33same name
- mae616/ai-template★ 9same name
- shreyas-makes/agent-skills★ 2same name
- evgenii-studitskikh/Claude-Code-SaaS-Studio★ 1same name
- leolionart/claude-skills★ 1same name
- NachikethReddyY/skills★ 1same name
- ThisIsSadeghi/Loupe★ 1same name
- vasu-devs/Forge★ 1same name
- cachewraith/cachewraith-skills★ 0same name
1 more not listed
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 repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- design-brandSkill
- execute-planSkill
- plan-moduleSkill
- scaffoldSkill
- test-and-verifySkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 1 is distinctive, and 9 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
After scaffold, on a project with a UI, before the first module with a visible surface is planned
- Very specific: line 15
When plan-module finds a module whose screens have no entry in docs/design/screens.md and hands off here rather than planning UI against …
- Very specific: line 18
Never for a project with no UI, and never as a project's first step: no docs/development-roadmap.md means hand off to scaffold
- Very specific: line 26
The project's conventions bind the design: If docs/conventions.md forbids a CSS framework or new colors, the mockups obey it.
- Very specific: line 32
Read the root context file, docs/development-roadmap.md, docs/product.md, docs/conventions.md, docs/decisions.md, and docs/brand/README.md …
- Very specific: line 37
Read references/visual-direction.md first.
- Very specific: line 45
If the reference came from a sandboxed prototype, name which of its choices (component library, icon set, framework) the sandbox forced, …
- Very specific: line 46
Every choice gets three exits — accept, override, or defer.
- Very specific: line 49
Read references/design-files.md for both formats before writing.
- Distinctive: line 52
If the format's linter can run here, run it and fix what it reports — asking first if running it would download a package.
“Common” is measured: kept by at least 6 in 10 of the 9 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
design-ui
Settles how the product looks — in files a coding agent can read and check its work against — before a single screen is built.
When this runs
- After
scaffold, on a project with a UI, before the first module with a visible surface is planned - When
plan-modulefinds a module whose screens have no entry indocs/design/screens.mdand hands off here rather than planning UI against nothing - A new screen, a redesign, or a prototype made elsewhere — a chat artifact, a design tool's handoff bundle — that should become the target
- A project scaffolded before 5.0, with a
docs/design-system.mdor UI already built but noDESIGN.md— see Step 0 - Never for a project with no UI, and never as a project's first step: no
docs/development-roadmap.mdmeans hand off toscaffold
Core philosophy
- Without a reference, a coding agent builds the average of what it has seen. The generic font, the safe palette, three cards in a row — that's the default when nothing steers it, not a lack of ability. This skill exists so a reference is in the repo before anything is built.
- Design is its own step, before code. The look is decided here, against mockups the user has actually seen — never discovered task by task inside
execute-plan. - The repo is the source of truth; a preview is not. Mockups are files under
docs/design/mockups/. A rendered artifact, a published page, or a screenshot in chat is how the user reviews one — never the only copy, because the next agent can't read it. - The look and the stack are separate decisions. A prototype's look can be the confirmed target while its libraries are not — those were often forced by the sandbox it was made in. Confirm the look here; the stack belongs to
scaffoldanddocs/decisions.md. - Nothing is settled until the user says so. An imported prototype, a legacy
design-system.md, CSS already in the repo — each is a recommendation to confirm, never a fact to carry over. One decision at a time; a single "looks good" against a bundle confirms nothing. - The project's conventions bind the design. If
docs/conventions.mdforbids a CSS framework or new colors, the mockups obey it. Design inside the rules, or name the conflict and ask — never quietly design past them. - Every screen has more than a happy state. Empty, loading, error, and a lot of data get designed here, because whatever isn't designed gets invented at build time.
Workflow
Step 0 — Read the project, and check what exists
- Read the root context file,
docs/development-roadmap.md,docs/product.md,docs/conventions.md,docs/decisions.md, anddocs/brand/README.mdif it exists. The screens come from the roadmap's modules; who uses them, and on what device, comes fromproduct.md. - Look for
DESIGN.md,docs/design/, a legacydocs/design-system.md, and UI already built — stylesheets, theme config, view templates. Any of these makes this a re-run or a migration: say which, and that what's there will be confirmed rather than assumed. Tokens or faces thatdocs/conventions.mdmakes binding are the exception — state them as constraints the design works inside, don't re-ask them as choices — unlessdocs/brand/replaces them, which is a conflict to raise, not a constraint. - Surface a
Status: Pendingdesign decision indocs/decisions.mdfirst — decide it now, or stop here and leave it parked. One left byscaffoldnames the prototype to import: start Step 1 there, and settle that entry once the look is confirmed.
Step 1 — Find the reference
Read references/visual-direction.md first. Then ask what exists, and take the first that applies:
- A brand —
docs/brand/README.mdexists. Its story is the visual thesis, and its palette, faces, logo files, and contrast rules are inputs, not choices. Propose two or three directions as mockups underdocs/design/directions/, differing in how the brand lands on the screens — surface, density, where the accent goes — never in a new palette. Read "Mapping a brand onto a UI" inreferences/visual-direction.md. A brand book or logo pack handed over with nodocs/brand/goes todesign-brandfirst. - A prototype or handoff — a chat artifact's code, a design tool's export bundle, a design file reachable through a connector the environment offers, or screenshots. Save it under
docs/design/reference/as-is, and extract from the file, never from memory of it. - Screens already built — read its tokens out of the stylesheets and config, screenshot its screens if a browser tool exists, and save those as the current reference.
- Nothing (a stylesheet with no screens counts as nothing, designed inside its tokens) — write a one-sentence visual thesis grounded in the product's domain and users, then propose two or three genuinely distinct directions, each a small static HTML mockup of the same key screen under
docs/design/directions/. The user picks one, or mixes.
Step 2 — Confirm the look, separately from the stack
- Show the reference or the chosen direction and confirm it as the visual target. Use whatever preview the environment offers — a rendered artifact, a published page, a browser screenshot — and always give the file path too. The file is written either way.
- If the reference came from a sandboxed prototype, name which of its choices (component library, icon set, framework) the sandbox forced, and leave those to
scaffoldanddocs/decisions.md. - Every choice gets three exits — accept, override, or defer. A deferred look becomes a dated pending decision, in the shape the context file's
## Pending decisionsanddocs/decisions.mdalready use (creating either if absent), and noDESIGN.md— a half-empty one is worse than none.
Step 3 — Write DESIGN.md and the screen inventory
- Read
references/design-files.mdfor both formats before writing. DESIGN.mdat the repo root: tokens in its YAML front matter, the reasoning in its body, and a## Do's and Don'tsnaming the defaults this product must not fall back to. Only what was confirmed.docs/design/screens.md: every screen the roadmap implies — purpose, user and device, layout, key components, each state, and the mockup that shows it.- If the format's linter can run here, run it and fix what it reports — asking first if running it would download a package. A contrast failure is a design bug, not a warning. Didn't run? Say so, and check contrast by hand.
Step 4 — Mock up each key screen, and confirm each
- One static HTML file per key screen under
docs/design/mockups/, usingDESIGN.md's tokens for every color, face, size, and radius, realistic copy in the product's own vocabulary, and every statescreens.mdlists. A state that can't occur on this screen — loading on a synchronous server-rendered page — is listed as not applicable, with why. - Mockups are reference, not production code — no build step, free to ignore the production stack, never free to ignore the look. They link their tokens by relative path — the project's own stylesheet if it defines them, else
docs/design/tokens.css— and never copy a value in, so they open from disk and can't drift from the product. - Show each one and confirm it before the next. If a browser tool exists, save screenshots at a phone width and a desktop width into
docs/design/reference/— those are what verification compares against later.
Step 5 — Link it and hand off
- Add one line to the root context file's
## Related docspointing atDESIGN.mdanddocs/design/screens.md. That line, and a pending-decision entry when the user parks the look, are the only edits this skill makes outsideDESIGN.mdanddocs/design/— the context file isscaffold's, the roadmap and plan files are never touched here, anddocs/brand/isdesign-brand's — a brand-level problem found while mapping is raised as a question for it, never fixed here. - Migrating from
docs/design-system.md: show what moved where, and ask before deleting the old file. Content with no home in the new files is raised as a question, never dropped. - Report what was written, what's still deferred, and which modules now have a reference. Name any design choice that needs data or behavior the plan doesn't have yet — a flag that depends on today's date, a state the code can't produce — as a re-plan item, never a silent plan edit. Name any binding convention the confirmed design now contradicts as a
scaffoldchange. Then offerplan-module— or, where a plan is already in flight, a re-plan so its open UI tasks gain visual scenarios.
Reference files
references/visual-direction.md— escaping the generic default, writing a visual thesis, proposing distinct directions, importing a prototype or handoff, and previewing per environment. Read this in Step 1.references/design-files.md— theDESIGN.mdformat, thescreens.mdand mockup conventions, and whatplan-module,execute-plan, andtest-and-verifyread from them. Read this in Step 3. Expected to age — theDESIGN.mdspec is alpha.
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.

