/olko-product:ux-ui-audit-loopfrom olko-product
Audit and improve a web UI in a browser through evidence-backed capture, severity triage, minimal code fixes, and before/after verification across responsive and interaction states. Use when the user says "audit this UI", "fix the UX", "review this page visually", "make this page polished", or asks for an autonomous screenshot-and-fix loop.
Ships in olko-product. 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.
None: SKILL.md is the whole skill.
Inspect a real user journey in a browser, fix only evidenced problems, and prove the result in the same states and viewports. This is an implementation loop, not a screenshot critique.
Resolve these from the request and repository. Ask only when a missing value prevents safe execution.
| Input | Default |
|---|---|
| Target | URL or route named by the user |
| Scope | One page and its primary journey |
| Viewports | 1440x900 desktop and 390x844 mobile |
| Maximum rounds | 3 |
| Fix threshold | medium |
| Theme | Current default; test both themes only when the page supports them and theme is in scope |
| Artifacts | Existing project artifact directory, otherwise an OS temporary directory |
Accepted severities are high, medium, and low. A round is one baseline capture, one coherent fix batch, and one verification capture.
Inspect the repository:
Define the scoped journey in one sentence, for example: "A signed-out visitor opens pricing, compares plans, and starts checkout."
Define the state matrix before capture:
| State | Desktop | Mobile |
|---|---|---|
| Initial render | required | required |
| Primary interaction | required when interactive | required when interactive |
| Validation or error | required when safely reachable | required when safely reachable |
| Loading, empty, success | test states relevant to the journey when safely reachable | same |
Confirm prerequisites:
If authentication, destructive actions, paid actions, unavailable fixtures, or missing browser control blocks the journey, stop that branch and report the exact blocker. For authenticated audits, require explicit consent, a disposable least-privilege test account, and a fresh dedicated browser context or profile; allow session continuity only within that isolated context and stop when the boundary cannot be established. Continue with unaffected states when they still provide useful evidence.
For every scoped state and viewport:
networkidle alone because polling and analytics may never become idle.Prefer deterministic local or preview environments. Never mutate production data to manufacture an audit state.
Create one ledger for the whole run. Keep each ID stable across rounds.
ID: UX-01
Severity: high | medium | low
State: route + viewport + interaction state
Evidence: screenshot, DOM, console, network, or accessibility result
Impact: concrete user consequence
Root cause: owning component or style when known
Fix: smallest reliable change
Status: open | fixed | accepted | blocked | not-reproduced
Use this severity rubric:
high: blocks the primary journey, hides critical content or controls, causes destructive confusion, or makes the journey unusable for keyboard or assistive technology users.medium: materially slows or confuses the journey, creates responsive overflow or overlap, weakens hierarchy or affordance enough to cause mistakes, or violates an important accessibility expectation.low: polish issue with limited task impact, such as minor spacing, alignment, or visual consistency.A finding is valid only when the evidence supports the impact. Merge duplicate symptoms that share one root cause. Keep subjective alternatives out of the ledger unless the user asked for art direction.
Audit these dimensions when relevant:
Pause for a user decision only when the fix would materially change brand direction, product behavior, information architecture, user-authored content, or production state. Record the blocked finding and continue with independent safe fixes.
Recreate every state touched by the fix at every scoped viewport.
fixed only with after evidencenot-reproduced when the baseline cannot be recreated, with the attempted stepsblocked when a prerequisite remains unavailableaccepted only when the user explicitly accepts it or it is below threshold and documentedRun another round when all are true:
Stop successfully only when:
Otherwise stop at the round limit or blocker and report the remaining ledger honestly. "Three rounds completed" is not equivalent to "clean."
ux-ui-audit-loop-<run-id> and report the absolute path.<artifact-directory>/ux-ui-audit-report.md before the final response. The report is mandatory even when no fix is made.round-01-before-mobile-form-error.png..gitignore, or delete user artifacts unless requested.The report must be human-readable without inspecting tool logs. For every scoped state and viewport, include:
not-reproduced, accepted, or blocked explanationsUse this minimum comparison shape:
## Before / After
| State | Viewport | Before | After | What changed |
|---|---:|---|---|---|
| Initial render | 390x844 | [before](round-01-before-mobile.png) | [after](round-01-after-mobile.png) | Mobile toolbar no longer clips labels; content width remains unchanged. |
### Initial render — 390x844
| Before | After |
|---|---|
|  |  |
If a screenshot cannot be captured, mark that pair NOT_CAPTURED with the exact blocker; never imply a visual comparison was completed.
Return a concise report with:
UX/UI AUDIT RESULT
Scope: <route and journey>
Rounds: <completed>/<maximum>
Result: CLEAN | IMPROVED_WITH_REMAINDERS | BLOCKED
FIXED
UX-01 high: <impact and change> | evidence: <before> -> <after>
REMAINING
UX-04 medium blocked: <reason and smallest next action>
CHANGED
<file>: <purpose>
VERIFICATION
<command or browser check>: PASS | FAIL | NOT_RUN
ARTIFACTS
<absolute artifact directory>
REPORT
<absolute path to ux-ui-audit-report.md>
Use CLEAN only when the successful stop conditions are met. Separate browser evidence, automated tests, deployment state, and human design acceptance. Recommend one smallest next action for every blocker or remainder.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
8 skills in this plugin
/claim-evidence-regressionHarden extracted-claim validation with literal evidence and paired regressions so negation and unrelated wording cannot establish a claim./frontend-directionChoose a distinctive, coherent visual direction and source-backed components before building a new frontend, page, or substantial UI redesign. Use for frontend implementation and requests to make an interface less generic; keep small fixes within the existing design./ingest-publication-sliceBuild and verify a small end-to-end publication path for validated ingested data, including atomic persistence, read fallback, and static artifact precedence.npx claudepluginhub oleg-koval/agent-skills --plugin olko-product