Skip to content
←INDEX / Prompt library
TUTORIAL/Claude Code/AdvancedPRO

Automated Design Review: UI/UX/Accessibility Audits via Playwright MCP

A curated, ready-to-use version of OneRedOak's design-review workflow: using Playwright MCP in a real browser environment, it automatically audits frontend changes across 7 stages (interaction, responsiveness, visuals, accessibility, robustness, code health) and reports findings graded Blocker/High/Medium/Nitpick.

SakuyaPromptCraft editor · Updated 2026-06-08
TutorialClaude CodeAdvanced
01PROMPT
前端 PR 的「設計品質」總是最後才被人眼掃過、又常漏掉無障礙與 RWD 問題?這個 design-review 子代理用 Playwright MCP 真的開瀏覽器、量斷點、截圖、看 console,照 7 階段幫你審查並分級回報。

[ Log in to see the full prompt ]
LOGIN TO UNLOCK

Sign up free to see the full prompt, copy it, save it, and join the discussion. Free content unlocks on login; Pro content is a separate subscription.

02CONTEXT / Why it works

## What This Is / What Problem It Solves Design quality is the check most easily skipped in frontend PRs: it only gets a final human glance, and only when reviewers are in the mood, so responsive breakpoints break, focus rings go missing, contrast falls short, and empty states look ugly — and all of it flows straight through to production. design-review automates that check — it doesn't just read code, it actually opens a browser, operates the interface, measures different breakpoints, takes screenshots, reads the console, and hands you back a graded report. ## Why This Source Is Worth Using This is the design-review workflow from OneRedOak/claude-code-workflows (MIT licensed, commercially usable, Copyright 2025 Patrick Ellis). Its design bar matches the review standards of first-tier product teams like Stripe, Linear, and Airbnb, and it explicitly requires WCAG 2.1 AA accessibility compliance. The key differentiator is that it plugs into **Playwright MCP**: it can 'actually operate and test real UI components live, rather than just doing static code analysis.' It's made up of four components — the design-review subagent, the `/design-review` slash command, a design-principles template, and an integration snippet you can drop into CLAUDE.md — and it can trigger automatically on a PR or be run manually on demand. ## How to Use It (Key Points) 1. First install the Playwright MCP server in Claude Code (so Claude can operate a browser). 2. Save the full prompt above as a subagent file (a Claude Code subagent, placed at `.claude/agents/design-review.md`), or use it as the content of the `/design-review` slash command. 3. When triggering it, provide: the preview/staging URL, your design-principles document, and the scope of this change. 4. The subagent runs through 7 stages: ① preparation → ② interaction and flow → ③ responsiveness (375/768/1440px) → ④ visual detail → ⑤ WCAG 2.1 AA accessibility → ⑥ robustness stress testing → ⑦ code health, then sorts issues into four grades — Blocker / High-Priority / Medium-Priority / Nit — with screenshots and suggested fixes. ## When to Use It - Before merging any PR that touches the UI, when you want a consistent, repeatable design check. - When your team cares about accessibility and responsiveness but manual review keeps missing things. - When you've already connected (or are willing to connect) Playwright MCP in Claude Code and want reviews that actually click through the page rather than just reading the diff. 📎 Source: OneRedOak/claude-code-workflows (design-review, by Patrick Ellis, MIT License) — this piece is a Traditional Chinese adaptation and summary; see the four original components and installation instructions (including Patrick Ellis's tutorial video) at the link above.

RELATED
PRO01
TUTORIALSuno v5.5FEATURED
r/SunoAI (anonymous studio engineer)2026-06-12

Suno Engineer's Mindset: 4 Steps to a Song That Doesn't Sound Like AI

5.0(1)

A studio engineer's breakdown of Suno's fatal weaknesses (fried vocals, high-frequency artifacts), plus a 4-step DAW workflow and a Suno Studio cleanup prompt.

Advanced
Read

Free02
TUTORIALClaude 4.5 SonnetFEATURED
r/ClaudeAI2026-05-14

5 Claude Weekly Workflows That Stuck After 6 Months

Proposal generator / meeting processor / content repurposer / Friday review / shutdown reset — out of 40 I tried, only these 5 survived, each saving 30+ minutes per run.

Intermediate
Read

PRO03
TUTORIALClaude 4.5 SonnetFEATURED
r/PromptEngineering2026-05-14

7 Cross-Model A/B-Tested Prompt Techniques (Not Vibes)

Written after six months of A/B testing 200+ prompts on Claude, GPT-4, and Gemini with human raters. Covers persona + constraint stacking, anti-examples, role-reversal QA, cognitive scaffolds, emotional priming, uncertainty CoT, and steelman-first.

Advanced
Read

Free04
TUTORIALChatGPTFEATURED
r/ChatGPTPromptGenius2026-05-14

5 trust-checking one-liner prompts (no role-play)

After a year of role-play system prompts and 14-step frameworks, here's the takeaway: the thing that actually moved the needle on quality was 5 one-line prompts. No roles, no markdown, no "you are an expert."

Beginner
Read

COMMENTS · 討論區0 則
登入 後可留言。還沒帳號?註冊
目前沒有留言。第一個說說你的經驗。