/super-board:ui-refine-loop <route | component path | description> ["<what's wrong / what we want>"] [--rounds N] [screenshot paths…]from super-board
Runs an unattended loop of Impeccable critique, audit, and fix commands on a UI page or component. Chains fresh checkers and fixers per round, commits green results, and ends with a draft PR and Before|After table.
Ships in super-board. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Impeccable's critique and audit find problems once, and each fix command (distill, layout, polish, and the rest) fixes one kind once. This skill chains them into a short unattended loop. Each round, fresh checkers find and rank the problems, then a fresh fixer picks the right Impeccable commands and lands one green commit. A short ledger is the only thing carried between rounds, because a checker that watched the last edits grades the intent, not the pixels.
/ui-refine-loop /dashboard/reports "the summary strip feels cramped"
/ui-refine-loop src/components/ReceiptViewer.tsx "mobile layout breaks under 400px" --rounds 3
/ui-refine-loop "the billing page plan cards" "too loud, make it calmer" ~/Desktop/billing.png
Rounds default to 5. Impeccable advises bounded passes; asking for more than 8 gets a one-line warning about cost and diminishing returns. In the paths below, <main> is this checkout, <wt> is the refine worktree, <run> is its run dir, and <skill> is this skill's folder.
It is standalone: only a person starts it, with /ui-refine-loop <where>. The super-board lanes never run it. It works on its own refine/<slug> branch from HEAD and ends with finish grades and a draft PR for human review. It never merges.
The prompt names where: a route, a component path or a description. Turn it into a route to screenshot and the scope paths the fixer may edit:
app/**/page.*, pages/**, src/routes/**, or whatever the framework uses), plus the component folders it imports.Then read that code area before asking anything: the page, the components it renders, the shared UI it uses, the tokens and theme (including how dark mode works), and PRODUCT.md / DESIGN.md if they exist. Write a one-paragraph context for the sub-agents: what the surface does, its components, its tokens, its dark-mode mechanism. Use a sub-agent for this if it spans many files.
If two readings of the target are plausible, or target files are dirty in <main> (the worktree branches from HEAD, so uncommitted edits won't be in it), make that the grill's first question.
Follow references/grill.md, which uses the grilling skill's pattern: numbered questions with your recommended answer under each, asked in waves. Wave 1 is 3 questions; later waves come only if needed, and the total is 10 at most. "You pick" accepts your recommendation. Don't ask what the code or an existing taste file already answers. Keep the answers for step 3.4.
bash <skill>/scripts/refine-setup.sh detect. It resolves the dev command, checks, env files, auth script, data states, taste file and Impeccable install from the super-board config's refine block, then package.json, then defaults (references/config.md). If devCommand is null, ask once (and suggest saving it as refine.dev_command).impeccable field is {layout, skillDir, version, detect, context} or null. It handles both installs: v4.4+ ships a launcher (scripts/impeccable detect --json, scripts/impeccable context), and v4.0.x ships Node scripts (node scripts/detect.mjs --json, node scripts/context.mjs). It searches .claude/skills/impeccable and .agents/skills/impeccable in this directory and every parent, then ~. If warnings is non-empty, show them to the user now, verbatim. With no Impeccable, the loop runs on references/rubric.md, the result carries degraded, and the PR says so. It is never silent.slug is the route or file in kebab-case.
bash <skill>/scripts/refine-setup.sh up --slug <slug>
This creates <wt> = .claude/worktrees/refine-<slug> on branch refine/<slug>, with <run> = <wt>.run beside it, so shots, auth state and logs never reach a commit. It records the base sha and base branch. It gives the worktree a node_modules: an APFS clone, else a reflink copy, else a frozen-lockfile install. It copies the env files, starts the dev server on a free port, and waits for ready_path. Exit 69 means the server never came up: read <run>/dev.log, fix it once, or tell the user. If the app can't run but the target has a story, set refine.dev_command to Storybook with --port $PORT --ci --no-open; the route becomes /iframe.html?id=<story-id>&viewMode=story.<wt>/<tasteFile> as references/grill.md § Output describes (from the neutral references/taste.md if the project has none), and commit it: 💄 [ui] <slug>: taste and direction.cd <wt> && <impeccable.context> --target <page or component file> once and fold its directives into the context paragraph.refine.states, default main; never invent a dense dataset):
cd <wt> && node <skill>/scripts/shoot.mjs --base <baseUrl> --route <route> --out <run>/shots --label round-0 \
--states '<states JSON from detect>' [--auth <authScript>] [--env <first env file>]
scripts/shoot.mjs writes <label>-<state>-<desktop|mobile>-<light|dark>.png at 1440 and 390, grown to the inner scroll height, plus light-theme section crops (…-s<i>.png, from [data-refine-section] or main's sections). With --compare round-0, later rounds also get before | after sheets (cmp-…png). Read every image. A sign-in page or an error overlay means setup isn't done. Playwright must resolve from <wt>; if it doesn't, run npx playwright install chromium there.Call the Workflow tool with scriptPath: .claude/workflows/ui-refine-loop.js and the args its header documents: slug, target, scope, the brief verbatim, rounds, the absolute worktree/run/skill paths, critic and impeccable (detect's object, as-is), tasteFile (<wt>/<tasteFile>), checks, shootCmd (the step 3.6 command without --label), baseUrl, route, the context paragraph, the round-0 shots (every path printed), the user's screenshots, and detect's warnings. Invoking this skill is the user's opt-in to that workflow.
Each round:
references/checker-brief.md.references/routing.md: cluttered → distill, bland → bolder, too loud → quieter, dull color → colorize, spacing/hierarchy → layout, type → typeset, mobile → adapt, slow → optimize, empty/first-run → onboard, confusing copy → clarify, edge cases and a11y → harden, motion → animate, personality → delight, drift or 3+ copies → extract), chains them, and always runs polish last. It keeps the checks green or reverts, makes one commit, and takes AFTER shots with --compare round-0. See references/fixer-brief.md.The workflow appends a ledger line per check. The score is visual quality /40 (design /20 + audit /20) plus before/after (better/same/worse); Nielsen heuristics are not used. After the last fix round, a closing check scores the final state.
Stop rules, whichever comes first:
Finish review. A fresh finish reviewer grades every claimed fix fixed, partial or not-fixed against round-0 vs final shots, and names up to three regressions (references/finish-reviewer-brief.md).
Workflow tool not exposed? Run the same loop by hand with the Agent tool: one fresh general-purpose agent per role (design reviewer and detector in parallel, then checker, then fixer, then finish reviewer). Give each its brief and the inputs the script's prompts carry, never another agent's transcript. You keep the ledger and apply the same stop rules.
Budget. A round is four sub-agents, with at most two at once (design reviewer and detector; only the reviewer may open a browser). Expect about 350–500k tokens and 15–25 minutes per round, so the default 5 rounds come to roughly 2–2.5M.
<run>/ledger.md, then bash <skill>/scripts/refine-setup.sh down --run <run>.bash <skill>/scripts/pr-shots.sh --worktree <wt> --run <run> --slug <slug> --final <finalLabel>
It copies round-0 and the final round's main shots (1440 and 390, light and dark) to <wt>/docs/ui-refine/<slug>/, commits them, and prints a Before | After markdown table whose images are https://github.com/<owner>/<repo>/raw/<sha>/… links. Never upload shots to a public image host.git -C <wt> push -u origin refine/<slug>. Never push to the base branch..claude/skills/super-board/references/writing-standard.md § 2 (super-board-pr-body.sh --skeleton prints them): status > [!NOTE] draft · check count · head sha (> [!WARNING] when degraded); problem the target and the brief, one line each, plus any warnings; solution the score line (C1 22/40 → C2 27/40 (better) → …) and one plain bullet per fixed problem; ac the finish grades as a checklist, one proof line each (id · severity · grade · evidence; unchecked = still open, with why — including any problem open after three checks and each open question); history one row per check from the ledger (Lane 🎨 refine, Done, local time, the commit); visual the Before | After table; risk 🟢/🟡/🔴 + one line from the regressions and the disposition, and that the shots live in docs/ui-refine/<slug>/ (drop that commit before merging if unwanted; the links are pinned to a sha and keep working). Title in commit-subject format: 💄 [ui] <slug>: <what got better>.humanizer skill. Without it: short sentences, plain words, no hype, no em-dash chains, no "this PR aims to", and say what changed and why.$(cat <run>/base-branch): gh pr create --draft --base <base-branch> --head refine/<slug> --title "…" --body-file <run>/pr.md.refine/<slug>, for the draft PR. Never touch <main>'s working tree during the loop.README.md (opens in a new tab)references/checker-brief.md (opens in a new tab)references/config.md (opens in a new tab)references/finish-reviewer-brief.md (opens in a new tab)references/fixer-brief.md (opens in a new tab)references/grill.md (opens in a new tab)references/ledger.md (opens in a new tab)references/routing.md (opens in a new tab)references/rubric.md (opens in a new tab)references/taste.md (opens in a new tab)scripts/pr-shots.sh (opens in a new tab)scripts/refine-setup.sh (opens in a new tab)scripts/shoot.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
impeccable, ui-review, automatic-refinement, design-qa, pr-draft
npx claudepluginhub minhquang3101-dotcom/sefl_coding --plugin super-board8 skills in this plugin
/git-syncSync the current branch in one pass — commit the working tree as one commit per logical change (in the host repo's commit format, or the super-board writing standard), gate Supabase schema changes, merge-pull, resolve conflicts hunk by hunk, then push without force. Use when the user runs /git-sync or says "git-sync", "sync", "commit and push", "pull and push", or "sync my branch"./super-boardGitHub-Project-driven autonomous pipeline. Five verbs — onboard, lint, status, run, stop — that take a Project board from empty to drained across Build → QA → Review → Done lanes (labels qa · bug · feature route each card), with graceful shutdown / resume. Use when the user says "super-board", "/super-board", "drain my GitHub project", "set up the autonomous loop", "kick off the headless build/QA pipeline", or "stop super-board"./super-buildBuilder lane of the super-board pipeline — takes a `Ready` GitHub Project card into its own per-issue git worktree, makes the smallest safe change test-first (TDD, `ponytail` simplest-first, official docs first for third-party APIs, upgrades and auth/billing), opens a draft PR and hands it to QA and Review through the board; it never merges — merges go through the Reviewer's merge gate. Inside `super-board run` it runs as a lane agent in the in-session wave workflow (`workflows/super-board-wave.js`, no worker cap unless `max_workers` is set); standalone headless `claude -p` dispatch is legacy opt-in. Use when the user says "Super Build", "run the build loop", "/super-build", or invokes the skill./super-collectFind problems in one project and file them as tickets into its super-board Backlog — the board fixes them. Source plug-ins - sentry (app errors), posthog (exceptions, rage/dead clicks, failure events, web vitals, tracking gaps), github (issues not on the board), prs (recurring problems in merged PRs and their review comments), architecture (refactor findings), plus any custom source added in onboard (an MCP server, HTTP API, CLI command or app). Each candidate is checked by one fresh verifier before filing. Dry-run by default. Use when the user says "super-collect", "/super-collect", "/super-collect sentry", "collect tickets", "triage errors onto the board", "what keeps breaking", or "find refactors"./super-qaSuper QA canonical workflow for functional bug-bash, evidence capture, and fix-ready issue filing. Crawls routes from `docs/super-qa/queue.md` with Playwright, records screenshots/logs/HARs, files product-readable issues with clear type/priority/area labels, and continues until traversal is complete or only human-gated blockers remain. Crawling is always browser-driven, but the regression test it leaves behind is written at whichever layer the defect actually lives — unit or integration in Vitest, e2e in Playwright only when the browser is the thing that broke. Use when the user says "run super-qa", "QA review", "bug bash", "verify and fix", or invokes `/super-qa`./super-reviewReviewer lane of the super-board pipeline and standalone PR/branch readiness review — forms its own hypotheses before reading the builder's summary, remembers prior findings and re-checks each with file:line proof, runs an adversarial truth-check on non-trivial diffs, and classes every finding (Gap, Bug, Verification miss, Scope drift, Over-engineering via `ponytail:ponytail-review`). Merges only through `super-board-merge-gate.sh`, pinned to the reviewed head SHA, and routes other fixes to Super Build or Super QA via the board. Use when the user says "Super Review", "review this branch", "review loop", "make sure this is merge-ready", "PR review", or asks for code, architecture, security, QA evidence, or release-readiness judgment.3 plugins ship this exact skill · first indexed Oct 7, 2026
Other plugins' skills for the same job