Run app

From Esposter/Esposter · View interactive version

Run app is an AI agent skill from the GitHub repository Esposter/Esposter. Apply when tempted to screenshot a page, drive the running app, or decide what proves a layout, drag, remount or dialog change works. Esposter — how a UI change is verified: a browser the agent drives, once after the edits, over a claim no test reaches; no committed app screenshot suite (rejected: a

How to use this skill

Skill file

Verifying a UI Change

Typecheck cannot see layout, so the question of what proves a visual change is real comes up on every one. The answer here is a browser an agent drives, once, after the edits, and only for a claim a test cannot reach — never inside the edit loop.

Settled — do not re-propose

Genshin parity

A Genshin screen is compared with the game by pnpm -C scripts genshin:parity compare, which drives the machine's own Edge against the world package's parity page on plain Vite, never the app. It costs seconds, not a Nuxt build, and the user asked for it so the agent checks its own screens. The genshin-parity skill owns it.

A browser never runs inside the edit loop

No headless Chrome, no CDP, no screenshot after each edit, no poll loop for async components. A dev server, a client-bundle warmup and a seeded session cost more wall clock than the edit, and inside the loop that wait is paid on every iteration. So while the change is being made: make it, run the check suite (the package-scripts skill, references/check-suite.md), and move on.

What replaces it

  1. For a styling change, generate the CSS and read it — a form that generates nothing is the finding (references/css-generation.md).
  2. A component test, when it is cheap. If the behaviour mounts under the repo's default Vitest setup and the assertions are about rendered structure or state a user depends on, write one — testing owns the conventions.
  3. Otherwise nothing, and say so. A component test that only exists after mocking a large surface — a store graph, the tRPC client, a third-party component's internals, a browser API per assertion — is not worth its weight: it pins the mocks rather than the component, and it is the maintenance the next change pays. Not adding the test is the correct outcome there and needs no apology.
  4. A driven browser, once, after the edits, when the claim is one no test reaches: hit-testing, drag and drop, a second visit to a page, a Phaser or three.js lifecycle (references/driven-browser.md).
  5. A layout claim no test and no driven browser reaches stays unverified, and the report says so. Nothing is handed to the user to look at: nobody checks a layout by hand, so a look you did not take is never claimed.

Never report a visual change as verified on the strength of typecheck, lint or a passing suite. Say which of the steps above happened.

Launching the dev server (for the user, not for a driver)

pnpm dev --port 3001 from apps/web, since port 3000 is the user's; the lock, the bind address and the temp-script hazard are in references/dev-server.md.

Reference pages

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.