- Add 93-tui-designer to all doc files and directory layouts - Remove phantom 42-jamie-journal-editor (directory never existed) - Update GTM directory names: 61-gtm-manager → 61-gtm-editor, 62-gtm-guardian → 62-gtm-validator in CLAUDE.md layout - Fix skill count: README 64→62, AGENTS.md 52→62 - Add .claude/commands/ slash command definitions - Add SEO comprehensive audit gotcha notes (JHR, SLA) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
46 lines
1.2 KiB
Markdown
46 lines
1.2 KiB
Markdown
---
|
|
description: Core Web Vitals analyzer using PageSpeed Insights API (LCP, CLS, INP, FID)
|
|
---
|
|
|
|
# SEO Core Web Vitals
|
|
|
|
PageSpeed Insights API client for CWV measurement and recommendations.
|
|
|
|
## Triggers
|
|
- "Core Web Vitals", "page speed"
|
|
- "LCP", "CLS", "INP", "performance audit"
|
|
|
|
## Quick Start
|
|
|
|
```bash
|
|
export PAGESPEED_API_KEY=your_api_key
|
|
python scripts/pagespeed_client.py --url https://example.com
|
|
python scripts/pagespeed_client.py --url https://example.com --strategy both
|
|
python scripts/pagespeed_client.py --urls urls.txt --output results.json
|
|
```
|
|
|
|
## CWV Thresholds
|
|
|
|
| Metric | Good | Poor |
|
|
|--------|------|------|
|
|
| LCP | <=2.5s | >4s |
|
|
| FID | <=100ms | >300ms |
|
|
| CLS | <=0.1 | >0.25 |
|
|
| INP | <=200ms | >500ms |
|
|
|
|
## Common Fixes
|
|
|
|
| Issue | Fix |
|
|
|-------|-----|
|
|
| Large LCP | Optimize images, preload critical resources |
|
|
| High CLS | Set image dimensions, avoid injected content |
|
|
| Poor INP | Reduce JavaScript, optimize event handlers |
|
|
| Slow TTFB | Improve server response, use CDN |
|
|
|
|
## Rate Limits
|
|
- No API key: 25/day; With key: 25,000/day
|
|
|
|
## Notion Output
|
|
- Database: `2c8581e5-8a1e-8035-880b-e38cefc2f3ef`
|
|
- Korean report, Audit ID: [TYPE]-YYYYMMDD-NNN
|