Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Benchmark

Skill Verifiziert Aktiv

Performance regression detection using the browse daemon. Establishes baselines for page load times, Core Web Vitals, and resource sizes. Compares before/after on every PR. Tracks performance trends over time. Use when: "performance", "benchmark", "page speed", "lighthouse", "web vitals", "bundle size", "load time". (gstack) Voice triggers (speech-to-text aliases): "speed test", "check performance".

Zweck

Detect and alert on performance regressions to maintain optimal web application speed and resource efficiency.

Funktionen

  • Establishes baselines for page load times, Core Web Vitals, and resource sizes.
  • Compares performance metrics before and after PRs.
  • Tracks performance trends over time.
  • Collects detailed metrics via JavaScript evaluation and browse daemon commands.

Anwendungsfälle

  • Use when optimizing web page speed and Core Web Vitals.
  • Use when identifying performance regressions introduced by code changes.
  • Use when monitoring and reporting on performance trends over time.

Nicht-Ziele

  • Does not perform code optimization directly; focuses on measurement and reporting.
  • Does not replace full performance profiling tools but provides a regression detection layer.
  • Does not handle non-web performance metrics.

Workflow

  1. Setup: Initialize directories and check for updates.
  2. Page Discovery: Auto-discover pages or use specified pages; identify pages affected by current branch in diff mode.
  3. Performance Data Collection: Use browse daemon to gather TTFB, FCP, LCP, DOM metrics, resource analysis, bundle size, and network summary.
  4. Baseline Capture: Save collected metrics to a baseline file if in `--baseline` mode.
  5. Comparison: Compare current metrics against baseline, identifying regressions and warnings.
  6. Resource Analysis: Report on the top slowest resources.
  7. Performance Budget Check: Compare metrics against industry standards.
  8. Trend Analysis: Show performance trends from historical data if in `--trend` mode.
  9. Save Report: Write the final report to markdown and JSON files.

Praktiken

  • Performance measurement
  • Regression testing
  • Benchmarking
  • Web performance analysis

Voraussetzungen

  • Claude Code
  • Git
  • Bun v1.0+
  • Node.js (Windows only)
  • gstack browse daemon

Installation

npx skills add garrytan/gstack

Führt das Vercel skills CLI (skills.sh) via npx aus — benötigt Node.js lokal und mindestens einen installierten skills-kompatiblen Agent (Claude Code, Cursor, Codex, …). Setzt voraus, dass das Repo dem agentskills.io-Format folgt.

Qualitätspunktzahl

Verifiziert
100 /100
Analysiert 1 day ago

Vertrauenssignale

Letzter Commit1 day ago
Sterne95.5k
LizenzMIT
Status
Quellcode ansehen