web-quality-audit: One-Stop Website Quality Audits with Lighthouse

Preface

Before a launch or after a redesign, performance, accessibility, SEO, and best practices often require running Lighthouse separately, checking against WCAG, and then cross-referencing the source code with reports. Results from multiple sources often have inconsistent standards, and it remains unclear which items have been verified after fixes are made. The following introduces the Agent Skill web-quality-audit maintained by Addy Osmani: it performs a “evidence-based” comprehensive audit within Agent conversations using a unified workflow, categorizing findings by impact and confidence rather than focusing solely on a single total score.

What is this

web-quality-audit is a Skill in the web-quality-skills repository (SKILL.md metadata version 2.0, MIT license). It is officially described as an evidence-oriented quality review across dimensions such as performance, accessibility, SEO, best practices, and Agentic Browsing. It combines real browser observations with source code inspection; it does not treat aggregate scores as proof that quality has passed.

The description on officialskills.sh emphasizes: a single run covers 150+ Lighthouse-related checks, categorized by severity with actionable remediation suggestions (including code-level pointers), avoiding the need to run separate tools for performance, a11y, and SEO and then manually merging reports.

Applicable trigger phrases include: audit my site, review web quality, run lighthouse audit, check page quality, optimize my website, etc.

The documentation requires alignment with Lighthouse 13+: The Performance category shares Performance Insights with the Chrome DevTools Performance panel; it should follow current insight names and evidence, rather than relying on removed audit IDs or automatically replicating their suggestions.

Core Functions

Audit Dimensions

Category Key Points (Excerpt from official SKILL.md)
Performance Core Web Vitals: LCP < 2.5s, INP < 200ms, CLS < 0.1; Resource and loading strategies (image compression, JS/CSS optimization, preconnect, preload, caching, etc.)
Accessibility Perceivable, Operable, Understandable, Robust (alt, contrast, keyboard, focus, form labels, ARIA, etc., aligned with common requirements like WCAG AA)
SEO Crawlability (robots, sitemap, canonical), page meta info and heading hierarchy, technical SEO (HTTPS, mobile-friendly, structured data, etc.)
Best practices Security (HTTPS, dependencies, CSP), modern standards and console cleanliness, UX patterns (intrusive interstitials, permission requests, etc.)
Agentic Browsing Use Lighthouse Agentic Browsing results to evaluate if the page is understandable and interactive for assistants; includes semantic surface, WebMCP (if present), optional llms.txt, etc.

Workflow

The official How it works summarizes five steps:

  1. Define the audit target: representative URLs, key states and user paths, public or login-required, mobile/desktop scope.
  2. If the page is runnable, collect a minimal live baseline according to performance measurement documentation first, then search the codebase broadly.
  3. Use runtime failures to locate source code; record measured conclusions separately from hypotheses based solely on code.
  4. Classify by user impact and confidence, providing or suggesting specific fixes.
  5. Re-run equivalent automated checks and affected manual processes, marking verified items and those still requiring live/manual confirmation.

Tool Routing (Do not block on optional environments)

The Skill requires prioritizing existing capabilities; audits can still proceed if optional MCPs are not configured:

Requirement Priority Fallback
Performance & Core Web Vitals Record performance traces and analyze insights; use performance_start_trace / performance_analyze_insight if Chrome DevTools MCP is available Lighthouse CLI or PageSpeed Insights lab data
Real User Performance CrUX in current DevTools trace summary PageSpeed Insights / CrUX Vis; use CrUX API if there is a key or for automation
Accessibility, SEO, Best Practices, Agentic Browsing Live Lighthouse; use lighthouse_audit if MCP is available Categorized Lighthouse CLI + manual checks
Rendering Semantics & Interaction Accessibility tree and UI actions; take_snapshot, evaluate_script under MCP Browser/manual testing
Source Code Smoke scripts/analyze.sh <path> Read source code directly

Note: Chrome DevTools MCP’s lighthouse_audit intentionally excludes performance; navigation mode reloads the page, so snapshot mode can be used if login or user state needs to be preserved. The static analysis script is for quick smoke testing and cannot replace auditing rendered pages.

Installation & Activation

The installation method provided by the official skills directory is:

npx skills add https://github.com/addyosmani/web-quality-skills --skill web-quality-audit

You can also provide the Skill directory link to a coding assistant for installation:

https://github.com/addyosmani/web-quality-skills/tree/main/skills/web-quality-audit

This article has not verified the differentiated configuration steps for Cursor, Codex CLI, or Claude Code within the retrieved materials; simply enable them according to each product’s general mounting method for Agent Skills. The Skill itself consists of SKILL.md and referenced documents (e.g., ../performance/references/MEASUREMENT.md) under skills/web-quality-audit in the repository.

Typical Usage

After installing the Skill in an Agent, describe the site and goals in natural language. Examples listed on officialskills.sh include:

  • Check Core Web Vitals before the launch of a landing page redesign
  • Review WCAG AA contrast and image alt for a marketing site
  • Audit for unused JavaScript and oversized images in a Next.js build
  • Validate meta, canonical, and heading hierarchy for a blog
  • Identify mixed content and outdated dependencies before a production deployment

During execution, the Agent will establish URLs and scope according to the five steps above. If conditions permit, it will collect a live baseline first, then select Lighthouse, traces, or analyze.sh based on the tool table, and finally output graded issues and remediation suggestions. You can add constraints such as “desktop only” or “URL requiring login state” in the conversation, corresponding to the scope definition in the first step of the Skill.

Applicable Scenarios & Notes

Suitable for: Front-end/full-stack teams needing to cover performance, a11y, SEO, best practices (and Agentic Browsing signals) in one pass; those who want the Agent to report via an evidence chain rather than just a Lighthouse total score; environments that already have or plan to integrate Chrome DevTools MCP or Lighthouse CLI.

Notes:

  • Performance insights are based on Lighthouse 13+ and current DevTools insights; do not stick to deprecated audits.
  • MCP’s Lighthouse and CLI/PSI capabilities are complementary; performance and non-performance categories may take different paths.
  • Field-level Core Web Vitals (CrUX) are used to corroborate experience signals; the Skill explicitly does not promise ranking changes.
  • Agentic Browsing / WebMCP are used to evaluate the quality of automated interactions; do not pile on WebMCP just for scores.

Conclusion

web-quality-audit converges multiple checks under the Lighthouse system into an Agent-executable audit workflow: define scope and live evidence first, then cross-reference with source code, categorize fixes, and re-verify. If you are unifying your “site audit” entry point, you can install it from the official repository and directly request audits in your conversation.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye