ui-quality-loop

ui-quality-loop is a skill for Claude Code from sukirman1901/frontend-expert. It costs 112 tokens per session (1,644 once invoked), scanned A, original, MIT.

A workflow for repeatedly building, testing, reviewing, and fixing a web interface until its quality checks pass. It coordinates implementation, frontend tests, and design review.

In plain words
What is it for?
Use it when polishing a UI, fixing audit findings, or making a page pass quality checks. It covers judgment, implementation, testing, responsive checks, accessibility, and design review.
Why use it?
It gives UI work a repeatable way to address serious problems instead of stopping after the first implementation. The loop continues until critical and high-priority findings are cleared or the iteration limit is reached.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the frontend-expert plugin — 25 skills, 5 commands, 3 agents, 2 hooks shipped together

Good fit Use it when polishing a UI, fixing audit findings, or making a page pass quality checks. It covers judgment, implementation, testing, responsive checks, accessibility, and design review.

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

Made for: Claude Code.

Or install frontend-expert, the plugin that ships this one along with the rest of its 25 skills, 5 commands, 3 agents, 2 hooks.

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-quality-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/sukirman1901/frontend-expert/ui-quality-loop.svg)](https://agentmods.dev/skills/sukirman1901/frontend-expert/ui-quality-loop)
Your own site
<a href="https://agentmods.dev/skills/sukirman1901/frontend-expert/ui-quality-loop"><img src="https://agentmods.dev/badge/skills/sukirman1901/frontend-expert/ui-quality-loop.svg" alt="Measured on agentmods" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,644 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
  • NVIDIA SkillSpector pass 7 Sept 2026
SkillSpector: 1 finding, up to low

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • low Excessive Agency · line 100
    Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.
    Fix: Limit the skill's scope to its documented purpose. Remove instructions that enable the agent to perform actions outside its stated functionality.
How audits are shown
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.00112 $0.01644
Opus 5 $0.00056 $0.00822
Sonnet 5 $0.00022 $0.00329
Haiku 4.5 $0.00011 $0.00164

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

Security

Grade A, and why

ui-quality-loop 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 7d 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.

skills/ui-quality-loop/SKILL.md · 147 lines

How it starts

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

UI Quality Loop

Overview

Run a tight quality loop until the UI clears gates (or hit the iteration cap). This is the pack’s mini lifecycle — not full /spec/ship, but build → prove → audit → fix until it’s good.

JUDGE* → BUILD → TEST → AUDIT ──Critical/High──▶ FIX ──▶ TEST → AUDIT …
                         │
                       PASS → DONE

* Judgment only on blank-canvas / first pass (see frontend-judgment skip rules).

When to use

  • User asks to polish, rapihin, “sampai lulus audit”, “UI bagus dulu baru selesai”
  • /polish or natural language equivalent
  • After a /design//audit with Critical/High findings and user wants them cleared

When to skip

  • Single-line copy/token tweak with no quality ask
  • Pure audit with no fix permission (“audit saja”)
  • User said stop / “cukup” / accepted remaining Medium/Low

Agents (orchestrate — do not nest personas forever)

Step Agent
Judgment + build + fix ui-developer
Test test-engineer
Audit design-reviewer

You (the session agent) are the loop controller. Personas do not call each other; you invoke their workflows in sequence.

Gates (pass / fail)

Gate Pass when
Anti-slop No Critical/High AI-aesthetic findings
UI feel No Critical/High craft issues on touched UI (concentric radius, hit overlap, transition: all, broken press/enter)
Tokens No Critical/High raw-hex / off-token issues; greenfield pack preset used decision tree + Token score / (explicit) / (hard-gate) / project system in Conventions check
Responsive Conventions Responsive line present; full-width primary CTA <768; no Critical/High desktop-only layout on greenfield (320–1440)
Hierarchy Hierarchy pass (one primary focus + one primary CTA) or waiver for tiny tweaks
Typography One h1/page + sequential ladder (or waiver)
Motion Shell light defaults or named families/patterns from motion-families.md; no decorative spam; reduced-motion; hand-roll (not registry default)
Shell Theme in topbar; avatar → account menu; custom selects (or waivers) on dashboards
Landing Marketing section stack via marketing-landing (not hero-only; hand-roll) — or n/a for app-shell-only
A11y No Critical keyboard/label/contrast findings (potential or measured)
States Loading/error/empty handled for interactive surfaces touched
Tests Planned critical cases green, or explicit waiver if no test runner / out of scope (document why)
Perf (soft) No Critical obvious LCP/CLS footguns in touched UI; else note as remaining

Read the full file on GitHub · 147 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. 7d ago First seen · 147 lines · 112 tokens per session scan A d9f6d796dce8

Subscribe to this mod's changes

ui-quality-loop is a skill published in the GitHub repository sukirman1901/frontend-expert (10 stars, last pushed 4d ago), licensed MIT. It adds 112 tokens to every session and 1,644 once invoked, about $0.0006 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

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 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

ue-component-model

Create or edit the Universal Editor component configuration (component-definition.json, component-models.json, component-filters.json) for AEM Edge Delivery Services blocks. Use this skill whenever the user mentions component models, component definitions, component filters, block configuration for the Universal…

adobe/skills · 140 tokens