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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 12個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    legioncodeincがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Lighthouse Pagespeed Stinger」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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を有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にLighthouse Pagespeed Stingerを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Lighthouse Pagespeed Stingerは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

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を読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Lighthouse Pagespeed Stingerを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Lighthouse Pagespeed Stingerで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもLighthouse Pagespeed Stingerを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Lighthouse Pagespeed Stinger」は無料ですか?

はい。legioncodeincがAGPL-3.0-or-laterライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇