Skip to content
AI Primer
workflow

Emil Kowalski releases agent workflow for polishing web apps

Emil Kowalski released a workflow for agents to improve web apps’ mobile usability, layout stability and animation. Its pages now provide one agent instruction instead of prompts users must copy individually.

4 min read
Emil Kowalski releases agent workflow for polishing web apps
Emil Kowalski releases agent workflow for polishing web apps

TL;DR

  • A new five-skill workflow polishes web apps’ layouts, mobile behavior and motion, according to the launch announcement.
  • Workflow pages now offer one agent instruction instead of prompts copied individually, as explained in the follow-up.
  • Layout-shift testing includes slow connections, interaction checks and before-and-after videos, following the original testing prompt.

The workflow page asks the agent to leave behind a dev-only “Demo data / Worst case” toggle. Its layout-shift checks deliberately disable cache, exposing jumps that a warmed-up browser can hide.

Five ordered passes

Emil Kowalski, whose interface work includes Linear and Vercel, released Polish Your Product as an ordered sequence:

  1. /break-ui: Stress-test layouts with data such as long names, empty lists and huge counts. Produce a report with fixes for broken areas.
  2. /fix-layout-shift: Find and fix content that jumps during loading or after an interaction.
  3. /mobile-native: Address phone-browser quirks and flag anything needing real-device testing.
  4. /review-animations: Check easing, duration, origin, interruption and reduced-motion behavior. Explain what needs changing.
  5. /emil-design-eng: Review remaining details, including press states, tooltip delays and alignment. Present changes in a Before, After and Why table.

The workflow can cover the whole app or a single screen. Its page also proposes running it as a weekly polish loop.

One instruction for the full chain

The page’s combined prompt explicitly requires each skill’s fixes to land before the next begins:

The skills are available from the MIT-licensed GitHub repository, with this installation command:

Layout shifts and video proof

Kowalski expanded his testing prompt into the /fix-layout-shift skill. The before-and-after recordings are the standout feature.

The audit’s instructions cover:

  • Loading conditions: Slow connections at both mobile and desktop widths.
  • Interaction: Click through main flows to catch shifts beyond the initial load.
  • Root causes: Reserve space, set dimensions, match font fallbacks, use tabular-nums, and size skeletons to their eventual content.
  • Deliverables: Record every shift, the elements that moved, and before-and-after video for each fix.

The layout-shift skill demonstration

Kowalski also praised a user’s before-and-after screenshots in the workflow’s launch replies.

Mobile web and the iOS caveat

The mobile pass addresses three specific irritations named on the workflow page:

  • Inputs that zoom the page.
  • Content disappearing beneath the home indicator.
  • Hover states that stick on touch devices.

The workflow primarily targets web apps, including browsing on touch devices, as Kowalski clarified in a reply. He hasn’t tested his skills on iOS apps and described other people’s positive results as anecdotal.

For Expo and React Native, he pointed to a separate Animate Expo skill, whose instructions favor native platform primitives and UI-thread animation with Reanimated.

Small prompts between passes

Kowalski’s own refinement prompts are mostly short: more than 60% were under 80 characters in his review. His examples included:

  • “make the font 500”
  • “can we make it wider”
  • “why so much space at the top”
  • “reduce gradient opacity by 20%”

He also said newer models were generally good enough, with model choice making relatively little difference in his experience.

Reusable design rules

Kowalski pointed readers to Learn Taste in a reply about his workflows. This separate skill captures corrections from a design session for future agents:

  • Finds file edits, repeated nudges and reverted changes.
  • Generalizes a correction on one component into a rule for similar components.
  • Proposes a rationale when none was stated and asks for confirmation.
  • Writes rules into DESIGN.md, or suggests a lint rule when an automated check would catch the mistake more reliably.

Further reading

Discussion across the web

Where this story is being discussed, in original context.

On X· 5 threads
TL;DR1 post
Layout shifts and video proof4 posts
Mobile web and the iOS caveat2 posts
Small prompts between passes1 post
Reusable design rules1 post
Share on X