Check a user-interface change the way users meet it - the journeys it touches, run end to end; screenshots at phone, tablet and desktop widths in light and dark; accessibility; then a look by a fresh pair of eyes. Use when a change touches pages, components, styles or front-end behaviour, on "vérifie l'UI", "fais des captures", "parcours", "is the page right on mobile".
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Ui?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sycatle-senior-mode-64544502)
---
name: ui
description: Check a user-interface change the way users meet it - the journeys it touches, run end to end; screenshots at phone, tablet and desktop widths in light and dark; accessibility; then a look by a fresh pair of eyes. Use when a change touches pages, components, styles or front-end behaviour, on "vérifie l'UI", "fais des captures", "parcours", "is the page right on mobile".
invocation: explicit
---
# UI
Unit tests prove the logic; they do not prove that a person can sign up on a phone in dark mode. A UI is
done when its journeys work in a real browser and it looks right at the sizes people use. Both are cheap
to check and expensive to discover in production.
## Journeys
A journey is a path a user takes to get something done: sign up, pay, find an order. For each journey the
change touches:
1. Write or update one end-to-end test (Playwright, or the project's own tool) through the real UI: what
the user clicks and types, what they must see. Select by role and visible text, as a user and a screen
reader find things, not by CSS class.
2. Run it red first when the journey is new (`tdd`), then green. Done when it passes against the running
app, not a mock of it.
Keep the set small: the journeys that make money or lose users, not every page.
## Screenshots
`senior-mode shots <url>` captures the page at 390, 768 and 1440 pixels wide, light and dark, into
`shots/` (`--full-page` for long pages; `npx playwright install chromium` once if the browser is
missing). Look at every image: overflow, overlap, truncated text, unreadable contrast, a dark theme that
forgot an element. Attach the ones that changed to the pull request. Do not commit them unless the project
keeps visual baselines.
## Accessibility
Keyboard: every action reachable with Tab and Enter, the focus visible, no trap. Names: every control and
image has an accessible name. Contrast: text at 4.5:1 at least. An automated pass (axe in the end-to-end
test, or the browser's audit) catches about a third of the problems; the keyboard pass catches most of
the rest.
## Fresh eyes
The `browser` agent runs the journeys and the shots in a fresh context and reports what a first-time user
would trip on. Where the harness has browser tools (Chrome DevTools, Playwright MCP), it uses them;
otherwise the Playwright CLI. Check each finding before acting on it.