performance-expert

Analyze bundle size, Core Web Vitals, and rendering inefficiencies in frontend applications.

416|6|Updated Apr 24, 2026
Ready to run
npx skills add https://github.com/mizchi/skills --skill performance-expert-mizchi
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: performance-expert
Source: https://github.com/mizchi/skills/tree/main/performance-expert
Command: npx skills add https://github.com/mizchi/skills --skill performance-expert-mizchi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Performance regressions often go undetected until users experience slowdowns. This Skill provides a systematic performance review perspective during weekly audits, identifying bundle bloat, Core Web Vitals degradation, and optimization opportunities before they impact user experience. ## Core Features & Use Cases - Bundle Analysis: Inspect bundle size trends, identify heavy dependencies, and flag opportunities for code splitting or library replacement. - Core Web Vitals Assessment: Evaluate LCP, INP, CLS against industry baselines and surface degradation patterns. - Rendering Efficiency Review: Detect unnecessary re-renders, layout thrashing, and image/font optimization gaps. - Use Case: Your weekly frontend review shows a 150KB bundle size increase. This Skill reads your audit data, identifies that a new chart library inflated the main bundle, and recommends dynamic import or a lighter alternative. ## Quick Start Ask the AI to review the frontend codebase for performance regressions using the performance-expert perspective, focusing on bundle size trends and Core Web Vitals metrics.

Frequently Asked Questions about performance-expert

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

FAQPage Schema
How do I analyze bundle size growth in my JavaScript project?▼

Read rollup-plugin-visualizer output to identify the largest modules and their dependencies. Compare against previous builds to isolate which imports caused growth. Flag unnecessary dependencies or replace heavy libraries (e.g., moment → date-fns) before they inflate production bundles.

What are good Core Web Vitals targets for my web application?▼

LCP should stay under 2.5 seconds, INP under 200 milliseconds, and CLS under 0.1. If your app is map-heavy or canvas-based, tighter INP constraints (under 100ms) typically apply. Use Lighthouse lab data or field data from real user monitoring to validate against these baselines.

Why is my Largest Contentful Paint (LCP) slow despite fast server response?▼

LCP measures when the largest visual element renders, which depends on resource loading time and rendering work. Check if render-blocking JavaScript is delaying paint, if images lack priority hints, or if fonts are blocking text rendering. Use the Performance tab flame chart to isolate the bottleneck.

How do I detect unnecessary re-renders in React components?▼

Use the React Profiler to measure component render time and frequency. Apply memo() or useMemo only when profiler data shows actual performance impact, not preemptively. Colocate state closer to where it is used to reduce re-render scope.

When should I split code instead of bundling everything together?▼

Code-split when a feature is optional, user-initiated, or infrequently used. Dynamic import() lazy-loads code only when needed, reducing initial bundle size. Measure impact with bundle visualizer before and after to confirm meaningful savings.

What does Cumulative Layout Shift measure and how do I fix it?▼

CLS measures unexpected visual movement during page load. Common causes include unspecified image dimensions, late-loading fonts, or injected ads. Reserve space with explicit width/height attributes, use font-display: swap, and load third-party scripts asynchronously to stabilize layout.