Responsive Layout Reviewer — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Responsive Layout Reviewer (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
This skill reviews HTML/CSS, Tailwind, or React component code for responsive design issues. It checks for layout problems at mobile (320–480px), tablet (768–1024px), and desktop (1280px+) breakpoints, identifies common mistakes like fixed widths, missing overflow handling, inaccessible touch targets, and viewport-breaking elements, and produces a specific list of issues with exact fixes for each.
Use this during code review, before shipping a new component or page, or when a layout is broken on certain screen sizes and you need a systematic diagnosis.
Copy this file to .agents/skills/responsive-layout-reviewer/SKILL.md in your project root.
Then ask:
Provide the component file or the HTML/CSS to review.
Add the instructions below to your .cursorrules or paste them into the Cursor AI pane before sharing the code to review.
Paste the HTML/CSS or component code and ask Codex to follow the instructions below.
When asked to review for responsive design issues, check every item in this checklist:
Unless the project uses a custom breakpoint system, evaluate at:
Note the breakpoint system used by the project (Tailwind defaults, Bootstrap, custom media queries) and use those values.
Fixed widths
width: 600px without max-width: 100%)flex: 0 0 [fixed] that could overflowoverflow-x: auto on a wrapperOverflow and clipping
overflow-wrap: break-word or text-overflow: ellipsismax-width: 100% or width: 100%overflow: hidden on a parent that clips important content on small screensTypography
line-height too tight for small screensTouch targets
Navigation
Spacing and padding
Images and media
<img> without width and height attributes (causes layout shift)background-size: cover or equivalentpadding-top: 56.25%; position: relative)Flexbox and grid
flex-wrap: nowrap on a row that can't fit all items at small sizesgap values that are too large on mobileInput fields and forms
width: 100% or equivalent on mobilefont-size below 16px on inputs (triggers iOS zoom)## Responsive Layout Review — [Component/File]
### Critical Issues (will break layout or block usage on mobile)
#### 1. [Issue title]
- **Breakpoint affected**: [e.g., 320px–768px]
- **Location**: [CSS class, line number, or component prop]
- **Problem**: [What breaks and why]
- **Fix**: [Exact CSS/Tailwind/code change]
### High-Priority Issues (visible problems, degrades UX significantly)
[Same format]
### Warnings (minor issues or edge cases)
[Same format]
### What's Working Well
[Brief note on responsive patterns already done correctly]Input to Agent:
"Use the Responsive Layout Reviewer skill on this component:
>
``tsx <div style={{ display: 'flex', gap: 24 }}> <img src={product.image} style={{ width: 300, height: 300 }} /> <div style={{ width: 400 }}> <h2 style={{ fontSize: 28 }}>{product.name}</h2> <p style={{ fontSize: 14 }}>{product.description}</p> <button style={{ padding: '4px 8px', fontSize: 12 }}>Add to cart</button> </div> </div> ``"Output from Agent:
## Responsive Layout Review — ProductCard
>
### Critical Issues
>
#### 1. Fixed widths cause overflow on mobile - Breakpoint affected: All screens below 724px (300 + 400 + 24 gap = 724px minimum width) - Location:imgwidth 300px, innerdivwidth 400px - Problem: The total minimum width (724px) exceeds most phone screens, causing horizontal scroll - Fix: Remove fixed widths; useflex: 1on the text div andflex-shrink: 0on the image, or switch to a column layout below 640px: ``css @media (max-width: 640px) { .card { flex-direction: column; } .card img { width: 100%; height: auto; } }``
>
### High-Priority Issues
>
#### 2. Touch target too small - Breakpoint affected: Mobile - Location:buttonwithpadding: 4px 8px- Problem: The button is approximately 30px tall — well below the 44px minimum for comfortable touch interaction - Fix:padding: '12px 20px'— this produces a taller target and also improves visual balance
>
#### 3. Font size below 16px on mobile - Location:<p>withfontSize: 14and<button>withfontSize: 12- Problem: On iOS, inputs and interactive elements withfont-size < 16pxtrigger page zoom on focus. Also, 12px text is hard to read on small screens. - Fix: Set body text to minimum 16px; button text to 14–16px
sm:, md:, lg: prefixes consistently — look for Tailwind utilities with no mobile-first base value.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.