Skip to content
Back to skills

Ui

ASecurity

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".

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
developmentgo

Works with

  • cli
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 2, 2026

npx -y skills add Sycatle/senior-mode --skill ui --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ui?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ui
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sycatle-senior-mode-senior-mode/badge)](https://www.skillsdirectory.com/skills/sycatle-senior-mode-senior-mode)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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".
---

# 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.

Files in this skill

  • SKILL.md2.3 KB
  • agents/openai.yaml43 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.