skills/deprecated/mp-review-design/SKILL.md
Visual inspection of websites to identify and fix design issues. Triggers on: "review design", "check the UI", "fix layout", "find design problems", "test responsive"
npx skillsauth add MartinoPolo/mpx-claude-code mp-review-designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Visual inspection workflow using chrome-devtools MCP to identify and fix design issues.
Use mp-chrome-devtools-tester as the dedicated DevTools agent for browser operations. Do not call DevTools MCP tools directly from this skill.
Chrome DevTools MCP allowed only through mp-chrome-devtools-tester.
1. Information Gathering → 2. Visual Inspection → 3. Issue Fixing → 4. Verification
↑__________________________|
If not provided, ask:
"What URL should I review? (e.g., http://localhost:3000)"
Check for:
package.json → Framework (React, Vue, Next.js)tailwind.config.* → Tailwind CSS*.module.css → CSS Modulesstyled.* in code → styled-componentsTest at 4 breakpoints using mcp__chrome-devtools__resize_page:
| Viewport | Width | Height | | -------- | ----- | ------ | | Mobile | 375 | 812 | | Tablet | 768 | 1024 | | Desktop | 1280 | 800 | | Wide | 1920 | 1080 |
mcp__chrome-devtools__resize_pagemcp__chrome-devtools__take_screenshotmcp__chrome-devtools__take_snapshot (DOM structure)Layout:
Typography:
Responsive:
Accessibility:
Glob: src/**/*.{css,scss,tsx,jsx,vue}
Grep: ".selector-name"
Principle: Smallest change that resolves the issue.
Common fixes:
/* Overflow */
.container {
max-width: 100%;
overflow-x: hidden;
}
/* Flex item overflow */
.flex-item {
min-width: 0;
}
/* Grid item overflow */
.grid-item {
min-width: 0;
word-wrap: break-word;
}
/* Text clipping */
.text {
overflow: hidden;
text-overflow: ellipsis;
}
/* Contrast */
.text {
color: #374151;
} /* Increase from light gray */
Iteration limit: If 3+ attempts fail, consult user.
# Design Review: [URL]
## Summary
| Item | Value |
| ---------------- | ------------ |
| Framework | Next.js |
| Styling | Tailwind CSS |
| Viewports Tested | 4 |
| Issues Found | 3 |
| Issues Fixed | 2 |
## Issues
### [P1] Horizontal overflow on mobile
- **Page**: /dashboard
- **Element**: `.data-table`
- **Issue**: Table exceeds viewport width
- **Fix**: Added `overflow-x: auto` to table container
- **File**: `src/components/DataTable.tsx:45`
### [P2] Low contrast text
- **Element**: `.description`
- **Issue**: Gray text (#9ca3af) on white fails WCAG AA
- **Fix**: Changed to #6b7280 (4.8:1 ratio)
- **File**: `src/styles/globals.css:120`
## Unfixed Issues
### [P3] Minor alignment at 1920px
- **Reason**: Would require significant refactor
- **Recommendation**: Consider for next sprint
## Recommendations
- Add `max-width: 100%` to all images globally
- Consider container queries for card component
| Problem | Solution |
| --------------------------- | -------------------------------------------------------------- |
| Screenshots are blank/empty | Verify chrome-devtools MCP is connected and a page is open |
| "Tool not found" errors | Run ToolSearch for chrome-devtools to load MCP tools first |
| Page not loading | Check URL is accessible, try navigating manually first |
| HMR not reflecting changes | Hard refresh or re-navigate to the URL after code edits |
| Task | Tool |
| ------------ | --------------------------------------- |
| Navigate | mcp__chrome-devtools__navigate_page |
| Resize | mcp__chrome-devtools__resize_page |
| Screenshot | mcp__chrome-devtools__take_screenshot |
| DOM snapshot | mcp__chrome-devtools__take_snapshot |
| Run JS | mcp__chrome-devtools__evaluate_script |
// Detect overflow elements
document.querySelectorAll("*").forEach((el) => {
if (el.scrollWidth > el.clientWidth) console.log("Overflow:", el);
});
// Outline all elements
document.querySelectorAll("*").forEach((el) => {
el.style.outline = "1px solid red";
});
DO:
DON'T:
tools
Show current project progress. Displays phase status and next steps. Use when: "show status", "project progress", "what's done"
data-ai
Unified project setup. Auto-detects state and orchestrates mpx skills/agents for init, conversion, or restructure.
testing
Track bugs/issues in .mpx/ phase system. Parses reports, finds related phases, adds fix tasks or creates bugfix phases. Use when: "track this bug", "add issue to project", "log this bug", "add bug to checklist"
development
Project workflow guidance for spec-driven development. Background knowledge auto-loaded when relevant.