ui-design

ui-design is a skill for Claude Code, Codex from PyModel/react-frontend-skills. It costs 12 tokens per session (1,105 once invoked), scanned A, a copy of ui-design, MIT.

A set of guidelines for designing and coding user interfaces, including page structure, styling, forms, responsive layouts, accessibility, speed, and animation.

In plain words
What is it for?
Use it when building or reviewing HTML, CSS, forms, responsive pages, images, fonts, and interactive effects.
Why use it?
It helps prevent interfaces that are difficult to use, inaccessible, slow, or awkward on different screen sizes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when building or reviewing HTML, CSS, forms, responsive pages, images, fonts, and interactive effects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pymodel/react-frontend-skills/ui-design
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 PyModel/react-frontend-skills --skill ui-design
Clone the repo
git clone --depth 1 https://github.com/PyModel/react-frontend-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/pymodel/react-frontend-skills/ui-design/github.svg)](https://agentmods.dev/skills/pymodel/react-frontend-skills/ui-design)
Your own site
<a href="https://agentmods.dev/skills/pymodel/react-frontend-skills/ui-design"><img src="https://agentmods.dev/badge/skills/pymodel/react-frontend-skills/ui-design/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-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/pymodel/react-frontend-skills/ui-design"><img src="https://agentmods.dev/badge/skills/pymodel/react-frontend-skills/ui-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,105 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. Third-party audits
  • Socket pass 26 Sept 2026
  • Snyk pass 26 Sept 2026
How audits are shown
Origin 88% copy Near-identical to another mod 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.00012 $0.01105
Opus 5.5 $0.00005 $0.00442
Sonnet 5.5 $0.00002 $0.00221
Haiku 4.5 $0.00001 $0.00111

Measured 23d ago against content hash 18251c2a263a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 23d 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

This is a copy

88% identical to ui-design — 14 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/ui-design/SKILL.md · 103 lines

How it starts

The opening of the file, as written. The whole thing — 103 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 · 103 lines

Files

What ships with it

42 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. 23d ago Changed · -7 lines · -51 tokens per session 18251c2a263a
  2. 1mo ago First seen · 110 lines · 63 tokens per session scan A 736bc3446b4f

Subscribe to this mod's changes

ui-design is a skill published in the GitHub repository PyModel/react-frontend-skills (38 stars, last pushed 3d ago), licensed MIT. It adds 12 tokens to every session and 1,105 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to ui-design, differing in 14 lines, and is treated as a copy.

Related

Other skills, from other repositories

lov-maintain-partners

Maintain the Skill Publisher website's partners section AND align partner logo rows on event posters / hero strips: reuse lov-find-logo for brand logo discovery, normalize collected logos to a 240px-tall content canvas (retina-ready), rasterize SVGs via rsvg-convert before normalizing (so SVG viewBox padding gets…

lovstudio/skills · 294 tokens

lov-oh-my-landingpage

A landing-page creation and redesign skill that derives a product’s positioning, story, and visual direction from its actual product and brand facts. It then implements the page responsively and checks the result against the intended product message.

lovstudio/skills · 67 tokens

lov-frontend-design

A frontend design guide for turning requirements, existing screens, and real media into usable pages and components. It covers visual design, navigation, interaction details, animation, images, audio, and video.

lovstudio/skills · 71 tokens

lov-install-shadcn-ui

A setup tool for shadcn/ui, a collection of editable interface components for web projects. It installs only needed pieces and adapts their styles to the project’s existing theme and Tailwind version.

lovstudio/skills · 48 tokens

lov-install-web-logo

A website branding tool that connects an approved logo to browser icons, the web app manifest, page metadata, and related components. A favicon is the small icon shown in a browser tab; a PWA manifest describes an installable web app.

lovstudio/skills · 41 tokens

lov-kill-emoji

A UI cleanup tool that replaces unsuitable emoji in visible interface elements with matching icons or short text. It checks the surrounding meaning before changing anything.

lovstudio/skills · 48 tokens