design-principles
Skill0 starsChanged 3 months agoMITView on GitHub
UI/UX design standards for calm, intentional, production-ready interfaces. Load automatically for any design or UI work: building or reviewing pages, components, themes, RTL (Persian/Arabic/Hebrew) or LTR layouts, dark modes, design tokens, typography, accessibility, responsive screens, or motion. Triggers: "design", "ui", "ux", "interface", "layout", "component", "theme", "style", "dark mode", "rtl", "accessibility", "responsive", "doesn't look good" — in any language the user speaks.
13 other projects use a version of this.
Adopted by
Most recently taken up by
- HermeticOrmus/design-mastery-claude-codetheir own version, first seen Oct 1, 2026
- PuriyaMirza/personal-claude-skillstheir own version, first seen Sep 26, 2026
- simtransforma/HAOS-CC-Modeltheir own version, first seen Sep 23, 2026
- Crisiswastaken/SKILLStheir own version, first seen Aug 19, 2026
- zstvns/design-skillstheir own version, first seen Aug 8, 2026
- miovrag/claude-skillstheir own version, first seen Jun 12, 2026
Used with
Projects with it also use ui-ux-pro-max.
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.
StrayDragonSkillui-ux-pro-max
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.
Also in 3 projects that use this
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- launchapp-dev/animus-cli★ 38same name
- HermeticOrmus/design-mastery-claude-code★ 18same name
- zstvns/design-skills★ 15same name
- shualippe/design-principles-skill★ 8same name
- madeinlowcode/skills-claude-code★ 7same name
- utxo-AG/claude-skills★ 2same name
- Crisiswastaken/SKILLS★ 1same name
- dazuck/claude-code-skills★ 1same name
- miovrag/claude-skills★ 1same name
- PuriyaMirza/personal-claude-skills★ 1same name
3 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 repository14 other files it gives its agents.
- chatgpt/AGENTS.mdAGENTS.md
- opencode/AGENTS.mdAGENTS.md
- zcode/AGENTS.mdAGENTS.md
- claude/CLAUDE.mdCLAUDE.md
- code-qualitySkill
- context-compactSkill
- external-ai-consultSkill
- parallel-subagentsSkill
- reliable-executionSkill
- research-and-reuseSkill
- session-handoffSkill
- sudo-handoffSkill
- task-intakeSkill
- tauri-v2-docsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
32 rules. 0 are common, 30 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
30
Distinctive
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
- Distinctive: line 29
Do not use for non-UI work (APIs, logic, infra).
- Distinctive: line 67
Always detect the writing direction before designing.
- Very specific: line 77
Do not simply apply direction: rtl and keep an LTR design.
- Distinctive: line 79
Consider: reading rhythm, visual hierarchy, content scanning behavior, logical placement of controls.
- Distinctive: line 96
Prefer consistent spacing systems.
- Distinctive: line 97
Use whitespace intentionally.
- Distinctive: line 102
Avoid: crowded interfaces, elements touching without purpose, excessive empty space without meaning.
- Distinctive: line 114
Every interface should define:
- Very specific: line 117
Avoid pure black (#000000) for dark themes.
- Distinctive: line 119
Prefer slightly tinted neutrals.
- Distinctive: line 126
Do not make every surface the same color.
- Distinctive: line 132
Avoid: white text everywhere (dark theme), black text everywhere (light).
- Distinctive: line 136
Every foreground color must be readable against its background — check the combination before using text, icons, buttons, badges, or hover …
- Distinctive: line 146
Every interactive element needs complete states: default, hover, active, focus, disabled.
- Distinctive: line 163
Prefer semantic tokens; do not scatter raw hex values through components:
- Distinctive: line 184
Avoid: accent everywhere, multiple competing primary colors, rainbow interfaces without purpose.
- Distinctive: line 186
Prefer: one dominant accent, limited supporting colors, clear hierarchy.
- Distinctive: line 191
Prefer: layered surfaces, subtle borders, soft shadows, muted secondary text.
- Distinctive: line 193
Avoid: extremely bright colors, excessive glowing effects, maximum contrast everywhere.
- Distinctive: line 205
Do not choose trendy colors without matching the product identity.
- Distinctive: line 221
Create a clear hierarchy; avoid too many font families.
- Distinctive: line 226
Avoid: random font sizes, weak hierarchy, long unreadable paragraphs.
- Distinctive: line 234
Before creating a new component, ask: "Does an existing pattern already solve this?"
- Distinctive: line 237
Avoid: one-off styling, inconsistent buttons, different card styles everywhere.
- Distinctive: line 244
Use motion for: state changes, feedback, transitions, important moments.
- Distinctive: line 245
Avoid: animations everywhere, distracting effects, unnecessary movement.
- Distinctive: line 246
Prefer: subtle, fast, meaningful.
- Distinctive: line 252
Consider screen sizes, touch targets, content priority.
- Distinctive: line 253
Do not simply shrink desktop layouts.
- Distinctive: line 257
Always consider: readable contrast, keyboard navigation, focus states, semantic HTML, reduced motion preferences.
- Distinctive: line 275
Before finishing any UI work, run the Final Design Review:
- Distinctive: line 291
No accidental generic AI style
“Common” is measured: kept by at least 6 in 10 of the 12 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 Principles — ZCode
Purpose
Produce interfaces that feel intentional, readable, calm, and
production-ready — never just "pretty". This is the full playbook behind the
compact User Design Standards rule in the global AGENTS.md.
When to use
- Building or editing any user-facing UI: pages, components, themes, layouts.
- Reviewing a design before delivery ("does this look good?").
- RTL work (Persian, Arabic, Hebrew) or LTR work.
- Dark/light themes, design tokens, typography, motion, accessibility, responsive screens.
Do not use for non-UI work (APIs, logic, infra).
Preconditions
- The compact
User Design Standardssection in the global AGENTS.md has already loaded the non-negotiables; this skill carries the detail.
Rules
Intent first
The goal is not only visual beauty. The interface must feel intentional, readable, calm, and production-ready.
Prioritize:
- Clarity over decoration
- Consistency over novelty
- Accessibility over visual effects
- Meaningful design decisions over random creativity
Avoid:
- unnecessary visual noise
- excessive animations
- generic AI-generated layouts
- decoration without purpose
Long-Term Usage Principle
Interfaces are not screenshots. Optimize for:
- 8 hours of usage
- readability
- reduced eye strain
- consistent interaction
A beautiful UI that becomes tiring after 30 minutes is a bad UI.
Layout Direction (LTR / RTL)
Always detect the writing direction before designing.
RTL interfaces (Persian, Arabic, Hebrew, other RTL):
Mirror the layout direction, not just the text alignment.
- Navigation flows from right to left.
- Primary actions should feel natural from the right side.
- Icons with directional meaning must be mirrored: arrows, pagination, back/forward actions, timelines, progress indicators.
Do not simply apply direction: rtl and keep an LTR design.
Consider: reading rhythm, visual hierarchy, content scanning behavior, logical placement of controls.
Examples:
- Sidebar navigation starts from the right.
- Important actions are positioned where RTL users naturally look.
- Cards and dashboards preserve RTL visual balance.
LTR interfaces (English, others):
- Navigation starts from the left.
- Content hierarchy follows left-to-right scanning.
- Icons and directional elements follow LTR meaning.
Spacing & Composition
Spacing is a core part of design quality.
- Prefer consistent spacing systems; avoid random margins and padding.
- Use whitespace intentionally; think in hierarchy:
- Small gap: related elements
- Medium gap: component sections
- Large gap: different content groups
Avoid: crowded interfaces, elements touching without purpose, excessive empty space without meaning. Prefer: breathing room, clear grouping, visual rhythm.
Color Aesthetics & Design System
Color is not decoration. Color communicates hierarchy, meaning, and interaction. Never choose colors individually — always design a complete color system.
Color System Foundation
Every interface should define:
Background Layer — application background / page canvas.
- Avoid pure black (
#000000) for dark themes; avoid pure white (#FFFFFF) for light themes. - Prefer slightly tinted neutrals. Dark: charcoal, deep blue-gray, warm dark tones. Light: soft gray, warm white, subtle tinted surfaces.
Surface Hierarchy — different layers need different visual depth.
- Define: background, surface, elevated surface, hover surface, active surface.
- Example:
Background → Card → Dropdown/Modal → Tooltip. - Do not make every surface the same color.
Text Color Hierarchy — never one text color everywhere.
- Primary text (titles, important content): high contrast but comfortable.
- Secondary text (descriptions, metadata): lower contrast.
- Disabled text (unavailable actions): low emphasis but still readable.
- Avoid: white text everywhere (dark theme), black text everywhere (light).
Contrast Rules
Every foreground color must be readable against its background — check the combination before using text, icons, buttons, badges, or hover states.
Common mistakes:
- Dark button + dark text (e.g.
background: #1E293B+text: #111827— unreadable). - Bright background + pure white text (e.g. yellow bg + white text).
Interactive State Colors
Every interactive element needs complete states: default, hover, active, focus, disabled. Never change only the background on hover without checking text/icon contrast.
Button example:
Primary: background + text
Hover: background-hover + text-hover
Focus: focus-ring
Disabled: disabled-background + disabled-textThe entire component must remain readable in every state.
Color Roles Instead of Raw Colors
Prefer semantic tokens; do not scatter raw hex values through components:
--color-background
--color-surface
--color-surface-hover
--color-primary
--color-primary-hover
--color-primary-text
--color-text-primary
--color-text-secondary
--color-text-disabled
--color-border
--color-success
--color-warning
--color-errorAccent Color Usage
Accents guide attention.
- Avoid: accent everywhere, multiple competing primary colors, rainbow interfaces without purpose.
- Prefer: one dominant accent, limited supporting colors, clear hierarchy.
Dark Theme Aesthetics
Dark themes should feel calm and premium.
- Prefer: layered surfaces, subtle borders, soft shadows, muted secondary text.
- Avoid: extremely bright colors, excessive glowing effects, maximum contrast everywhere.
- Dark UI is for comfortable long sessions.
Color Psychology
Choose colors based on product personality:
- Professional/Technical: cool neutrals, controlled accents
- Luxury: deep tones, restrained highlights
- Friendly: softer colors, warmer accents
- Creative: stronger contrasts, expressive palette
Do not choose trendy colors without matching the product identity.
Final Color Review
Before finishing, ask:
- Can I read every text element?
- Are hover states still readable?
- Does every button have enough contrast?
- Is the hierarchy obvious?
- Does the palette feel intentional?
- Would this still look good after hours of usage?
Typography
Typography defines the personality of the interface.
- Create a clear hierarchy; avoid too many font families.
- Match typography with product personality.
Define: display/headline, title, body, caption, metadata.
Avoid: random font sizes, weak hierarchy, long unreadable paragraphs.
Components
Components should feel like one system.
- Reuse patterns; keep spacing, border radius, and shadows consistent.
Before creating a new component, ask: "Does an existing pattern already solve this?"
Avoid: one-off styling, inconsistent buttons, different card styles everywhere.
Motion & Interaction
Animations communicate.
- Use motion for: state changes, feedback, transitions, important moments.
- Avoid: animations everywhere, distracting effects, unnecessary movement.
- Prefer: subtle, fast, meaningful.
Responsive Design
Design mobile-first when appropriate.
- Consider screen sizes, touch targets, content priority.
- Do not simply shrink desktop layouts.
Accessibility
Always consider: readable contrast, keyboard navigation, focus states, semantic HTML, reduced motion preferences.
A beautiful interface that is hard to use is a failed design.
Common mistakes
- Applying
direction: rtlwithout mirroring layout and directional icons — the most common RTL bug. - Pure
#000background with pure#FFFtext in dark themes. - Random colors without a token system.
- One-off components instead of reusing existing patterns.
- Generic AI-generated layouts or decoration without purpose.
- Animations everywhere instead of on state changes/feedback.
- Shipping a design without running the final review.
Validation
Before finishing any UI work, run the Final Design Review:
Visual
- Does it feel intentional?
- Is spacing consistent?
- Are colors balanced?
- Is hierarchy clear?
UX
- Can users understand it immediately?
- Are important actions obvious?
- Are states handled?
Quality
- No placeholder-looking UI
- No inconsistent components
- No accidental generic AI style
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.

