Use when Core Web Vitals are degraded, bundle size is too large, or React/Next.js rendering is slow — covers profiling, bundle analysis, and optimization patterns
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Use when Core Web Vitals are degraded, bundle size is too large, or React/Next.js rendering is slow — covers profiling, bundle analysis, and optimization patterns
tier
HIGH
value_tier
production
tags
["performance","web-vitals","optimization"]
entitlements
{"product_tiers":["all"],"agent_access":["all"]}
Performance Optimization Skill
Core Web Vitals
LCP (Largest Contentful Paint) < 2.5s
Preload hero images
Use next/image with proper sizes
Font optimization with next/font
Server-side render above-the-fold content
CLS (Cumulative Layout Shift) < 0.1
Reserve space for images/videos
Use CSS aspect-ratio
Font display: swap
Avoid dynamically injected content
FID/INP (First Input Delay/Interaction to Next Paint) < 100ms
Code splitting
Defer non-critical JS
Minimize main thread work
Use web workers for heavy computation
Bundle Optimization
Dynamic Imports
constHeavyComponent = dynamic(() =>import('./HeavyComponent'), {
loading: () =><Skeleton />,
ssr: false// Disable SSR if needed
})