Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

reviewing-interface-quality

БесплатноБез исполняемых скриптовНе проверен

Use when asked to review, critique, audit, or improve an existing user interface — "review this UI", "why does this look generic", "make this more polished"…

osmonteroот osmontero★ 18 звёзд на GitHub

Об этом скилле

Reviewing Interface Quality

Overview

"Make it look better" is not actionable. Interface quality problems have specific causes — an unenforced spacing scale, hierarchy varying on four dimensions at once, a state that was never designed — and a review is only useful if it names the cause and the fix.

Core principle: Every finding names a location, a cause, and a concrete replacement value. "The spacing feels off" is not a finding. ".card uses padding: 14px while everything else uses the 8px scale — change to var(--space-s)" is.

Companion skills: designing-frontend-interfaces (visual), designing-user-experience (behavior), building-accessible-interfaces (access). This skill audits against all three.

The Iron Law

NO FINDING WITHOUT EVIDENCE YOU ACTUALLY GATHERED

Reviewing an interface means looking at it. Reading the source and inferring how it renders is not a review — it misses exactly the class of defect a review exists to catch: overflow, collapsed layouts, invisible text, layout shift, broken states.

Minimum evidence before writing a single finding: the first-view and full-page shots at 1440px, the full-page shot at 390px, a focus shot, and the computed values for anything you are about to call inconsistent. Dark, empty, loading, and error shots are required for any UI that claims to support them — a state you did not capture is a state you did not review.

Checklist

  1. Gather evidence — the full shot list (first-view, full, mobile, dark, empty, loading, error, focus), plus DOM and computed styles
  2. First impression — 5 seconds, before analysis
  3. System consistency — the highest-yield pass
  4. AI-generated tells — the accumulation count
  5. App-mode pass — only if the mode is app
  6. Typography
  7. Layout and responsive
  8. States and behavior
  9. Accessibility
  10. Motion and performance
  11. Report — severity-graded, each with location, cause, fix

Step 1: Gather Evidence

The shot list

Capture these — the two happy-path shots are the minimum, the rest are what make the review real:

# Shot Size / state Purpose
1 First-view 1440×900, viewport only, not full-page The 5-second pass (Step 2) — what a user actually sees before scrolling
2 Full page 1440, full_page=True Structure, rhythm, section spacing, orphaned words
3 Mobile 390×844, full page Collapse, overlap, legibility without pinch
4 Dark mode 1440, prefers-color-scheme: dark emulated Contrast in both schemes, elevation by lightness
5 Empty 1440, first-use state (cleared data) Was the empty state designed?
6 Loading 1440, during a real delayed fetch Skeleton shape, no blank screen, no layout shift
7 Error 1440, a failed request (route aborted / network offline) Recovery affordance, copy quality
8 Focus 1440, keyboard: Tab 3-5 times Ring visible at every stop, order matches visual

Minimum viable review: shots 1, 2, 3, 8. A review that never captured 4-7 is asserting the states exist without having seen them — mark any state finding from those UNVERIFIED, not CONFIRMED.

Capture hygiene

from playwright.sync_api import sync_playwright

URL = "http://localhost:5173"   # or file:///abs/path/index.html
S = {}  # shots go here, named per the list

with sync_playwright() as p:
    b = p.chromium.launch()
    # device_scale_factor=2 — 1x text is unreadable in review; 2x is the floor
    pg = b.new_page(viewport={"width": 1440, "height": 900}, device_scale_factor=2)
    errors = []
    pg.on("console", lambda m: m.type == "error" and errors.append(m.text))

    def shot(name, full_page=False, **kwargs):
        # Fonts first — a screenshot before fonts load reviews the fallback, not the design
        pg.evaluate("document.fonts.ready")
        pg.wait_for_timeout(250)   # let any reveal animations settle
        pg.screenshot(path=f"/tmp/rev-{name}.png", full_page=full_page, **kwargs)
        S[name] = True

    pg.goto(URL); pg.wait_for_load_state("networkidle")
    shot("firstview")                      # 1 — viewport only
    shot("fullpage", full_page=True)       # 2

    # 3 — mobile
    pg.set_viewport_size({"width": 390, "height": 844})
    shot("mobile", full_page=True)
    pg.set_viewport_size({"width": 1440, "height": 900})

    # 4 — dark (emulate; for a manual-toggle app, click the toggle instead)
    pg.emulate_media(color_scheme="dark"); shot("dark")
    pg.emulate_media(color_scheme=None)

    # 5 — empty: clear the store / use a clean profile so the first-use state renders
    # 6 — loading: start a slow fetch (or throttle 2500ms in devtools) and shoot mid-load
    # 7 — error: abort the route, or context.set_offline(True) before the fetch
    # 8 — focus: pg.keyboard.press("Tab") ×4, then shot("focus")

    # Horizontal overflow — always a bug
    print("OVERFLOW:", pg.evaluate("""()
Полный SKILL.md на GitHub

Установить reviewing-interface-quality в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл reviewing-interface-quality?

Use when asked to review, critique, audit, or improve an existing user interface — "review this UI", "why does this look generic", "make this more polished", "design feedback", "does this look AI-generated", "audit this page". Also use as the final gate before shipping any frontend work, and when a UI renders correctly but feels unfinished, cheap, or inconsistent without an obvious cause.

Как установить скилл reviewing-interface-quality?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл reviewing-interface-quality запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить reviewing-interface-quality с