Optimize largest contentful paint

SkillMedia

largest-contentful-paint is a skill for AI agents that audit slow page loads, heavy assets, or rendering delays. It guides the agent to optimize largest contentful paint by first verifying the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.

Use Optimize largest contentful paint in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Optimize largest contentful paint and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the Optimize largest contentful paint skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Have an agent that supports loading skills.

Optimize largest contentful paintStart free

What your AI can do with it

  • Audit slow page loads and rendering delays
  • Identify heavy assets that slow down rendering
  • Verify the actual bottleneck in DevTools
  • Check findings against Lighthouse results
  • Cross-check with field data before recommending changes

Getting started

  1. Have an agent that supports loading skills.
  2. Add the largest-contentful-paint skill to the agent's available skills.
  3. Provide the page or data you want audited, such as a slow page load report.
  4. Ask the agent to audit the load and identify what delays rendering.

What this skill tells your AI

The instructions your AI receives, as published by thedaviddias/front-end-checklist in skills/largest-contentful-paint/SKILL.md and read by ahel’s review.

LCP is the most important Core Web Vital for perceived load speed—it measures when the main content becomes visible, directly impacting user perception and SEO rankings.

Quick Reference

  • LCP measures when the largest element renders—target under 2.5s
  • Use preload for hero images and critical resources
  • Optimize image formats and use responsive sizes
  • Reduce server response time (TTFB)

Check

Measure LCP using Lighthouse or PageSpeed Insights. Verify the largest visible element renders within 2.5 seconds.

Fix

Optimize LCP by preloading critical resources, optimizing images, using CDN, and reducing server response time.

Explain

Explain how LCP measures perceived load speed by tracking when the largest visible content element becomes visible.

Code Review

Review the routes, assets, and loading behavior that affect Optimize largest contentful paint. Flag exact files, requests, or rendering steps that add unnecessary network, CPU, or layout cost, and describe the measurement method used to confirm the issue.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/en/rules/performance/largest-contentful-paint

Signals

GitHub stars
74k
Forks
7k
Last commit
Oct 2026

Questions

When should this skill be used?
Use it when auditing slow page loads, heavy assets, or rendering delays related to largest contentful paint.
Does it recommend changes right away?
No. It verifies the actual bottleneck in DevTools, Lighthouse, or field data before recommending any changes.
What tools does it work with?
It uses DevTools, Lighthouse, or field data to verify the bottleneck.
Advanced
Item type
skill
Key
largest-contentful-paint
Source
github.com/thedaviddias/front-end-checklist