This file provides guidance to Claude Code when working with this repository.
Web Quality Skills is a collection of Agent Skills for optimizing web projects based on Google Lighthouse guidelines and Core Web Vitals. The skills are framework-agnostic and follow the Agent Skills specification.
| Skill | Location | Triggers |
|---|---|---|
| web-quality-audit | skills/web-quality-audit/ |
"audit", "quality review", "lighthouse" |
| performance | skills/performance/ |
"speed up", "optimize", "load time" |
| core-web-vitals | skills/core-web-vitals/ |
"LCP", "INP", "CLS", "Core Web Vitals" |
| accessibility | skills/accessibility/ |
"a11y", "WCAG", "accessible" |
| seo | skills/seo/ |
"SEO", "meta tags", "search" |
| best-practices | skills/best-practices/ |
"security", "best practices", "modern" |
Core Web Vitals (Good):
- LCP ≤ 2.5s
- INP ≤ 200ms
- CLS ≤ 0.1
Performance Budgets:
- Total: < 1.5 MB
- JS: < 300 KB
- CSS: < 100 KB
Lighthouse Targets:
- Performance: ≥ 90
- Accessibility: 100
- Best Practices: ≥ 95
- SEO: ≥ 95
- Create directory:
skills/{skill-name}/ - Create
SKILL.mdwith YAML frontmatter - Add optional
scripts/,references/,assets/ - Update
README.mdskills table
- Edit relevant
SKILL.mdfile - Keep under 500 lines
- Move detailed content to
references/ - Update version in frontmatter
# Validate skill format
npx skills-ref validate skills/
# Lint markdown
npx markdownlint skills/**/*.md- Use kebab-case for directories and files
- YAML frontmatter required on all SKILL.md files
- Markdown follows standard formatting
- Code examples should show ❌ bad and ✅ good patterns
- Include specific values/thresholds where applicable
This project has no runtime dependencies. Skills are pure markdown with optional shell scripts.
For development:
- Node.js 18+ (for validation tools)
- skills-ref (optional, for validation)