performance

Optimize Core Web Vitals and asset delivery in React/Next.js apps.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Dsantiagomj/DSMJ-Ai-Toolkit --skill performance-dsantiagomj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance
Source: https://github.com/Dsantiagomj/DSMJ-Ai-Toolkit/tree/main/skills/domain/performance
Command: npx skills add https://github.com/Dsantiagomj/DSMJ-Ai-Toolkit --skill performance-dsantiagomj

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps teams reduce page load times by optimizing Core Web Vitals, asset delivery, and caching strategies across frontend applications.

Core Features & Use Cases

  • LCP optimization: prioritize above-the-fold content and image loading.
  • Code splitting & lazy loading: reduce initial bundle size and defer non-critical code.
  • Image and asset optimization: serve modern formats and responsive images.
  • Caching & monitoring: implement effective caching and observe performance metrics to guide improvements.

Quick Start

Run the performance analysis against your frontend project to identify Core Web Vitals bottlenecks and asset-delivery inefficiencies.

Frequently Asked Questions about performance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize Core Web Vitals like LCP and CLS in a React application?

To optimize Core Web Vitals, prioritize above-the-fold content for LCP and defer non-critical code via code splitting to prevent CLS. This Skill enforces best practices and measurable targets for modern web apps like React and Next.js.

What is the best way to reduce initial bundle size using code splitting and lazy loading?

The best way to reduce initial bundle size is applying code splitting and lazy loading to defer non-critical code. This Skill implements reusable patterns that optimize asset delivery and significantly lower initial JavaScript payloads.

Does this performance optimization approach work with Next.js asset delivery?

Yes, this performance optimization approach works with Next.js asset delivery. It applies to modern web apps to optimize LCP, FID/INP, CLS, code splitting, image optimization, caching, and monitoring across your frontend stack.

How do I implement effective caching strategies for frontend performance?

Implement effective caching by serving modern asset formats and applying reusable caching patterns described in the Skill's references. This ensures optimized asset delivery and observable performance metrics to guide improvements.

Why does my Largest Contentful Paint score remain low despite image optimization?

Your Largest Contentful Paint score may remain low if non-critical resources block above-the-fold content. This Skill identifies LCP bottlenecks and enforces best practices for prioritizing critical content and image loading.

Can I analyze Core Web Vitals bottlenecks without external monitoring dependencies?

Yes, you can run the built-in performance analysis against your frontend project to identify Core Web Vitals bottlenecks and asset-delivery inefficiencies. It guides improvements through measurable targets and concrete code examples without external dependencies.