ui

ui is a skill for Claude Code from wellwelwel/lagune. It costs 47 tokens per session (2,162 once invoked), scanned A, a copy of polish, MIT.

A set of design guidelines for making web interfaces look and feel polished. It covers typography, spacing, shadows, borders, alignment, animations, and related visual details.

In plain words
What is it for?
Use it when creating or reviewing interface code, especially for hover states, transitions, shadows, borders, text layout, and visual alignment.
Why use it?
Small visual inconsistencies can make an interface feel unfinished even when it works. These guidelines help you spot and correct those details while building or reviewing frontend code.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it when creating or reviewing interface code, especially for hover states, transitions, shadows, borders, text layout, and visual alignment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wellwelwel/lagune/ui
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 wellwelwel/lagune --skill ui
Clone the repo
git clone --depth 1 https://github.com/wellwelwel/lagune

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/wellwelwel/lagune/ui/github.svg)](https://agentmods.dev/skills/wellwelwel/lagune/ui)
Your own site
<a href="https://agentmods.dev/skills/wellwelwel/lagune/ui"><img src="https://agentmods.dev/badge/skills/wellwelwel/lagune/ui/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wellwelwel/lagune/ui"><img src="https://agentmods.dev/badge/skills/wellwelwel/lagune/ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,162 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 75% 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.00047 $0.02162
Opus 5.5 $0.00019 $0.00865
Sonnet 5.5 $0.00009 $0.00432
Haiku 4.5 $0.00005 $0.00216

Measured 13d ago against content hash 3466cf8aa479, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui 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 13d 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

75% identical to polish — 185 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.

.claude/skills/ui/SKILL.md · 160 lines

How it starts

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

Details that make interfaces feel better

Great interfaces rarely come from a single thing. It's usually a collection of small details that compound into a great experience. Apply these principles when building or reviewing UI code.

Quick Reference

Category When to Use
Typography Text wrapping, font smoothing, tabular numbers
Surfaces Border radius, optical alignment, shadows, hit areas
Animations Interruptible animations, enter/exit transitions, icon animations
Performance Transition specificity, will-change usage

Core Principles

1. Concentric Border Radius

Outer radius = inner radius + padding. Mismatched radii on nested elements is the most common thing that makes interfaces feel off.

2. Optical Over Geometric Alignment

When geometric centering looks off, align optically. Buttons with icons, play triangles, and asymmetric icons all need manual adjustment.

3. Shadows Over Borders

Layer multiple transparent box-shadow values for natural depth. Shadows adapt to any background; solid borders don't.

4. Interruptible Animations

Use CSS transitions for interactive state changes — they can be interrupted mid-animation. Reserve keyframes for staged sequences that run once.

5. Split and Stagger Enter Animations

Don't animate a single container. Break content into semantic chunks and stagger each with ~100ms delay.

6. Subtle Exit Animations

Use a small fixed translateY instead of full height. Exits should be softer than enters.

7. Contextual Icon Animations

Animate icons with opacity, scale, and blur instead of toggling visibility. Use exactly these values: scale from 0.25 to 1, opacity from 0 to 1, blur from 4px to 0px. If the project has motion or framer-motion in package.json, use transition: { type: "spring", duration: 0.3, bounce: 0 } — bounce must always be 0. If no motion library is installed, keep both icons in the DOM (one absolute-positioned) and cross-fade with CSS transitions using cubic-bezier(0.2, 0, 0, 1) — this gives both enter and exit animations without any dependency.

Read the full file on GitHub · 160 lines

Files

What ships with it

4 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. 13d ago First seen · 160 lines · 47 tokens per session scan A 3466cf8aa479

Subscribe to this mod's changes

ui is a skill published in the GitHub repository wellwelwel/lagune (173 stars, last pushed 2d ago), licensed MIT. It adds 47 tokens to every session and 2,162 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 75% identical to polish, differing in 185 lines, and is treated as a copy.

Related

Other skills, from other repositories

enhance-web-ux

NN/g-grounded fix of one existing page's flows. Use when "fix UX of /xxx" or "improve information density". Repo-wide slop plan → plan-antislop. Composition/type → enhance-web-ui. Reading level → enhance-readability. Heuristics only → audit-ux.

kensaurus/cursor-kenji · 68 tokens

enhance-web-ui

Polish an existing page's hierarchy, spacing, type, and visual personality. Use when "make this page polished/premium", "less crowded", or "better visual hierarchy". Readability → enhance-readability. Flow/IA → enhance-web-ux.

kensaurus/cursor-kenji · 57 tokens

audit-uiux-design-system

Audit visual-system coherence: tokens, component variants, color, type, spacing, dark mode. Use for "design drift", inconsistent UI, or duplicate primitives. Per-page usability → audit-ux. Plan-only unification → plan-uiux-unification.

kensaurus/cursor-kenji · 57 tokens

audit-responsive

Audit and fix layouts at every breakpoint — desktop is not a wide phone. Use when "responsive audit", desktop looks stacked or stretched, there is no max-width, or 1440 looks like a phone. Touch-first build → design-mobile-first.

kensaurus/cursor-kenji · 53 tokens

design-mobile-first

Design mobile-first UIs: touch targets, safe areas, gestures, then enhance up. Use when building for small screens, touch, swipe, PWA, or tablet. Linearized desktop / responsive audit → audit-responsive.

kensaurus/cursor-kenji · 49 tokens

design-system

Build a new design system (tokens, variants, theming). Use when "create a design system" or "component library from scratch". Drifted existing system → housekeep-design. Plan-only unification → plan-uiux-unification.

kensaurus/cursor-kenji · 51 tokens