技能 编程开发 多页网站灯塔SEO审计

多页网站灯塔SEO审计

v20260826
seo-unlighthouse
本工具利用Unlighthouse CLI执行多页面的灯塔(Lighthouse)审计,实现全站覆盖的性能和SEO检测。它为大型网站提供了一个免费、本地化的核心网页指标(CWV)测量方案。特别适用于API配额受限的开发环境、持续集成(CI/CD)以及需要进行全站回归测试的场景。
获取技能
469 次下载
概览

seo-unlighthouse

Run Lighthouse against every URL on a site (up to a configurable cap) and aggregate the results. Useful when:

  • PageSpeed Insights' free quota (25k QPD) isn't enough for a large site.
  • You want offline / local CWV measurement (CI integration, restricted environments).
  • You need a quick site-wide regression check after a deploy.

Prerequisites

  • Run extensions/unlighthouse/install.sh (no API key needed).
  • Node 18+ on $PATH.

Routing

Command Effect
/seo unlighthouse <url> Mobile audit, up to 200 routes, JSON+HTML report in a temp dir
/seo unlighthouse <url> --device desktop Desktop form factor
/seo unlighthouse <url> --max-routes 50 --output-dir ./reports Cap + persist

All flags forward through claude-seo run unlighthouse_run.py, which handles url_safety pre-flight and subprocess timeout management.

Output handling

The wrapper reads ci-result.json from the Unlighthouse output dir and returns it parsed. Aggregate fields:

  • score.performance (median across audited routes)
  • score.accessibility, score.bestPractices, score.seo
  • Per-route breakdown is available in <output_dir>/ci-result.json

Cross-skill delegation

  • For single-URL field data (CrUX), use seo-google psi / seo-google crux.
  • For LCP subpart decomposition on slow pages, use the claude-seo run lcp_subparts.py workflow (Phase C).
信息
Category 编程开发
Name seo-unlighthouse
版本 v20260826
大小 1.74KB
更新时间 2026-09-06
语言