Viewports

Render a page at every width and report breakage.

By

Raphael Salaja

Price

Free

Viewports is an agent skill by Raphael Salaja that renders one page at a fixed set of widths and heights. It measures each render for sideways scroll, clipped text, small targets and controls that only appear on hover.

What it does

  • Renders at 320, 375, 768, 1024 and 1440, plus 1px on either side of each project breakpoint.
  • Emulates touch below 1024 and checks that hover-only controls have another way to appear.
  • Renders a phone held sideways and checks that dialogs and sheets keep their actions reachable.
  • Doubles the root font size at 1024 to catch overlaps and fixed pixel heights.
  • Returns one screenshot per width with numbered findings that name the width.

When to use it

Your agent runs it after layout changes, and whenever you mention a phone or a specific width.

How to get it

The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills. It needs the page running in a browser your agent can drive with device emulation.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Viewports

Render a page at every width and report breakage.

By

Raphael Salaja

Price

Free

Viewports is an agent skill by Raphael Salaja that renders one page at a fixed set of widths and heights. It measures each render for sideways scroll, clipped text, small targets and controls that only appear on hover.

What it does

  • Renders at 320, 375, 768, 1024 and 1440, plus 1px on either side of each project breakpoint.
  • Emulates touch below 1024 and checks that hover-only controls have another way to appear.
  • Renders a phone held sideways and checks that dialogs and sheets keep their actions reachable.
  • Doubles the root font size at 1024 to catch overlaps and fixed pixel heights.
  • Returns one screenshot per width with numbered findings that name the width.

When to use it

Your agent runs it after layout changes, and whenever you mention a phone or a specific width.

How to get it

The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills. It needs the page running in a browser your agent can drive with device emulation.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.

Viewports

Render a page at every width and report breakage.

By

Raphael Salaja

Price

Free

Viewports is an agent skill by Raphael Salaja that renders one page at a fixed set of widths and heights. It measures each render for sideways scroll, clipped text, small targets and controls that only appear on hover.

What it does

  • Renders at 320, 375, 768, 1024 and 1440, plus 1px on either side of each project breakpoint.
  • Emulates touch below 1024 and checks that hover-only controls have another way to appear.
  • Renders a phone held sideways and checks that dialogs and sheets keep their actions reachable.
  • Doubles the root font size at 1024 to catch overlaps and fixed pixel heights.
  • Returns one screenshot per width with numbered findings that name the width.

When to use it

Your agent runs it after layout changes, and whenever you mention a phone or a specific width.

How to get it

The skill is free on GitHub under the MIT license, in Raphael Salaja's skills repo. Install the set with npx skills add raphaelsalaja/skills. It needs the page running in a browser your agent can drive with device emulation.

more skills

Matt Pocock

Code Review

Matt Pocock

Review a branch against your standards and the spec.

Matt Pocock

Prototype

Matt Pocock

Answer a design question with throwaway code.

Jakub Krehel

Better Typography

Jakub Krehel

Set the type scale, spacing, and wrapping right.

Matt Pocock

Improve Codebase Architecture

Matt Pocock

Find the refactors that make a codebase easier to change.