测试与安全

web-performance-audit

secondsky/claude-skills

Web performance audits with Core Web Vitals, bottleneck identification, optimization recommendations. Use for page load times, performance reviews, UX optimization, or encountering LCP, FID, CLS issues, resource blocking, render delays.

  • 532 次安装
  • 240 星标
  • 收录于

安装命令

npx skills add https://github.com/secondsky/claude-skills --skill web-performance-audit

SKILL.md

Web Performance Audit

Conduct comprehensive performance audits and implement optimizations.

Core Web Vitals Targets

Metric Good Needs Improvement Poor
LCP (Largest Contentful Paint) <2.5s 2.5-4s >4s
FID (First Input Delay) <100ms 100-300ms >300ms
CLS (Cumulative Layout Shift) <0.1 0.1-0.25 >0.25
INP (Interaction to Next Paint) <200ms 200-500ms >500ms

Performance Measurement

// Using web-vitals library
import { getCLS, getFID, getLCP, getTTFB } from 'web-vitals';