Screenwright

Paints one self-contained HTML surface (page, mobile screen, or component) to a brand spec, then SEES it: renders via the Playwright MCP, screenshots, runs an axe-core accessibility audit, critiques fidelity, and fixes in a bounded loop until it passes — then hands the verified HTML back for conversion to a real stack. Triggers when the user or an agent mid-build wants a UI surface built or fixed with the render actually checked: "build this screen", "paint a component", "match this mockup", "fix this UI", "make this accessible", "the layout looks off", "screenwright this". Resolves brand from a DESIGN.md, or bootstraps one from the repo / a template / a described vibe. Does NOT trigger for: multi-page flows, routing, or full app builds; framework/stack conversion (it outputs portable HTML for the host to port); pure copywriting (use ghostwriter); brand-identity or logo work (use brand-workshop); pixel-art or illustration (use pixel-art); backend, data, or non-UI code.

sorawit-w fa79faf 9 files · 50.2 KB Updated

File contents

sorawit-w/agent-skills/tree/main/skills/screenwright commit fa79faf16b

Frequently asked questions

npx skillmds@latest add sorawit-w/screenwright