
Debug Optimize Lcp
Guided debugging and optimization of Largest Contentful Paint using Chrome DevTools MCP tools, with subpart-by-subpart analysis.
- skills.sh installs
- 4.1K
- GitHub stars
- 58.8K
- last updated
- Aug 21, 2026
What it does
- Covers the full LCP workflow: trace recording, insight analysis, LCP element identification, network waterfall checks, and HTML inspection
- Breaks LCP into four subparts (TTFB, resource load delay, resource load duration, element render delay) and targets the bottleneck first
- Includes four prioritized fix categories with
fetchpriority,rel="preload", lazy-loading, render-blocking, CDN, and caching guidance - Designed for developers investigating slow page loads or Core Web Vitals scores, with
emulatefor testing under throttled network and CPU conditions
Install
$ npx -y skills add chromedevtools/chrome-devtools-mcp --skill debug-optimize-lcp -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
What is LCP and why it matters
Largest Contentful Paint (LCP) measures how quickly a page's main content becomes visible. It's the time from navigation start until the largest image or text block renders in the viewport.
- Good: 2.5 seconds or less
- Needs improvement: 2.5–4.0 seconds
- Poor: greater than 4.0 seconds
LCP is a Core Web Vital that directly affects user experience and search ranking. On 73% of mobile pages, the LCP element is an image.
LCP Subparts Breakdown
Every page's LCP breaks down into four sequential subparts with no gaps or overlaps. Understanding which subpart is the bottleneck is the key to effective optimization.
Details
- Repository
- github.com/chromedevtools/chrome-devtools-mcp
- Categories
- Frontend & UI Code, Debugging
- First seen
- May 16, 2026
More from chromedevtools/chrome-devtools-mcp
All 6Similar to Debug Optimize Lcp
More Frontend & UI Code
web-performance-auditwarpdotdev/oz-skills202 installsAudit page load speed with Chrome DevTools MCP, covering Core Web Vitals, network, and accessibility gaps.
web-performance-optimizationdavila7/claude-code-templates520 installsComprehensive web performance workflow covering Core Web Vitals, bundle size, image optimization, and caching strategies.
webperfnucliweb/webperf-snippets268 installsToolkit of 57 in-page JavaScript snippets for measuring and debugging web performance via Chrome DevTools.
performance-profilingsickn33/agentic-awesome-skills893 installsMeasurement-first performance profiling guide covering Core Web Vitals, bundle analysis, and runtime bottlenecks.
core-web-vitalsaddyosmani/web-quality-skills35.7K installsPractical guide to fixing Core Web Vitals (LCP, INP, CLS) using field data and browser traces.
performance-optimizationaddyosmani/agent-skills79.9K installsMeasurement-first performance workflow covering frontend Core Web Vitals, backend APIs, and database query bottlenecks.