Production-ready Lighthouse optimization skill pack for Codex and Claude Code.
lighthouse-skill-pack helps teams ship faster performance improvements with reusable, stack-specific SKILL.md workflows. It includes a static skill browser, cross-platform installers, E2E test coverage gates, and Lighthouse CI.
Most Lighthouse advice is either too generic to execute or too tied to one framework. This project provides deterministic, practical workflows that teams can copy directly into their AI coding setup and apply consistently across projects.
- Engineering teams standardizing web performance workflows
- Agencies shipping Lighthouse improvements across multiple client stacks
- Individual developers who want repeatable, high-impact optimization playbooks
lighthouse-core(shared workflow and guardrails)lighthouse-static-htmllighthouse-react-vitelighthouse-nextjslighthouse-wordpress
.
├── skills/
│ ├── lighthouse-core/
│ ├── lighthouse-static-html/
│ ├── lighthouse-react-vite/
│ ├── lighthouse-nextjs/
│ └── lighthouse-wordpress/
├── installers/
├── examples/
└── website/
- Create the destination folder (if needed):
- macOS/Linux:
~/.claude/skills/
- macOS/Linux:
- Copy one or more folders from
skills/into~/.claude/skills/. - Restart Claude Code so skills are reloaded.
- Create (if missing):
<your-project>/.claude/skills/ - Copy desired skill folders into
<your-project>/.claude/skills/ - Commit project-local skills if your team wants shared behavior.
- Create destination (if needed):
~/.codex/skills/ - Copy one or more folders from
skills/into~/.codex/skills/ - Restart Codex session or start a new one.
Use scripts in installers/:
installers/install-claude.shinstallers/install-codex.shinstallers/install.ps1
Examples:
# Install all skills for Codex
bash installers/install-codex.sh
# Install only two skills for Claude Code
bash installers/install-claude.sh lighthouse-core lighthouse-nextjs# Windows / PowerShell
pwsh ./installers/install.ps1 -Target codex -Skills lighthouse-core,lighthouse-react-viteStatic site at website/ provides:
- skill browser cards
- markdown source viewer
- copy-to-clipboard
- download
.md - install instructions
Designed for GitHub Pages and local static serving.
Any static server works. Example with Python:
cd website
python3 -m http.server 8080
# open http://localhost:8080When skills change, regenerate website data:
python3 website/scripts/build-skills-data.pyGenerated outputs:
website/skills-index.json(metadata consumed at startup)website/skills-md/*.md(lazily loaded markdown payloads)website/skills-data.js(legacy generated artifact kept for compatibility)
Playwright E2E coverage is configured for the static website.
npm install
npx playwright install chromium
npm run test:e2e:coverageThe suite enforces a minimum 85% JS coverage threshold for website/app.js.
validate.yml: script checks, generated-data sync, Playwright E2E + coverage gate.lighthouse-ci.yml: Lighthouse CI assertions for performance/accessibility/best-practices/SEO.deploy-pages.yml: deployswebsite/to GitHub Pages onmain.
- Description:
Reusable Lighthouse optimization skills for Codex and Claude Code, with a static skill browser, installers, E2E tests, and Lighthouse CI. - Topics/tags:
lighthouse,web-performance,core-web-vitals,seo,accessibility,codex,claude-code,skill-pack,github-pages,playwright,lhci
- Static HTML project:
examples/static-html/ - React + Vite project:
examples/react-vite/ - Next.js project:
examples/nextjs/ - WordPress project:
examples/wordpress/
See examples/lighthouse-ci.yml.
- Website overview:
docs/screenshots/website-overview.png - Skill detail:
docs/screenshots/skill-detail.png
Codex plugins can be added later as an optional distribution layer. This repository keeps raw skill folders as the primary source of truth.
See CONTRIBUTING.md.
MIT. See LICENSE.