Skip to content
Skills Library
Design & UX · Testing

ui-verification

/ui-verification

Use when a rendered interface looks wrong or must be proven correct: misalignment, overflow, spacing, color, typography, responsive breakpoints, z-index, flicker, layout shift, blank areas, or "it does not match the design". Captures a baseline, measures real geometry with getBoundingClientRect and getComputedStyle, checks console and network, applies the smallest CSS or component change, then re-measures and re-screenshots the same path. Not for backend logic or copy-only edits.

Licence
MIT
Last repository change
11.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 11.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when a rendered interface looks wrong or must be proven correct: misalignment, overflow, spacing, color, typography, responsive breakpoints, z-index, flicker, layout shift, blank areas, or "it does not match the design". Captures a baseline, measures real geometry with getBoundingClientRect and getComputedStyle, checks console and network, applies the smallest CSS or component change, then re-measures and re-screenshots the same path. Not for backend logic or copy-only edits.

Triggers from the description

it does not match the design
Original author description

Use when a rendered interface looks wrong or must be proven correct: misalignment, overflow, spacing, color, typography, responsive breakpoints, z-index, flicker, layout shift, blank areas, or "it does not match the design". Captures a baseline, measures real geometry with getBoundingClientRect and getComputedStyle, checks console and network, applies the smallest CSS or component change, then re-measures and re-screenshots the same path. Not for backend logic or copy-only edits.

How it works

  1. When not to use
  2. 1. Baseline
  3. 2. Measure
  4. 3. Runtime evidence
  5. 4. Locate the layer
  6. 5. Fix
  7. 6. Re-verify
  8. Stop conditions
  9. Output
Original SKILL.md headings · 83 lines, 546 words
SKILL.md preview
---
name: ui-verification
description: Use when a rendered interface looks wrong or must be proven correct: misalignment, overflow, spacing, color, typography, responsive breakpoints, z-index, flicker, layout shift, blank areas, or "it does not match the design". Captures a baseline, measures real geometry with getBoundingClientRect and getComputedStyle, checks console and network, applies the smallest CSS or component change, then re-measures and re-screenshots the same path. Not for backend logic or copy-only edits.
allowed-tools:
  - filesystem-read
  - filesystem-replace_edit
  - grep-search
  - grep-find
  - lsp-diagnostics
  - browser-create
  - browser-navigate
  - browser-click
  - browser-type
  - browser-evaluate
  - browser-screenshot
  - browser-wait
  - browser-devtools
  - todo-todo-manage
  - user-interaction-askUserQuestion
---

# UI Verification

Goal: turn "looks wrong" into a measured difference, fix the layer that causes it, and prove the fix on the same viewport and path. Numbers first, screenshots second, opinions never.

## When not to use

- The defect is backend, storage, IPC or network logic: use `diagnosing-bugs`.
- The change is copy-only or a pure asset swap: edit and verify normally.
- No browser, no running page and no design reference: say what is missing instead of guessing from a screenshot.

## 1. Baseline

- Record the URL, viewport size, device scale and the exact selector that shows the problem.
- Take a screenshot before touching anything; keep the path.
- Reproduce the state: the same interaction, scroll position and data that exposes the issue. A defect that only appears after an async load needs that load in the path.

## 2. Measure

Use `browser-evaluate` and return numbers, not adjectives:

```js
const el = document.querySelector("<selector>");
const r = el.getBoundingClientRect();
const s = getComputedStyle(el);
return {
  rect: { x: r.x, y: r.y, width: r.width, height: r.height },
  overflowX: el.scrollWidth > el.clientWidth,
  display: s.display,
  flex: s.flex,
  gap: s.gap,
  padding: s.padding,
  margin: s.margin,
  position: s.position,
  zIndex: s.zIndex,
  font: s.font,
  lineHeight: s.lineHeight,
};
```

Compare against the design token, the sibling element, or the stated requirement. State which number is wrong and by how much.

## 3. Runtime evidence

- `browser-devtools` `action=console`: new errors or warnings tied to the element.
- `browser-devtools` `action=network`: failed assets, fonts or late data that change layout.
- `browser-devtools` `action=trace`: only when the symptom is flicker, layout shift or a long task, not for static spacing.

## 4. Locate the layer

Pick the first layer that actually disagrees, not the last one you can edit:

- parent layout constraint (flex/grid, fixed height, missing min-width);
- the element's own box (padding, border, width, max-width, overflow);
- the cascade (specificity, order, inherited property, a global reset);
- content (font loading, line wrapping, localized text length, empty state);
- stacking (z-index, transform, portal, overlay).

Read the real stylesheet or component source before editing; do not add `!important` to mask an unknown cascade.

## 5. Fix

- Change the smallest thing that corrects the measured value, in the owning component or stylesheet.
- Do not restyle unrelated elements, reformat the file, or replace a shared component for one screen.
- If the correct fix crosses a shared contract, stop and report the boundary instead of patching locally.

## 6. Re-verify

- Re-measure the same selector with the same script and compare the numbers.
- Re-screenshot at the same viewport and path; keep both screenshots and name them before/after.
- Confirm console and network have no new error introduced by the change.
- Check one adjacent breakpoint when the fix touches layout, not every breakpoint.

## Stop conditions

- The defect cannot be reproduced: report the missing state or data, do not "fix" by eye.
- Browser tools are unavailable: report the limitation; do not claim visual verification.
- The design reference is absent and the expected value is a product decision: ask, do not invent spacing or color.

## Output

URL, viewport, selector, the wrong number and its expected value, the layer, the changed files, before/after screenshots, console and network result, and any breakpoint still unverified.

Versions

RepositoryScoreLicence
This page · BaSui01/snow-app-skills100MIT
mblode/agent-skills100MIT

Database snapshot: 13.11.2026 · package version 6f2a1f086323 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90baseline-ui
    Opinionated UI quality baseline to prevent AI-generated interface slop. USE WHEN building any new UI component, before claiming UI is done, or when output looks generic/AI-template-like. Enforces design quality rules (spacing, typography, color, polish). NOT FOR backend or infra code.
  • 100responsive-ui-verification
    Verify website or app UI changes with comparable renders and task-state checks across screen sizes, locales and input methods. Use for responsive bugs, visual regressions, preserved-design edits or final UI verification; does not imply a redesign.
  • 90screenshot-review
    Diagnoses supplied UI screenshots for hierarchy, spacing, overflow, alignment, and responsive risks and returns a ranked patch plan without editing files. Use when the user shares screenshots or images of a UI to critique. Not for live-browser verification (browser-qa).
  • 95cdp
    Visual verification of a running page through Chrome's DevTools Protocol, capturing screenshots and measuring the rendered DOM. Use when a frontend change can only be confirmed once rendered, for layout, spacing, alignment, overflow, or theme tokens.
  • 100design-build
    Implement or refine frontend visual design, CSS, layout, typography, color tokens, and component states. Use when creating or styling an interface.
  • 100web-interface
    UI review and audit — Vercel Web Interface Guidelines, copywriting, typography detail, contrast, touch targets, safe areas. Use when auditing or polishing existing UI rather than building new — design review, accessibility audit, copy review, typography and contrast passes,…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.