Lighthouse Pagespeed Stinger 标志

Lighthouse Pagespeed Stinger

组织
legioncodeinc
lighthouse-pagespeed-stinger

Runs Lighthouse and PageSpeed Insights for React/Next.js: CI setup (LHCI), audit categories, performance budgets, lab-vs-CrUX gap. Use when setting up or debugging Lighthouse CI.

Add to TypingMind

概览

发布者legioncodeinc
代码仓库vibe-coding-tools
技能名称lighthouse-pagespeed-stinger
星标数
94
复刻数
44
附带文件
12
许可协议AGPL-3.0-or-later
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 12 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 legioncodeinc 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Lighthouse Pagespeed Stinger AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/browser-and-app-testing-tools/skills/lighthouse-pagespeed-stinger
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/legioncodeinc/vibe-coding-tools.git /tmp/vibe-coding-tools
mkdir -p .claude/skills
cp -r /tmp/vibe-coding-tools/plugins/browser-and-app-testing-tools/skills/lighthouse-pagespeed-stinger .claude/skills/lighthouse-pagespeed-stinger
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Lighthouse Pagespeed Stinger,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Lighthouse Pagespeed Stinger。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Lighthouse Pagespeed Stinger 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

lighthouse-pagespeed-stinger

Opinionated playbook for running Lighthouse and PageSpeed Insights correctly: in CI, locally, and as part of a long-term performance tracking strategy. Synthesized from the Lighthouse 12.6.1 + LHCI 0.15.x canon, the web.dev lab-vs-field framework, and 2025-2026 practitioner patterns.

Read first: guides/00-runner-selection.md: the decision tree for which tool to use before you touch any config.


When to use this skill

Load this skill when lighthouse-pagespeed-wasp-drone is invoked. Trigger phrases:

  • "Set up Lighthouse CI / LHCI"
  • "Add a performance budget to our CI pipeline"
  • "My Lighthouse score is 90 but CrUX says I'm failing LCP"
  • "Configure Lighthouse for GitHub Actions"
  • "What's the difference between TBT and INP?"
  • "Compare Treo vs SpeedCurve for monitoring"
  • "Write a custom Lighthouse plugin"
  • "Audit this URL with Lighthouse"
  • "Set a performance budget"

Do NOT load for:

  • SEO content strategy, keyword research, or metadata optimization (route to seo-aeo-wasp-drone)
  • Core Web Vitals implementation fixes like image optimization or JS bundle reduction (route to react-wasp-drone or performance-optimizer)
  • Accessibility design decisions beyond Lighthouse-flagged technical issues
  • CI/CD pipeline topology beyond the Lighthouse-specific configuration step (route to devops-wasp-drone)

Critical directives

These are non-negotiables. They protect reproducibility, team trust, and the lab-vs-field mental model.

  • Always specify throttling and form-factor explicitly. A mobile simulation at 4x CPU / 1.6 Mbps and a desktop no-throttle run produce completely different scores; mixing them corrupts trend data. See guides/00-runner-selection.md.

  • Run at least three passes; report the median. LHCI defaults to three runs for this reason (numberOfRuns: 3). A single Lighthouse run has high variance due to non-deterministic CPU and network simulation. See guides/01-lhci-configuration.md.

  • Always present both lab scores and CrUX field data when PSI API data is available. Lab data reflects ideal conditions; field data (p75) reflects real users. The gap between them is often the most actionable signal. See guides/02-lab-vs-field.md.

  • Never set a score budget below the current production baseline without a remediation plan. Measure first (lhci autorun without assertions), document baselines, then add a 10-20% buffer. A budget that gates CI on day one with no remediation plan blocks deploys without unblocking the team. See guides/01-lhci-configuration.md.

  • TBT is an imperfect proxy for INP. A good TBT does not guarantee a good INP. INP measures full interaction latency (delay + processing + presentation). TBT only captures blocking tasks during load. A page can have TBT < 200ms and INP > 500ms. Always check field INP separately. See guides/02-lab-vs-field.md.

  • Scope custom plugins to audits that existing Lighthouse audits cannot cover. Plugins cannot access custom Gatherers; they can only read existing artifacts (ImageElements, ScriptElements, devtoolsLogs, etc.). If you need custom page data, you need a full custom config. See guides/05-custom-plugins.md.


Lighthouse 12 / LHCI 0.15.x facts (encoded from research)

Source: research/external/2026-05-20-lighthouse-performance-scoring.md (source-repository research, not shipped with the plugin)

Current version: Lighthouse 12.6.1 (LHCI 0.15.x). Node 18+ required.

Four categories (not five: PWA removed in LH12, May 2024):

  • Performance
  • Accessibility
  • Best Practices
  • SEO

Performance score weights (unchanged from LH10):

MetricWeight
Total Blocking Time (TBT)30%
Largest Contentful Paint (LCP)25%
Cumulative Layout Shift (CLS)25%
First Contentful Paint (FCP)10%
Speed Index (SI)10%

INP is NOT in the Lighthouse Performance score. INP replaced FID as a Core Web Vital (March 12, 2024), but INP is a field-only metric. TBT is its lab proxy. TTI was removed from the score in Lighthouse 10.

Score color bands: 0-49 red (Poor), 50-89 orange (Needs Improvement), 90-100 green (Good). Reaching 90+ means being in the top 8% of HTTP Archive sites for that metric.


Guide map

Each guide is a self-contained instruction set. Read in order on first use; jump directly to the relevant guide for targeted tasks.

GuideWhen to read
guides/00-runner-selection.mdFirst: before choosing any tool
guides/01-lhci-configuration.mdSetting up lighthouserc.json/yaml, collect/assert/upload
guides/02-lab-vs-field.mdReconciling Lighthouse scores vs CrUX / PSI field data
guides/03-ci-integration.mdGitHub Actions workflow, LHCI setup, score gating
guides/04-performance-tracking.mdTreo, SpeedCurve, self-hosted LHCI server
guides/05-custom-plugins.mdAuthoring custom Lighthouse audit plugins
guides/06-audit-category-glossary.mdUnderstanding individual audits and their score weights

Templates

  • templates/lighthouserc-starter.yaml: Annotated production-ready LHCI config
  • templates/custom-plugin-starter.js: Scaffold for a custom Lighthouse plugin

Examples

  • examples/happy-path-lhci-setup.md: End-to-end LHCI setup from zero to CI-gating a Next.js app
  • examples/lab-field-reconciliation.md: Walking through a case where Lighthouse scores 90 but CrUX INP fails

Reports

  • reports/README.md: Report template and location convention for audit reports

Command Brief: ai-tools/command-briefs/lighthouse-pagespeed-wasp-drone-command-brief.md Research: research/research-summary.md (normal depth, 9 sources, May 2026) Forged by stinger-forge as part of The Wasp Nest by Mario Aldayuz a.k.a @thenotoriousllama

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Lighthouse Pagespeed Stinger AI 技能有什么作用?

Runs Lighthouse and PageSpeed Insights for React/Next.js: CI setup (LHCI), audit categories, performance budgets, lab-vs-CrUX gap. Use when setting up or debugging Lighthouse CI.

为什么在 TypingMind 中使用 Lighthouse Pagespeed Stinger?

因为您只需安装一次,就能搭配任何模型使用。Lighthouse Pagespeed Stinger 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Lighthouse Pagespeed Stinger?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/browser-and-app-testing-tools/skills/lighthouse-pagespeed-stinger。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Lighthouse Pagespeed Stinger?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Lighthouse Pagespeed Stinger 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Lighthouse Pagespeed Stinger 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Lighthouse Pagespeed Stinger AI 技能免费吗?

是的。legioncodeinc 已在 GitHub 上根据 AGPL-3.0-or-later 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇