# Web Performance

> Web Performance is an Agent Skill for testing & quality published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Core Web Vitals optimization, Lighthouse audits, and performance monitoring.

- Skill name: `web-performance`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/web-development/skills/web-performance/SKILL.md
- Repository: a5c-ai/babysitter (1,548 GitHub stars when collected)

## SKILL.md

# Web Performance Skill

Expert assistance for web performance optimization.

## Capabilities

- Optimize Core Web Vitals
- Run Lighthouse audits
- Implement performance monitoring
- Reduce bundle size
- Optimize loading strategies

## Core Web Vitals

```typescript
// Measure CWV
import { onLCP, onFID, onCLS } from 'web-vitals';

onLCP(console.log);
onFID(console.log);
onCLS(console.log);

// LCP Optimization
// - Preload critical resources
// - Optimize images
// - Use SSR/SSG

// CLS Prevention
// - Reserve space for images
// - Use aspect-ratio
// - Avoid layout shifts
```

## Target Processes

- performance-optimization
- lighthouse-audit
- cwv-improvement

---

Source: https://www.openparable.com/skill/testing-quality/web-performance (OpenParable). Cite the canonical URL above.
