design-code
Skill1.5k starsChanged 3 months agoMITView on GitHub
Generate production-ready, accessible, token-driven component code for ANY framework — React+Tailwind, Next.js, SwiftUI, Vue, Svelte, Angular, Solid, Web Components/Lit, React Native, Flutter, Jetpack Compose, vanilla CSS, or CSS-in-JS. Use when the user wants working UI code for a component or screen in a specific stack.
1 other project uses a version of this.
Trending
More talk lately.thin dataabout the whole repository
Most recently taken up by
- flyme0000/claude-skillstheir own version, first seen Jun 22, 2026
Who's talking about plugin87/ux-ui-agent-skills
- sudosubin/agents.nix“agent-skills.github.plugin87.ux-ui-agent-skills: init at 2.8.0”GitHub · Oct 1, 2026
- MeyraLab/Meyracle.com“Install plugin87 UX/UI agent skills”GitHub · Sep 17, 2026
- MarkQWu/agents-in-the-wild“Audit candidate: plugin87/ux-ui-agent-skills”GitHub · Sep 14, 2026
- xiaolai/nlpm“Audit candidate: plugin87/ux-ui-agent-skills”GitHub · Sep 14, 2026
- queeennnnblue/lumiere-luxury-remotion“Create UI”GitHub · Sep 12, 2026
The biggest 5 of 5 mentions linking to the repository that our crawl found. Each line is their own headline.
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- flyme0000/claude-skills★ 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 repository19 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- a11y-auditSkill
- apply-aestheticSkill
- brandkitSkill
- data-dashboardSkill
- design-componentSkill
- design-doctrineSkill
- design-qaSkill
- design-reviewSkill
- design-tokensSkill
- figma-integrationSkill
- governanceSkill
- image-to-codeSkill
- migrate-design-systemSkill
- performanceSkill
- prototypeSkill
- redesignSkill
- token-buildSkill
- ux-writingSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Very specific: line 13
Read frameworks/adapter-protocol.md (the universal contract: token resolution, component contract, styling, dark mode, motion + output …
- Distinctive: line 22
Use tokens (never hardcode) · include a11y on every interactive element · handle all applicable of the 8 states · support dark mode at the …
- Very specific: line 38
Run the gates, then report (mandatory): Before declaring done, RUN node scripts/verify_states.mjs <file> + --dark (every element, …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
Skill: Design Code
Render components into a target framework via the adapter system.
Steps
- Identify the target framework + styling method from the request (or ask).
- Read
frameworks/adapter-protocol.md(the universal contract: token resolution, component contract, styling, dark mode, motion + output rules). - Load the concrete adapter:
- Full references:
frameworks/react-tailwind.md,frameworks/nextjs.md,frameworks/swiftui.md. - Concise adapters:
frameworks/adapters/{vue,svelte,angular,solid,web-components-lit,react-native,flutter,jetpack-compose,vanilla-css,css-in-js}.md. - No file for the target? Generate an adapter on the fly using the protocol's "author a new adapter" checklist.
- Full references:
- Pull the component spec from
components/*and the ARIA pattern fromaccessibility/aria-patterns.md. - Resolve all values to tokens (
tokens/*.json); apply aesthetic direction if requested (apply-aestheticskill).
Output rules (mandatory)
Use tokens (never hardcode) · include a11y on every interactive element · handle all applicable of the 8 states · support dark mode at the semantic layer · mobile-first · honor reduced motion · deliver complete files, no placeholders (workflows/redesign-audit.md → Output Completeness).
Verification (mandatory before declaring done)
Code is the highest-stakes output — self-check every time:
- No hardcoded values — every color/size/radius/shadow/duration/font traces to a token (CSS var / theme key / asset). Run
scripts/lint_hardcodes.pyover the output; zero raw hex/px/ms AND zero raw Tailwind palette utilities (bg-gray-500,text-blue-600) — use semantic utilities/tokens (bg-surface,text-primary). Runscripts/validate_theme_refs.pyso everyvar(--…)resolves to a defined theme token (no floating tokens). One allowed exception: 3rd-party theme-config (MUI/Mantine) mapping our tokens INTO their API. - All applicable states present — Default, Hover, Focus(-visible ring), Active, Disabled, Loading(+
aria-busy), Error, Selected — or justified N/A. - Accessibility wired — correct role/ARIA per
accessibility/aria-patterns.md, keyboard model, focus management, ≥24px target; verify contrast (scripts/contrast.py) for any new color pair. - Dark mode + reduced motion + responsive — semantic tokens swap; motion has a
prefers-reduced-motionfallback; layout is mobile-first. - Completeness — full files, no
// ...; if asked for N, deliver N. If any check fails, fix before returning (runa11y-auditif unsure). - Single-theme consistency — consume the project's ONE shared token theme (the root CSS-var layer); never define a per-page palette or new colors. Across multiple pages/screens, the same semantic tokens must drive every surface so the whole product stays visually identical and themeable from one place (
.claude/rules/tokens-and-color.md→ Single-Theme Consistency). - One shared primitive layer — build ONE reusable component per atom (
Button,Input,Modal,Badgeviacva/equivalent); never repeat utility-class clusters inline across files or hand-roll a div-as-modal per screen. Overlays reuse the singleModalprimitive: focus trap,role="dialog",aria-modal="true",aria-labelledby, Escape, return focus on close, backdrop (WCAG 2.4.3 + 2.1.2). Seeexamples/golden/Button.tsx+examples/golden/Modal.tsx. - Font loading — NEVER
@importweb fonts in CSS (render-blocking). Use a framework loader (next/font) or<link rel="preconnect">+<link rel="preload">withfont-display: swap; self-host when possible. Font family comes from a token (--font-sans), never a literal. - Semantic token BY INTENT + consistency — the token's meaning must match the action: destructive (Delete/Remove) →
action.destructive(danger), neveraction.primary; secondary = neutral outline/transparent with dark text (never a colored fill → no dark-text-on-blue). The SAME action uses the SAME variant everywhere (a trigger button and its confirm button must match — not red in one place and blue in another). Gates don't catch this — you must. - No emoji as icons — use a real icon set (default lucide) as inline SVG with
currentColor; never an emoji, including in JS that swaps a label (swap the<svg>, not a text/emoji string). Mentally runscripts/lint_taste.py(it flags emoji-as-icon). - Destructive confirmation UX — irreversible actions (delete account/data, anything stated "cannot be undone") need real friction per WCAG 3.3.4 / 3.3.6: a confirmation dialog whose confirm button restates the action ("Delete account", not "Delete"/"OK"/"Yes") and, for high-stakes, a type-to-confirm step. See
examples/sample-app/preview.htmlandcontent/voice-tone.md. - Taste pre-flight — run the 12-point aesthetic check in
taste/design-taste.mdand, for any rendered HTML,node scripts/taste_audit.mjs <file>(render-based: flags timid type-scale contrast, uniform repetition, over-wide measure, palette sprawl). Taste is heuristic — treat findings as a strong signal and pair with a real screenshot review; it is NOT auto-provable like correctness. - Run the gates, then report (mandatory). Before declaring done, RUN
node scripts/verify_states.mjs <file>+--dark(every element, default/hover/focus) andnode scripts/accuracy_report.mjs; report their actual output. Never type a contrast number or "100%" you didn't just measure (CLAUDE.md → Verification Protocol).
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.

