Lighthouse fix

From berkcangumusisik/claude-code-practices · View interactive version

Lighthouse fix is an AI agent skill from the GitHub repository berkcangumusisik/claude-code-practices. Analyzes and fixes common Lighthouse performance score issues

How to use this skill

Skill file

Lighthouse Performance Fixes

Target: $1

Since we can't run Lighthouse directly, audit the code for common score killers:

Performance (LCP, FID, CLS)

Largest Contentful Paint (LCP):

grep -rn "img\|Image\|hero\|banner" src/ --include="*.tsx" | head -10

Cumulative Layout Shift (CLS):

First Input Delay (FID) / INP:

Accessibility Score

grep -rn "<img" src/ --include="*.tsx" | grep -v "alt=" | head -10

Best Practices

For each finding: show the fix and estimated score improvement.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.