askill
speed-monitoring

speed-monitoringSafety 95Repository

Performance monitoring and regression prevention. Lighthouse CI, performance budgets, Core Web Vitals monitoring, alerting. Keep sites fast over time.

1 stars
1.2k downloads
Updated 1/16/2026

Package Files

Loading files...
SKILL.md

Speed Monitoring Skill

Purpose

Provides patterns for continuous performance monitoring to prevent speed regressions and maintain Core Web Vitals scores. Establishes automated testing, real user monitoring, and alerting systems to catch performance issues before they impact users.

Core Rules

  1. Budget before build — Set performance budgets upfront in budget.json
  2. Monitor real users — Lab data ≠ field data, track both synthetic and RUM
  3. Alert on regression — Catch issues before users do with threshold-based alerts
  4. Block bad deploys — CI fails on performance regression via Lighthouse CI
  5. Track over time — Trends matter more than snapshots, store historical data
  6. Measure Core Web Vitals — LCP, CLS, INP, FCP, TTFB in production
  7. Automated testing — Lighthouse CI on every PR and main branch push
  8. Bundle size limits — Enforce JS/CSS budgets in CI pipeline
  9. Real user data — Use web-vitals library + beacon API for field data
  10. Dashboard visibility — Make performance metrics accessible to team

Performance Budget Targets

MetricGoodWarningCritical
LCP<2.5s2.5-4s>4s
FCP<1.8s1.8-3s>3s
CLS<0.10.1-0.25>0.25
INP<200ms200-500ms>500ms
TBT<200ms200-600ms>600ms

Resource Budgets

Resource TypeBudget (gzip)
JavaScript200KB
CSS50KB
Images500KB
Fonts100KB
Total800KB

Monitoring Stack

Synthetic (Lab Data)

  • Lighthouse CI in GitHub Actions
  • Scheduled cron jobs for production monitoring
  • Budget assertions in CI/CD pipeline

Real User (Field Data)

  • web-vitals library for Core Web Vitals
  • Navigation Timing API for page metrics
  • Resource Timing API for asset analysis
  • sendBeacon for reliable data transmission

Alerting Channels

  • Slack webhooks for warnings
  • PagerDuty for critical performance issues
  • Email digests for weekly reports

Implementation Checklist

Initial Setup:

  • Create budget.json with performance targets
  • Add lighthouserc.json configuration
  • Set up Lighthouse CI GitHub Action
  • Configure performance assertions (min score 90)

Real User Monitoring:

  • Install web-vitals package
  • Implement vitals tracking client-side
  • Create /api/vitals endpoint
  • Set up database for metrics storage

Bundle Monitoring:

  • Create bundle-stats.js script
  • Add bundle size check to CI
  • Set gzip size budgets

Alerting:

  • Configure Slack webhook
  • Set performance thresholds
  • Implement alert logic in API
  • Test alert notifications

Dashboard:

  • Create performance dashboard page
  • Display current Core Web Vitals
  • Show historical trends
  • Add budget status indicators

References

Forbidden

  • No performance monitoring in production
  • Ignoring field data (RUM)
  • No CI performance checks
  • Undefined performance budgets
  • Manual-only Lighthouse runs
  • Silencing performance alerts

Definition of Done

  • Performance budgets defined and documented
  • Lighthouse CI running in GitHub Actions
  • CI fails on performance regression (score <90)
  • Web Vitals tracked in production
  • Bundle size monitoring in CI
  • Alerts configured for poor scores
  • Weekly performance review scheduled
  • Performance dashboard accessible to team

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

88/100Analyzed 2/19/2026

Comprehensive performance monitoring skill covering Core Web Vitals, Lighthouse CI, performance budgets, and alerting. Provides detailed budget targets, monitoring stack recommendations, and implementation checklist. Well-structured with clear sections, tables, and process guidance. Scores high on completeness, clarity, and reusability. Slightly reduced actionability due to lacking direct code snippets, but references external detailed docs. No internal-only indicators - suitable for general web performance monitoring across projects.

95
90
85
85
75

Metadata

Licenseunknown
Version-
Updated1/16/2026
PublisherSoborbo

Tags

apici-cddatabasegithubgithub-actionsobservabilitytesting