Jakob Christensen / Agent Skills

/measure-ui

Checks a web page with measured numbers instead of by eye

Featured in Case #001: A Study in Tokens

A layout can look fine in one screenshot and still overflow on a phone, or break when you switch to another tab and back.

This skill has the agent set the browser window size (the viewport) first and read sizes and positions from the running page as numbers. It then switches between items such as tabs or list entries in more than one order and reports what it did not check.

It needs a real browser. If that browser cannot run JavaScript, the agent can only read numbers off screenshots and marks everything else as not checked. It never signs in and never changes data.

Start it with /measure-ui, or ask whether a layout works on a phone.

Download SKILL.md Read SKILL.md

When the agent uses it

Checks the layout and behavior of a web page in a real browser with measured numbers instead of judging by eye. Sets the viewport first, reports element sizes and positions as numbers, switches between items in more than one order, and keeps one tab open for before and after comparisons. Use it after a visual, CSS or interaction change to a page, when the user reports alignment, spacing, overflow, responsive or mobile problems or says something looks off, asks whether a layout works, or before declaring a UI change done or a page correct. It uses DOM numbers, not screenshots alone. Not for unit tests (they do no layout), backend-only or API changes, code review without a rendered page, or an environment without browser access.

Install

Download the skill, drag it into your AI's chat and write "Install this skill."