Agent skill
mern-design-review
Visual design review using Playwright screenshots against mern-styleguide.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/mern-design-review
SKILL.md
Purpose
Capture screenshots at multiple breakpoints and evaluate against mern-styleguide. Report issues, then (with approval) fix and run tests to confirm.
Arguments
--base-url <url>— App URL (default: http://localhost:3000)--routes <paths>— Comma-separated routes (default: discover fromapp/**/page.tsx)--no-fix— Report only, don't offer to fix
Workflow
1. Setup
- Ensure dev server running (
pnpm dev) - Discover routes if not specified (scan for
page.tsxfiles)
2. Capture screenshots
Use Playwright to capture each route at:
- Mobile: 390×844
- Tablet: 834×1194
- Desktop: 1440×900
Save to playwright-artifacts/design-review/ (don't commit).
3. Evaluate against mern-styleguide
Review each screenshot for:
- Responsiveness — intentional adaptation, not just stacking
- Typography — no banned fonts, contributes voice
- Spacing/hierarchy — premium feel, clear visual order
- Color — uses semantic tokens, proper contrast
- Accessibility — visible focus states, adequate tap targets
- Anti-patterns — no unchanged shadcn defaults, card nesting, decorative effects
For each issue, note:
- Route and viewport
- Severity:
must-fix|should-fix|nice-to-have - What violates mern-styleguide
- Concrete fix
4. Report results
Summary of screens/viewports reviewed + findings by severity.
5–6. Approval gate, fix and confirm
See /shared-review-workflow for severity definitions, approval gate protocol, and fix constraints. After fixes, re-capture affected screenshots and run /mern-unit-test.
Reference
For Playwright setup, screenshot scripts, and evaluation checklist, see reference/mern-design-review-reference.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?