ui-design
Skill4 starsChanged 3 months agoMITView on GitHub
Visual design guide for clide UI development — covers theme tokens, surface-specific token selection, control geometry/spacing/alignment, and Phosphor icons. Use when building or modifying widgets, panels, pane chrome, status indicators, tabs, list items, dialogs, or any visual surface. Triggers on: new widget code, theme-related changes, "which token", "what color", color/background questions, visual inconsistency fixes, "alignment off", "spacing", "padding", control geometry questions, new panel/pane/view development, adding or looking up Phosphor icons, icon codepoints.
78 other projects use a version of this.
Adopted by
Most recently taken up by
- Rain-kl/OpenFlaretheir own version, first seen Nov 30, 2026
- Kindness-Kismet/Stellibertytheir own version, first seen Nov 29, 2026
- kuyacarlo/skillstheir own version, first seen Nov 29, 2026
- jaansokk/cursor_toolstheir own version, first seen Nov 29, 2026
- daniel-kindl/dkstacktheir own version, first seen Nov 29, 2026
- microsoft/Tandemtheir own version, first seen Nov 29, 2026
Used with
Projects with it also use harness-design, icon-design and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
VictoriakaeySkillharness-design
Use when designing or improving the action space, observation format, tool boundaries, and evaluation signals of an LLM agent. Covers the five layers of harness design: what tools the agent has, what it sees after acting, how each tool is scoped, how behavior is evaluated, and how to iterate when the agent misbehaves. Prevents the most common harness failures — agents that pick wrong tools, ignore critical information, or loop without progress.
Also in 4 projects that use this
ArnavPuriSkillicon-design
Design and implement consistent SVG icon systems for UI: keyline grids, stroke rules, optical corrections, outline/filled/duotone styles, icon+text alignment, animation, and accessible markup. Use for UI icons in code; for a logo mark use brand-identity, for illustrations use image-generation. Trigger phrases: "icon design", "svg icon", "icon system", "custom icons", "icon animation", "icon grid", "icon accessibility", "duotone icon", "icon set", "animated icon"
Also in 3 projects that use this
travisjneumanSkillgraphic-design
Professional graphic design principles for digital and print media. Use when creating visual designs, choosing color palettes, typography, layouts, or providing design feedback.
Also in 3 projects that use this
soilmassSkilltypography
Typography and kinetic text animations including character reveals, typewriter effects, scramble/decode, wave motion, and animated gradients. Use when creating text reveals, headline animations, number counters, or any text-based motion effects.
Also in 3 projects that use this
MicrosoftSkilltypescript
TypeScript best practices for this monorepo. Use this skill when: (1) writing new TypeScript code, (2) reviewing TypeScript code, (3) working with API responses, fetch calls, or JSON parsing, (4) adding or modifying types and interfaces.
Also in 6 projects that use this
jarosser06Skilltest-strategy
Plans pytest test strategies for Drift's 90%+ coverage requirement using coverage analysis, edge case identification, and test suite design. Use when determining what tests to write, analyzing coverage gaps, or planning test strategies.
Also in 4 projects that use this
Other versions78 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 78
- twentyhq/twenty★ 62ksame name
- epicenter-md/epicenter★ 4.8ksame name
- EpicenterHQ/epicenter★ 4.8ksame name
- Kindness-Kismet/Stelliberty★ 1.2ksame name
- yunshu0909/yunshu_skillshub★ 760same name
- Rain-kl/OpenFlare★ 305same name
- Mindrally/skills★ 275same name
- mblode/agent-skills★ 227same name
- AnastasiyaW/claude-code-config★ 218same name
- AnastasiyaW/codex-claude-code-config★ 218same name
68 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.
- .vibe/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- legacy/CLAUDE.mdCLAUDE.md
- clideSkill
- git-commitSkill
- testmodeSkill
- whats-nextSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.
0
Common
Most of the 66 edited versions we read keep these.
1
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 27
Read the reference that matches the question.
- Very specific: line 34
All colors come from SurfaceTokens via ClideTheme.of(context).surface.
- Very specific: line 36
Never use Material* or Cupertino* widgets or color constants — clide is WidgetsApp only (D-7).
- Very specific: line 38
Use ClideText for themed text.
- Very specific: line 101
Do NOT pull a dialog card's stripe or a simple card's config into the collapser, and do NOT nest collapsers — inside a run, tools render as …
“Common” is measured: kept by at least 6 in 10 of the 66 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 design — clide visual surface guide
This skill bundles four concerns that all surface in widget work:
| Concern | Reference | When to read |
| Token system, palette, typography | references/theme.md | Designing or extending the theme pipeline; deciding whether to add a new token |
| Token selection per surface | references/surface.md | Building a new widget or modifying an existing one — "which token does this need" |
| Spacing, alignment, control layout | references/geometry.md | Building tab strips, list items, buttons, anything where icons sit next to text or padded edges |
| Phosphor icon usage and codepoints | references/icons.md | Adding or referencing an icon |
| Full Phosphor glyph table (1512, with codepoints) | references/phosphor-glyphs.md | Picking a specific glyph by name/look — find its codepoint, see if it's already defined |
Read the reference that matches the question. They cross-reference each other where relevant; you don't need to read all four.
Universal rules
These apply across every reference and every surface:
- All colors come from
SurfaceTokensviaClideTheme.of(context).surface. Never hardcodeColor(0xFF...). - Never use
Material*orCupertino*widgets or color constants — clide isWidgetsApponly (D-7). - Use
ClideTextfor themed text; never bareTextin production widgets. - Typography sizes:
clideFontMonofor code/paths/IDs,clideFontCaptionfor status/section headers, body inherits fromDefaultTextStyle. - Font family comes from the user-selectable facade, not a const: a
monospace surface uses
fontFamily: ClideSettings.fonts.monoOf(context)(andfontFamilyFallback: clideMonoFamilyFallback); the UI face is inherited via the rootDefaultTextStyle, orClideSettings.fonts.uiOf(context)when a widget must set it explicitly.clideMonoFamily/clideUiFamilyare the facade's defaults — don't read them directly in new widgets (D-101). Same facade exposesClideSettings.theme.of(context)and.i18n.of(context). - User-facing strings resolve through the catalog, never a hardcoded literal
(D-21/D-102):
ClideSettings.i18n.string(context, 'dotted.key', namespace: <ext id or 'core'>, placeholder: '<English>')(or.interpolatedfor templated). Add the key→English toassets/i18n/en_us/<namespace>.json. Theplaceholderis the English fallback; the extension's own id is its namespace (framework chrome usescore). Contribution manifests carrytitleKey/labelKeyfor the same reason.
Localization & string length (D-21/D-102)
- Config / layout. Catalogs are bundled assets at
assets/i18n/<locale>/<namespace>.json— the locale is a directory (en_us,nl_nl,nl_be,en_eu, …); a new language is a new folder of the same namespace files. The active language isapp.locale(Settings → Appearance → Language), applied live byroot_shellviai18n.setLocale; add theLocaletoavailableLocalesinmain.dartand a folder underassets/i18n/.en_USis default;nl_NLships. - Design for length variation. Translations are not the same width — Dutch
runs ~20% longer than English, German more. So never hard-size a surface to
its English label. Tight surfaces (status-bar items, chips, buttons, tab
titles, menu items) must tolerate ~30% growth: let them wrap, ellipsis, or
Flexible/Expanded, not a fixed width tuned to English. When you add or translate a label, sanity-check the length delta on those tight surfaces (an*.semanticslabel is screen-reader-only, so its length never deforms layout). A quick audit: comparelen(nl)/len(en)per key and eyeball the short-but-grew cases on real (non-semantics) surfaces.
Conversation-panel cards (T-305)
The Claude conversation stream has three card categories. They are NOT one
shared wrapper widget — each is its own widget; they only share the spacing
constants in lib/widgets/src/clide_card_metrics.dart (kClideCardGap,
kClideCardRadius, kClideCardHeaderPadH/V, kClideCardCounterSlotWidth) so
the stream reads as one rhythm. Change spacing there, not per-card.
- Dialog cards —
ConversationCardwith a speaker side stripe (you / claude / agent). Prose/attribution; not collapsible. - Simple cards — a single item shown fully open, never collapses (e.g. the image card). Standalone display; no chevron, no status chrome.
- Collapsibles —
ClideCollapserCard(lib/widgets/). Every tool use is one, over a list of1..Ninner item cards (a single tool = a 1-item list; there is no separate single-card path). Rules:- Whole card toggles; chevron hard against the left edge, the status tick (spinner/check/cross) hard against the right edge, the count in a fixed-width slot just inboard of it.
colordrives the border + chevron/label tint (per-instance fidelity).- Collapsed ticker echoes the run's last content line as the title + count + aggregate status (computed by the caller, bubbled up from items).
- Inner item cards are content + their own per-item status; they pass
margin: EdgeInsets.zero-ish (a bottom margin matching the canvas) so the collapser pads the inner canvas evenly on all sides — never let an inner card jam under the header or against a frame edge.
Do NOT pull a dialog card's stripe or a simple card's config into the collapser,
and do NOT nest collapsers — inside a run, tools render as the bare inner content
card (_ConversationTurn(collapseTools: false)).
Anti-patterns (cross-cutting)
- Borrowing another surface's token (
sidebarBackgroundfor hat bar) — give each surface its own token even if they share a palette key. Seetheme.md. - Hardcoded hex colors → use a token. See
surface.mdfor which one. fontSize: 14literal → useclideFontCaptionorclideFontMono.fontFamily: 'JetBrainsMono'literal → useclideMonoFamily.- Stacking edge padding on a padded parent + a padded child action → see
geometry.md"no double edge padding". - Eyeballing pixel margins instead of working back from the constraint —
the math matters; see
geometry.md"uniform inner spacing".
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.

