skills/mobile-optimization/SKILL.md
Validates viewport meta configuration, responsive design, font sizes, touch target sizes, and mobile-hostile patterns. Use when checking mobile-friendliness or fixing mobile rendering issues.
npx skillsauth add thisisahsaniqbal/nextjs-seo-audit mobile-optimizationInstall 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.
Audit the page for mobile-friendliness.
| Check | Status |
|---|---|
| Missing <meta name="viewport"> | ❌ FAIL "Page will not render correctly on mobile" |
| Present but missing width=device-width | ⚠️ WARN |
| Contains user-scalable=no or maximum-scale=1 | ⚠️ WARN "Disabling zoom hurts accessibility" |
| Properly configured | ✅ PASS |
Scan all elements with inline style="..." for width: Npx:
width > 500px → ⚠️ WARN "May cause horizontal scrolling on mobile"Scan inline styles for font-size: Npx:
font-size < 12px → ⚠️ WARN "Difficult to read on mobile"Check interactive elements (<a>, <button>, <input type="submit">, <input type="button">) with inline height style:
height < 48px → ⚠️ WARN "Too small for touch targets"overflow-x: hidden or overflow: hidden → ⚠️ WARN "Verify content is not clipped on mobile"<link rel="stylesheet" media="..."> found → ✅ PASS "Media-query-specific stylesheets found"<table> elements → ⚠️ WARN "Tables can be difficult to read on mobile. Consider responsive table patterns"display: none or visibility: hidden should be excluded from touch target checksuser-scalable=no — flag as ⚠️ WARN but note contexttesting
Audits sitemap references, robots.txt directives, canonical tags, crawlability, URL structure, redirect chains, and indexability. Use when checking technical SEO foundations or fixing crawl/index issues.
development
Audits stylesheet loading, inline CSS volume, image alt text, image formats, and Next.js Image component usage. Use when checking page speed related to HTML structure. For render-blocking scripts, image dimensions, lazy loading, and resource hints, see the core-web-vitals skill.
development
Validates HTML5 semantic elements, ARIA landmarks, skip navigation, and page structure. Use when auditing semantic HTML, accessibility, or content structure for SEO. For the lang attribute, see the international-seo skill.
testing
Validates existing JSON-LD structured data and suggests relevant schemas based on auto-detected page type. Does NOT enforce all schema types — only checks what is applicable to the current page context. Use when auditing or generating structured data for search engine rich results.