id: "debug-optimize-lcp"
kind: "skill"
name: "debug-optimize-lcp"
title: "Debug Optimize Lcp"
description: "Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions \"largest contentful paint\", \"page load speed\", \"CWV\", or wants to improve how fast their hero image or main content renders."
category: "developer-tools"
source:
  repository: "ChromeDevTools/chrome-devtools-mcp"
  path: "skills/debug-optimize-lcp/SKILL.md"
  commit: "eb9b030280e028df0b33a1d8721349002b3cf18f"
  url: "https://github.com/ChromeDevTools/chrome-devtools-mcp/tree/eb9b030280e028df0b33a1d8721349002b3cf18f/skills/debug-optimize-lcp"
license:
  spdx: "Apache-2.0"
  from: "repository"
  redistributable: true
stars: 58578
updated_at: "2026-11-20T22:52:36Z"
score: 0.9359
rank: 3
files_count: 5
bytes: 15049
has_scripts: false
trust_level: "unreviewed"
reviewed_by: "eval-v1"
source_tier: "official"
eval:
  version: "eval-v1"
  date: "2026-11-21T10:37:42Z"
  model: "claude-sonnet-5-5"
  score: 0.9359
  signals:
    tier: 1.0
    rubric: 1.0
    judge: 0.9233
    smoke: 1.0
    popularity: 0.7042
  rubric:
    score: 1.0
    trigger: 1.0
    scope: 1.0
    safety: 1.0
    injection: 1.0
    references: 1.0
    license: 1.0
    risky: []
    broken_references: []
  judge:
    trigger: 5
    scope: 5
    instructions: 4
    safety: 5
    injection: 5
    references: 5
    overall: 9
    verdict: "feature"
    rationale: "The description names LCP and its trigger phrases clearly. The skill covers one job: debugging and optimizing LCP. It gives an ordered workflow using specific Chrome DevTools MCP tools (navigate_page, performance_start_trace, performance_analyze_insight, evaluate_script, list_network_requests, emulate). It breaks LCP into four subparts and maps each to fixes, and it checks the result with a re-run trace under emulation. All four referenced files exist. Nothing is risky or injected. The inline fixes are somewhat generic."
  smoke:
    status: "passed"
    triggered: true
    grade: 2
    task: "My hero image takes about 4 seconds to show up on mobile. How should I work out which part of LCP is the bottleneck and what should I fix first?"
    date: "2026-11-21T11:38:07Z"
    model: "claude-sonnet-5-5"
requires:
  tools: []
  runtimes: []
  network: false
  mcp: []
compat:
  - client: "claude-code"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "codex-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "cursor"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "gemini-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "vscode-copilot"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "opencode"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "claude-desktop"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "chat-mcp"
    status: "full"
    reasons: ["ok"]
    source: "derived"
files:
  - path: "SKILL.md"
    bytes: 6608
    sha256: "d6486b728d7c891ed67280d05880dc396499242b02f3041d9e62c8e83c1ba5f3"
    url: "https://raw.githubusercontent.com/ChromeDevTools/chrome-devtools-mcp/eb9b030280e028df0b33a1d8721349002b3cf18f/skills/debug-optimize-lcp/SKILL.md"
  - path: "references/elements-and-size.md"
    bytes: 1326
    sha256: "a99e9e5f93ad2e5b5b65e84abd2bb220e0560be66cc87059361f1d5f7ef2aed7"
    url: "https://raw.githubusercontent.com/ChromeDevTools/chrome-devtools-mcp/eb9b030280e028df0b33a1d8721349002b3cf18f/skills/debug-optimize-lcp/references/elements-and-size.md"
  - path: "references/lcp-breakdown.md"
    bytes: 2525
    sha256: "c63bb071fa465c41464446100f4afc069118eab9092cbec0b284dd452404a947"
    url: "https://raw.githubusercontent.com/ChromeDevTools/chrome-devtools-mcp/eb9b030280e028df0b33a1d8721349002b3cf18f/skills/debug-optimize-lcp/references/lcp-breakdown.md"
  - path: "references/lcp-snippets.md"
    bytes: 2436
    sha256: "b54d0c26e9df7eea1e58cc118bbbe1ef2037d097a146603ef31c17fe47a6b8b8"
    url: "https://raw.githubusercontent.com/ChromeDevTools/chrome-devtools-mcp/eb9b030280e028df0b33a1d8721349002b3cf18f/skills/debug-optimize-lcp/references/lcp-snippets.md"
  - path: "references/optimization-strategies.md"
    bytes: 2154
    sha256: "786691daf6216f1aacb0e2bafdc08ef8450067a392ab26814337ac9837c048c1"
    url: "https://raw.githubusercontent.com/ChromeDevTools/chrome-devtools-mcp/eb9b030280e028df0b33a1d8721349002b3cf18f/skills/debug-optimize-lcp/references/optimization-strategies.md"
alternates: []
icon: "https://versatile.sh/avatars/chromedevtools.png"
