ui-pattern-library

ui-pattern-library is a skill for Claude Code from lenar-amirov/product-pipeline-public. It costs 75 tokens per session (528 once invoked), scanned A, original, MIT.

A guide for choosing interface patterns based on the user problem a proposed solution must address. A UI pattern is a familiar way of arranging an interaction, such as inline editing or a contextual banner.

In plain words
What is it for?
Use it while sketching screens to choose interaction patterns, explain new features, reduce effort, build trust, capture user intent, or show information at the right moment.
Why use it?
It keeps wireframes focused on how the product should solve the stated problem instead of choosing components only for appearance.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it while sketching screens to choose interaction patterns, explain new features, reduce effort, build trust, capture user intent, or show information at the right moment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lenar-amirov/product-pipeline-public/ui-pattern-library
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 lenar-amirov/product-pipeline-public --skill ui-pattern-library
Clone the repo
git clone --depth 1 https://github.com/lenar-amirov/product-pipeline-public

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-pattern-library

README.md
[![agentmods](https://agentmods.dev/badge/skills/lenar-amirov/product-pipeline-public/ui-pattern-library/github.svg)](https://agentmods.dev/skills/lenar-amirov/product-pipeline-public/ui-pattern-library)
Your own site
<a href="https://agentmods.dev/skills/lenar-amirov/product-pipeline-public/ui-pattern-library"><img src="https://agentmods.dev/badge/skills/lenar-amirov/product-pipeline-public/ui-pattern-library/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-pattern-library

Your own site · 80×15
<a href="https://agentmods.dev/skills/lenar-amirov/product-pipeline-public/ui-pattern-library"><img src="https://agentmods.dev/badge/skills/lenar-amirov/product-pipeline-public/ui-pattern-library.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 528 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.00075 $0.00528
Opus 5 $0.00037 $0.00264
Sonnet 5 $0.00015 $0.00106
Haiku 4.5 $0.00007 $0.00053

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

Security

Grade A, and why

ui-pattern-library 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.

.claude/skills/ui-pattern-library/SKILL.md · 48 lines

How it starts

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

UI Patterns for Solution Sketches

Serves the /sketch job: turn a solution hypothesis into concrete screens. The question is never "which component is prettiest" — it's "which pattern delivers the mechanism this hypothesis promises".

Method

  1. Start from the hypothesis mechanism. Read the solution hypothesis (output/solution-hypotheses.md, linked ids in the registry): the "Formula: if X then Y because Z" line names the mechanism. The pattern must implement Z — everything else is decoration.
  2. Pick a pattern per mechanism, e.g.:
    • reduce effort at a step → inline editing, smart defaults, one-tap confirm, progressive disclosure
    • build trust → social proof blocks, transparent pricing breakdown, recognizable payment affordances
    • create/capture intent → save-for-later, wishlists, follow/subscribe, re-engagement entry points
    • explain something new → empty states that teach, contextual tooltips, first-run checklists (NOT tours nobody reads)
    • surface at the right moment → contextual banners/sheets anchored to the user's current task, not global modals
  3. Respect platform conventions the segment already knows (CONTEXT.md: platform). A familiar mediocre pattern usually beats a novel one — the novelty tax is real and shows up in concept tests.
  4. Name the risk per screen — what the concept test (step 8.5) should probe: discoverability? comprehension? trust?

Output — into output/solution-sketch.md

Per screen: purpose (which hypothesis/mechanism) → chosen pattern + why → elements list top-to-bottom → user flow in/out → open risk for testing. Text wireframes are fine; Figma via MCP when connected.

Anti-patterns

  • Design-system lectures (tokens, atomic design, component APIs) — that's the design team's domain, not a PM sketch.
  • Patterns chosen by taste with no link to the hypothesis mechanism.
  • Novel interactions where a platform convention exists — unless novelty IS the hypothesis.

Read the full file on GitHub · 48 lines

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 · 48 lines · 75 tokens per session scan A 0aba44098c78

Subscribe to this mod's changes

ui-pattern-library is a skill published in the GitHub repository lenar-amirov/product-pipeline-public (12 stars, last pushed 23d ago), licensed MIT. It adds 75 tokens to every session and 528 once invoked, about $0.0004 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

design-system

Builds and maintains the design system a product is assembled from — tokens for color, type, spacing and elevation, component contracts, and the rules that keep them coherent as the product grows. Use this when starting a new interface, when screens have drifted apart visually, when the same component exists three…

cbrock84/headcount · 82 tokens

interface-craft

Raises the visual and interaction quality of an interface — layout, hierarchy, type, spacing, density, and the details that separate a considered product from a generic one. Use this when a screen works but looks unfinished or default, when a layout feels crowded or arbitrary, when a page has no clear focal point, or…

cbrock84/headcount · 79 tokens

interface-redesign

Upgrades an existing interface to a higher standard without rebuilding it — auditing what is there, identifying what reads as generic or unfinished, and sequencing changes by impact. Use this when a product works but looks dated or default, when a redesign is being considered, when deciding whether to restyle or…

cbrock84/headcount · 77 tokens

frontend-patterns

Context enrichment for frontend UI development using shadcn/ui and Tailwind CSS. Use when building component libraries, implementing UI designs, theming, or working with accessible React components.

rsmdt/the-startup · 40 tokens

mui-styling

Material-UI (MUI) styling standards: sx-prop priority, theme tokens, spacing scale, responsive design, and accessibility. TRIGGER when: styling MUI components, defining theme tokens, or building responsive layouts. SKIP: component logic and hooks (use react-patterns); cross-stack UX/design decisions (use…

komluk/scaffolding · 76 tokens

go

Compatibility entry for Visual Stack's former /vstack:go command. Runs the wireframe and UI review tool, now called review. Use only when the user invokes /vstack:go.

Cavalry-Collective/visual-stack · 41 tokens