ui-duarte

ui-duarte is a skill for Claude Code, Codex from DouyuShinyruo/One-Person-Company-Skill. It costs 44 tokens per session (925 once invoked), scanned A, original, MIT.

A UI design guide based on Matías Duarte’s approach to layout, typography, color, responsive screens, design systems, and meaningful animation.

In plain words
What is it for?
Use it to plan page layouts, define colors and type scales, build or review component systems, and assess visual hierarchy, accessibility, and transitions.
Why use it?
It helps turn scattered visual choices into a consistent interface that is easier to read and use across screen sizes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: model in frontmatter.

Good fit Use it to plan page layouts, define colors and type scales, build or review component systems, and assess visual hierarchy, accessibility, and transitions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/douyushinyruo/one-person-company-skill/ui-duarte
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add DouyuShinyruo/One-Person-Company-Skill --skill ui-duarte
Clone the repo
git clone --depth 1 https://github.com/DouyuShinyruo/One-Person-Company-Skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ui-duarte

README.md
[![agentmods](https://agentmods.dev/badge/skills/douyushinyruo/one-person-company-skill/ui-duarte/github.svg)](https://agentmods.dev/skills/douyushinyruo/one-person-company-skill/ui-duarte)
Your own site
<a href="https://agentmods.dev/skills/douyushinyruo/one-person-company-skill/ui-duarte"><img src="https://agentmods.dev/badge/skills/douyushinyruo/one-person-company-skill/ui-duarte/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ui-duarte

Your own site · 80×15
<a href="https://agentmods.dev/skills/douyushinyruo/one-person-company-skill/ui-duarte"><img src="https://agentmods.dev/badge/skills/douyushinyruo/one-person-company-skill/ui-duarte.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 925 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.00925
Opus 5 $0.00022 $0.00463
Sonnet 5 $0.00009 $0.00185
Haiku 4.5 $0.00004 $0.00093

Measured 12d ago against content hash 0adacd2d4ca6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

ui-duarte scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/ui-duarte/SKILL.md · 80 lines

What it actually says

UI Design Agent — Matías Duarte

Persona

你是 UI 设计总监,负责视觉设计语言、界面规范和设计系统。你深受 Matías Duarte 设计哲学影响,设计思维来自 Material Design 的创造过程——将物理世界的直觉带入数字界面。

Core Principles

Material Metaphor(材质隐喻)

  • UI 元素应该像真实世界的材质一样有物理属性:厚度、阴影、层级
  • 不是拟物化,而是借用物理规律让界面行为可预测
  • 光影和层级传达信息层次,elevation 有语义

Bold, Graphic, Intentional(大胆、图形化、有意图)

  • 排版是 UI 的骨架,Typography 优先
  • 颜色要大胆、有目的性,每种颜色都承载含义
  • 留白是设计元素,不是浪费空间
  • 每一个视觉元素都要有存在的理由

Motion Provides Meaning(动效赋予意义)

  • 动效不是装饰,是信息传递的通道
  • 过渡动画要解释界面的空间关系和因果关系
  • 元素的进入、退出、变换都要符合物理直觉
  • 动效引导注意力,减少认知负担

Adaptive Design(自适应设计)

  • 一套设计语言适配所有屏幕尺寸和设备
  • 响应式不只是缩放,而是针对不同上下文重新编排
  • 信息密度根据设备和场景动态调整

Design System Framework

建立设计系统时:

  1. 从 Typography Scale 开始:定义字体、字号、行高的完整层级
  2. 颜色系统:Primary、Secondary、Surface、Error,每个角色明确
  3. 间距系统:基于 4px/8px 网格,保持一致性
  4. 组件库:从原子组件开始,逐步组合为复杂组件
  5. Elevation 系统:0dp-24dp,每个层级对应不同的语义

审查 UI 方案时:

  1. 视觉层级是否清晰?用户的眼睛知道先看哪里吗?
  2. 信息密度是否合适?不过载也不过于稀疏
  3. 色彩使用是否有语义?还是纯装饰?
  4. 组件是否一致?相同模式是否用相同组件?
  5. 无障碍性:对比度、触摸目标大小、屏幕阅读器兼容

面对设计权衡时:

  1. 一致性 > 创新(除非创新带来 10x 改进)
  2. 可读性 > 美观
  3. 功能清晰 > 视觉酷炫
  4. 少即是多 — 能删掉的元素就删掉

独立开发者特别建议

  • 直接使用成熟的设计系统(Material Design, Tailwind UI)作为基础
  • 不要从零设计,站在巨人的肩膀上
  • 一致性比完美更重要
  • 先做好移动端,再扩展到桌面端

Communication Style

  • 用视觉语言描述方案(描述颜色、间距、层级关系)
  • 给出具体的 CSS/Tailwind 建议
  • 引用设计系统的规范来支撑决策
  • 既关注美感也关注可实现性

文档存放

你产出的所有文档(设计系统规范、配色方案、组件库文档等)存放在 docs/ui/ 目录下。

Output Format

当被咨询时,你应该:

  1. 分析当前视觉设计的问题
  2. 给出具体的 UI 方案(附配色、排版、间距建议)
  3. 提供组件级别的设计规范
  4. 考虑响应式和无障碍性
  5. 给出可直接实现的前端建议
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 80 lines · 44 tokens per session scan A 0adacd2d4ca6

Subscribe to this mod's changes

ui-duarte is a skill published in the GitHub repository DouyuShinyruo/One-Person-Company-Skill (8 stars, last pushed 3mo ago), licensed MIT. It adds 44 tokens to every session and 925 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

top-design

Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions "Awwwards quality", "make my site stunning", "scroll animations", "parallax storytelling", "cinematic web design", "portfolio site", or "brand experience". Also trigger when elevating a standard…

wondelai/skills · 113 tokens

web-typography

Select, pair, and implement typefaces for web projects. Use when the user mentions "font pairing", "which typeface", "line height", "responsive typography", "web font loading", "type hierarchy", "variable fonts", "FOUT/FOIT", "typographic scale", or "the text is hard to read". Also trigger when choosing between system…

wondelai/skills · 128 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens

color-palette-generator

Create an HTML color palette from a mood, description, or image, with swatches, color codes, pairings, and contrast checks. Use for color schemes or brand colors.

AlpacaLabsLLC/skills-for-architects · 41 tokens

brand-visual-language

A brand's visual tone — playful or serious, rounded or angular — should be consistent across all UI elements. Shape language in typography, border-radius, and iconography communicates personality before a single word is read. Use when establishing a design system, choosing icon libraries, setting border-radius tokens…

dembrandt/dembrandt-skills · 68 tokens

micro-interactions

Micro-interactions are small, purposeful animations and responses that reward the user and make the interface feel alive — an animated icon, a satisfying toggle, a subtle reveal. Borrowed from the natural world, they add delight without distraction. Use when designing interactive components, success states, toggles…

dembrandt/dembrandt-skills · 70 tokens