ui-design

ui-design is a skill for Claude Code, Codex from pproenca/dot-skills. It costs 63 tokens per session (1,212 once invoked), scanned A, original, MIT.

A set of guidelines for designing and reviewing web interfaces, covering accessibility, speed, responsive layouts, typography, colors, forms, and animation. It is intended for HTML, CSS, and frontend work.

In plain words
What is it for?
Use it when structuring pages, styling responsive layouts, designing forms and validation messages, loading fonts and images, adding animations, or reviewing frontend code.
Why use it?
It helps prevent interfaces that are difficult to use, inaccessible, slow, or hard to read on different screen sizes.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/pproenca/dot-skills/ui-design
Any agent
npx skills add pproenca/dot-skills --skill ui-design
Clone the repo
git clone --depth 1 https://github.com/pproenca/dot-skills

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-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/pproenca/dot-skills/ui-design.svg)](https://agentmods.dev/skills/pproenca/dot-skills/ui-design)
Your own site
<a href="https://agentmods.dev/skills/pproenca/dot-skills/ui-design"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/ui-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,212 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00063 $0.01212
Opus 5 $0.00032 $0.00606
Sonnet 5 $0.00013 $0.00242
Haiku 4.5 $0.00006 $0.00121

Measured 4d ago against content hash 85bda8104488, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ui-design 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 4d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • ui-design — 88% identical, 3 lines differ
skills/.curated/ui-design/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UI/UX Best Practices Frontend Design

Comprehensive UI/UX and frontend design best practices guide. Contains 42 rules across 8 categories, prioritized by impact to guide accessible, performant, and user-friendly interface development.

When to Apply

Reference these guidelines when:

  • Structuring HTML for accessibility and semantics
  • Writing CSS for responsive layouts and visual hierarchy
  • Optimizing images and fonts for Core Web Vitals
  • Designing forms with proper validation and error handling
  • Adding animations and interactive elements

Rule Categories by Priority

Priority Category Impact Prefix
1 Accessibility & WCAG Compliance CRITICAL access-
2 Core Web Vitals Optimization CRITICAL cwv-
3 Visual Hierarchy & Layout HIGH layout-
4 Responsive & Mobile-First Design HIGH resp-
5 Typography & Font Loading MEDIUM-HIGH typo-
6 Color & Contrast MEDIUM color-
7 Forms & Validation UX MEDIUM form-
8 Animation & Performance LOW-MEDIUM anim-

Quick Reference

1. Accessibility & WCAG Compliance (CRITICAL)

  • access-semantic-html - Use semantic HTML elements for screen readers
  • access-keyboard-navigation - Ensure full keyboard navigation
  • access-focus-indicators - Provide visible focus indicators
  • access-alt-text - Provide meaningful alt text for images
  • access-aria-labels - Use ARIA labels for icon-only controls
  • access-target-size - Ensure minimum touch target size (24×24px)
  • access-heading-hierarchy - Maintain logical heading hierarchy

2. Core Web Vitals Optimization (CRITICAL)

  • cwv-optimize-lcp - Optimize Largest Contentful Paint under 2.5s
  • cwv-minimize-cls - Minimize Cumulative Layout Shift under 0.1
  • cwv-improve-inp - Improve Interaction to Next Paint under 200ms
  • cwv-responsive-images - Serve responsive images with srcset
  • cwv-lazy-load-offscreen - Lazy load offscreen images and iframes
  • cwv-critical-css - Inline critical CSS and defer the rest

Read the full file on GitHub · 111 lines

Files

What ships with it

47 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 111 lines · 63 tokens per session scan A 85bda8104488

Subscribe to this mod's changes

ui-design is a skill published in the GitHub repository pproenca/dot-skills (201 stars, last pushed 19d ago), licensed MIT. It adds 63 tokens to every session and 1,212 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

motion-graphics

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI…

heygen-com/hyperframes · 139 tokens

infographic-creator

基于给定文字内容创建精美信息图。当用户请求创建信息图时使用。.

antvis/Infographic · 25 tokens

liquid-glass

Apple Liquid Glass design system. Use when building UI with translucent, depth-aware glass morphism following Apple's design language. Provides CSS tokens, component patterns, dark/light mode, and animation specs.

fengshao1227/ccg-workflow · 43 tokens

better-ui

Design engineering principles for making interfaces feel polished. Use when building UI components, reviewing frontend code, implementing animations, hover states, shadows, borders, micro-interactions, enter/exit animations, choosing or reviewing icons, or any visual detail work. Triggers on UI polish, design details…

talebook/talebook · 99 tokens

cli-anything-photoshop

通过 COM 自动化操控 Adobe Photoshop 的 CLI harness。支持项目管理、图层操作、选区控制、文字编辑、图像调整和多格式导出。.

yb2460/harness-anything · 43 tokens

nano-banana

Generate professional presentation slides and high-quality illustrations using Gemini image generation API (Nano Banana 2), with interactive browser-based review and iterative editing. Full workflow: content planning conversation → slidesplan.json → batch image generation → review with feedback → targeted slide…

EvoScientist/EvoSkills · 128 tokens