ui-build
Skill2 starsChanged 6 days agoMITView on GitHub
owner dept-frontend. Build new UI in any framework: \"crea un modal\", \"nueva pantalla\", \"construye el componente\", \"arma un dashboard\".
We split this skill into the rules it gives an agent
6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Write it before the first file, 4–6 lines, in the brief's language.
- Distinctive: line 49
Always return to the department:
- Very specific: line 58
Before building, list patterns/ and read the matching file, if any.
- Very specific: line 59
After building something reusable that has no pattern yet (a modal, a data table, a stepper…), write patterns/<pattern>.md from …
- Very specific: line 60
Update an existing pattern only with new, verified information (novelty check, waymark references/learning.md).
- Distinctive: line 63
Read only the mode the task needs (one file).
“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
UI Build
Precondition. Tool of
dept-frontend. If that department skill is not loaded in this conversation, load it first and use its brief (what, why, where, how) as the input of this skill. Skip only for L0 edits.
Approach
New interface is a design decision before it is code. Decide on purpose and character first, then write code that carries that decision into every detail.
- The existing system wins. In a project with tokens, a component library or established screens, the "direction" is already chosen: match it so precisely that the new view looks like it was always there. Invention is reserved for greenfield work.
- Intent over intensity. A quiet, dense admin view and an expressive landing can both be excellent; what fails is a view with no point of view, assembled from defaults.
- Generic is a defect. Interchangeable layouts, a single flat type size, evenly spread color, cards wrapped around everything and decorative effects with no reason all read as "template". Each choice should be explainable by the product, the user or the content.
- Complete beats pretty. A view is not built until loading, empty, error, success, disabled and interaction states exist, it reflows on the narrowest screen and it works by keyboard.
- Questions before acting: who uses this and in what situation? What is the one primary action? What already exists that I can reuse? What would make this view clearly belong to this product?
Design system decision (mini-brief)
Write it before the first file, 4–6 lines, in the brief's language. It adapts to the project's situation.
| Field | Brownfield (system exists) | Greenfield (no system) |
| Purpose | user task + single primary action | same |
| Tone | inherited: name the screens/components it must match | chosen: one concrete adjective pair (e.g. "calm, exact"; "warm, editorial") grounded in a sentence about who uses it and where |
| Constraints | tokens, library components, breakpoints, theme modes, SSR, a11y level | framework, performance budget, a11y level, theme modes |
| Differentiator | one detail that makes this view excellent inside the system (information density, a clear empty state, a well-paced form) | the one memorable trait of the visual identity (type pairing, color strategy, layout rhythm) |
| Reuse | components and patterns reused, new ones justified | primitives to create first (tokens, button, input, surface) |
Brownfield rule: if a field would require a new token, font or component variant, list it as a proposal for dept-ux-ui instead of silently adding it.
Avoid
- Inventing fonts, colors or radii in a project that already has a system.
- Shipping only the happy path; a spinner as the only non-success state.
- A modal where inline or progressive disclosure would serve the task.
- Several competing primary actions on one view.
- New breakpoints to patch a layout that fluid sizing would fix.
- Copying a generic template layout without adapting hierarchy to the content.
Inputs
| Input | Source |
| Brief | the dept-frontend brief (plus dept-ux-ui states/specs when present) |
| Stack conventions | ../waymark/stacks/<stack>.md → Conventions by department → Frontend |
| Project context | <project>/.waymark/memory.md → Identity, Conventions, ## Design system (create the section if missing) |
| Design system | token source of truth, theme preset, shared/ui components (Grep the shared layer) |
| Known patterns | patterns/ in this skill (generic) + project skills (project-specific) |
Output contract
Always return to the department:
- Design decision (mini-brief) and mode used.
- Files created or changed, with placement rationale.
- Reuse map: components and tokens reused; anything new and why.
- States covered (checklist) and the responsive and theme checks done.
- A11y basics verified (keyboard path, focus, labels, contrast).
- Open risks / proposals for
dept-ux-ui(new tokens, variants) ordept-backend(missing error shapes).
Pattern library (grows with use)
- Before building, list
patterns/and read the matching file, if any. - After building something reusable that has no pattern yet (a modal, a data table, a stepper…), write
patterns/<pattern>.mdfrom../waymark/templates/pattern.template.md: stack-agnostic intent, anatomy, states, a11y, pitfalls, and one short adapter per stack it was built in. Project-specific details go to project memory, not here. - Update an existing pattern only with new, verified information (novelty check, waymark
references/learning.md).
Modes
Read only the mode the task needs (one file); never load all modes.
- build — a new component, dialog, form, screen or dashboard is needed and no equivalent exists. →
modes/build.md - compose — the screen can be assembled mostly from existing components (library or shared layer) with little or no new styling. →
modes/compose.md - greenfield-direction — no tokens, theme or component library exist yet, or the user explicitly asks for a new visual identity. →
modes/greenfield-direction.md
Stack adapters
Stack-specific notes → references/stack-adapters.md (read only the project's stack row).
Learned notes
Grows with use (waymark references/learning.md). Dated, non-obvious notes about using this tool. When there are more than ~10, fold them into the body above and clear this list.
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- wlsdks/ontology-atlas★ 146same name
- Mesteriis/Engineering-Bible-AI★ 0same name
- TucsenRoman/claude-skills★ 0same 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.
- browser-verifySkill
- dept-architectureSkill
- dept-backendSkill
- dept-dataSkill
- dept-devexSkill
- dept-devopsSkill
- dept-frontendSkill
- dept-productSkill
- dept-qaSkill
- dept-securitySkill
- dept-ux-uiSkill
- library-docsSkill
- ui-auditSkill
- ui-refineSkill
- ui-systemSkill
- waymarkSkill
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.

