Agent skill

auditing-web-quality

Perform comprehensive web page quality audits using Chrome DevTools MCP including responsive layout verification, interactive element testing, console/network error detection, and accessibility checks. Use when user mentions "quality check", "UI check", "page audit", "responsive check", "deploy check", or asks to verify a web page before deployment. Also triggers on Japanese terms like "品質チェック", "UIチェック", "表示確認", "デプロイ前確認", "レスポンシブ確認", "アクセシビリティ確認".

Stars 5
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/camoneart/claude-code/tree/main/skills/auditing-web-quality

SKILL.md

Web Quality Audit

Systematically verify web page quality through Chrome DevTools MCP, producing a prioritized issue report.

Audit Modes

Determine the mode from user intent:

  • Quick Check (default): Responsive + console errors. Use when user says "check this page" without specifics.
  • Full Audit: All checks below. Use when user mentions "full", "deploy", "comprehensive", or "before release".
  • Targeted: Single category only. Use when user specifies one area (e.g., "responsive check").

Workflow

1. Setup

Navigate to the target URL using mcp__chrome-devtools__navigate_page. If no URL given, ask the user.

Capture baseline:

  • mcp__chrome-devtools__take_snapshot for structural analysis
  • mcp__chrome-devtools__take_screenshot for visual reference
  • mcp__chrome-devtools__list_console_messages for existing errors

2. Responsive Layout Check

Test these viewports using mcp__chrome-devtools__emulate:

Device Width Height Touch
Desktop 1920 1080 false
Tablet 768 1024 true
Mobile 375 667 true

For each viewport:

  1. mcp__chrome-devtools__resize_page to set dimensions
  2. mcp__chrome-devtools__take_screenshot to capture layout
  3. mcp__chrome-devtools__take_snapshot to check element visibility

Check items:

  • Text overflow from containers (especially buttons and cards)
  • Horizontal scrollbar appearance
  • Element overlap or hidden content
  • Navigation usability at each breakpoint

3. Interactive Element Check

Reset to desktop viewport, then:

  1. Identify all interactive elements from snapshot (buttons, links, forms)
  2. mcp__chrome-devtools__click each primary button - verify response
  3. For forms: mcp__chrome-devtools__fill with empty values, submit, verify validation messages appear
  4. For links: verify href attributes are non-empty

Check items:

  • All buttons are clickable and produce visible response
  • Empty form submission triggers validation errors
  • No dead links (href="#" or empty)
  • Loading/skeleton states appear on data fetch

4. Console and Network Error Check

  1. mcp__chrome-devtools__list_console_messages with types: ["error", "warn"]
  2. mcp__chrome-devtools__list_network_requests and check for failed requests (4xx/5xx)

Check items:

  • Zero uncaught JS errors
  • Zero failed resource loads (images, scripts, fonts)
  • No CORS errors
  • No deprecation warnings in critical paths

5. Accessibility Check

From snapshot, verify:

  • All images have alt text (or aria-label)
  • Form inputs have associated labels
  • Heading hierarchy is sequential (h1 > h2 > h3, no skips)
  • Focus order is logical (tab through interactive elements using mcp__chrome-devtools__press_key with "Tab")
  • Color contrast via visual screenshot inspection

6. Scroll and Navigation Check

  1. mcp__chrome-devtools__evaluate_script to scroll to page bottom:
    javascript
    () => { window.scrollTo(0, document.body.scrollHeight); return document.body.scrollHeight; }
    
  2. mcp__chrome-devtools__take_screenshot at bottom
  3. Scroll back to top and verify
  4. Check for sticky headers/footers behaving correctly

Issue Severity

Classify each finding:

Severity Criteria Example
Critical Blocks user flow or causes data loss Button not clickable, form submission fails silently
Major Significantly degrades UX Text overflow making content unreadable, broken responsive layout
Minor Cosmetic or non-blocking Console warning, slight alignment issue

Report Format

Output findings as:

## Quality Audit Report

**URL**: [audited URL]
**Mode**: [Quick Check / Full Audit / Targeted]
**Verdict**: [PASS / FAIL (Critical issues found) / WARN (Major issues only)]

### Critical Issues
- [severity] [category] Description of issue (viewport/context)

### Major Issues
- [severity] [category] Description of issue (viewport/context)

### Minor Issues
- [severity] [category] Description of issue (viewport/context)

### Summary
- Checked: [list of completed checks]
- Issues: [N] Critical, [N] Major, [N] Minor
- Recommendation: [Go / No-Go / Conditional]

Quick Reference

Check Category Quick Check Full Audit
Responsive Yes Yes
Console/Network Yes Yes
Interactive No Yes
Accessibility No Yes
Scroll/Nav No Yes

Expand your agent's capabilities with these related and highly-rated skills.

camoneart/claude-code

translating-technical-articles

Translates English technical articles (engineering blogs, documentation) to Japanese while preserving layout and structure. Use when the user asks to translate an article, convert English content to Japanese, or mentions translating a URL or technical blog post.

5 0
Explore
camoneart/claude-code

guiding-tdd-development

Guide Test-Driven Development with task splitting, Red-Green-Refactor cycle, and framework auto-detection. Use when developing features with TDD approach, fixing bugs test-first, or when user mentions "TDD", "テスト駆動開発", "test-first", "/tdd".

5 0
Explore
camoneart/claude-code

distributed-tracing

Implement distributed tracing with Jaeger and Tempo to track requests across microservices and identify performance bottlenecks. Use when debugging microservices, analyzing request flows, or implementing observability for distributed systems.

5 0
Explore
camoneart/claude-code

dependency-upgrade

Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.

5 0
Explore
camoneart/claude-code

stripe-integration

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

5 0
Explore
camoneart/claude-code

typescript-advanced-types

Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications. Use when implementing complex type logic, creating reusable type utilities, or ensuring compile-time type safety in TypeScript projects.

5 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results