[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JM0Y2FATR95YJ526NWFXFR":3,"skill-same:01M6JM0Y2FATR95YJ526NWFXFR":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":13,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M6JM0Y2FATR95YJ526NWFXFR","performance-vitals",null,"Enforce Core Web Vitals optimization. Use when building user-facing features, reviewing performance, or when Lighthouse scores drop. Covers LCP, FID\u002FINP, CLS, and optimization techniques.","superhealth\u002Fskills-hub","superhealth","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6292112?v=4","01M6JA6E7F21BYK5W3E4P270TT","01M6JA6EC0W8MPHKDJVBZDSEZ0",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fdoyajin174\u002Fperformance-vitals\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"performance","vitals","performance vitals","edit","antigravity","features","techniques","web","web vitals","drop","enforce","use","core","write","read","Bash","team","Lighthouse","core web vitals","Optimization","2026-11-10 10:12:30",false,"---\nname: performance-vitals\ndescription: Enforce Core Web Vitals optimization. Use when building user-facing features, reviewing performance, or when Lighthouse scores drop. Covers LCP, FID\u002FINP, CLS, and optimization techniques.\nallowed-tools: Read, Glob, Grep, Edit, Write, Bash\nlicense: MIT\nmetadata:\n  author: antigravity-team\n  version: \"1.0\"\n---\n\n# Performance & Core Web Vitals\n\nCore Web Vitals 최적화를 강제하는 스킬입니다.\n\n## 2025 Context\n\n> **2024년 3월: INP(Interaction to Next Paint)가 FID를 대체**\n> **Google Search 랭킹에 Core Web Vitals 영향**\n\n## Core Web Vitals 목표\n\n| 지표 | Good | Needs Improvement | Poor |\n|------|------|-------------------|------|\n| **LCP** (Largest Contentful Paint) | ≤ 2.5s | 2.5s - 4s | > 4s |\n| **INP** (Interaction to Next Paint) | ≤ 200ms | 200ms - 500ms | > 500ms |\n| **CLS** (Cumulative Layout Shift) | ≤ 0.1 | 0.1 - 0.25 | > 0.25 |\n\n## LCP 최적화 (Largest Contentful Paint)\n\n### 문제 원인\n\n- 느린 서버 응답\n- 렌더 차단 리소스 (CSS, JS)\n- 느린 리소스 로딩\n- 클라이언트 사이드 렌더링\n\n### 해결 방법\n\n#### 1. 이미지 최적화\n\n```tsx\n\u002F\u002F ❌ BAD: 최적화 없는 이미지\n\u003Cimg src=\"\u002Fhero.jpg\" alt=\"Hero\" \u002F>\n\n\u002F\u002F ✅ GOOD: Next.js Image 컴포넌트\nimport Image from 'next\u002Fimage';\n\n\u003CImage\n  src=\"\u002Fhero.jpg\"\n  alt=\"Hero\"\n  width={1200}\n  height={600}\n  priority  \u002F\u002F LCP 이미지는 priority 추가\n  placeholder=\"blur\"\n  blurDataURL={blurDataUrl}\n\u002F>\n```\n\n#### 2. 폰트 최적화\n\n```tsx\n\u002F\u002F ✅ GOOD: Next.js 폰트 최적화\nimport { Inter } from 'next\u002Ffont\u002Fgoogle';\n\nconst inter = Inter({\n  subsets: ['latin'],\n  display: 'swap',  \u002F\u002F FOIT 방지\n  preload: true,\n});\n\n\u002F\u002F CSS\n@font-face {\n  font-family: 'Custom Font';\n  src: url('\u002Ffonts\u002Fcustom.woff2') format('woff2');\n  font-display: swap;\n}\n```\n\n#### 3. Critical CSS 인라인\n\n```tsx\n\u002F\u002F next.config.js\nmodule.exports = {\n  experimental: {\n    optimizeCss: true,\n  },\n};\n```\n\n#### 4. 프리로드\n\n```html\n\u003C!-- 중요 리소스 프리로드 -->\n\u003Clink rel=\"preload\" href=\"\u002Fhero.jpg\" as=\"image\" \u002F>\n\u003Clink rel=\"preload\" href=\"\u002Ffonts\u002Fmain.woff2\" as=\"font\" crossorigin \u002F>\n\u003Clink rel=\"preconnect\" href=\"https:\u002F\u002Fapi.example.com\" \u002F>\n```\n\n## INP 최적화 (Interaction to Next Paint)\n\n### 문제 원인\n\n- 긴 JavaScript 태스크\n- 과도한 DOM 크기\n- 비효율적인 이벤트 핸들러\n\n### 해결 방법\n\n#### 1. 긴 태스크 분할\n\n```typescript\n\u002F\u002F ❌ BAD: 긴 동기 작업\nfunction processLargeData(items: Item[]) {\n  items.forEach(item => {\n    heavyComputation(item);  \u002F\u002F 메인 스레드 블로킹\n  });\n}\n\n\u002F\u002F ✅ GOOD: 청크 분할 + yield\nasync function processLargeData(items: Item[]) {\n  const CHUNK_SIZE = 100;\n\n  for (let i = 0; i \u003C items.length; i += CHUNK_SIZE) {\n    const chunk = items.slice(i, i + CHUNK_SIZE);\n    chunk.forEach(item => heavyComputation(item));\n\n    \u002F\u002F 브라우저에 제어권 반환\n    await new Promise(resolve => setTimeout(resolve, 0));\n  }\n}\n```\n\n#### 2. 이벤트 핸들러 최적화\n\n```tsx\n\u002F\u002F ❌ BAD: 무거운 핸들러\n\u003Cinput onChange={(e) => {\n  const value = e.target.value;\n  validateAllFields();  \u002F\u002F 무거운 연산\n  updateUI();\n  sendAnalytics();\n}} \u002F>\n\n\u002F\u002F ✅ GOOD: 디바운스 + 분리\nimport { useDeferredValue, useTransition } from 'react';\n\nfunction SearchInput() {\n  const [input, setInput] = useState('');\n  const deferredInput = useDeferredValue(input);\n  const [isPending, startTransition] = useTransition();\n\n  const handleChange = (e: ChangeEvent\u003CHTMLInputElement>) => {\n    setInput(e.target.value);  \u002F\u002F 즉시 업데이트\n\n    startTransition(() => {\n      \u002F\u002F 덜 급한 업데이트는 transition으로\n      performSearch(e.target.value);\n    });\n  };\n\n  return \u003Cinput value={input} onChange={handleChange} \u002F>;\n}\n```\n\n#### 3. Web Worker 활용\n\n```typescript\n\u002F\u002F worker.ts\nself.onmessage = (e) => {\n  const result = heavyComputation(e.data);\n  self.postMessage(result);\n};\n\n\u002F\u002F main.ts\nconst worker = new Worker(new URL('.\u002Fworker.ts', import.meta.url));\n\nworker.postMessage(data);\nworker.onmessage = (e) => {\n  setResult(e.data);\n};\n```\n\n## CLS 최적화 (Cumulative Layout Shift)\n\n### 문제 원인\n\n- 크기 미지정 이미지\u002F비디오\n- 동적 콘텐츠 삽입\n- 웹폰트 FOIT\u002FFOUT\n- 애니메이션\n\n### 해결 방법\n\n#### 1. 이미지\u002F비디오 크기 지정\n\n```tsx\n\u002F\u002F ❌ BAD: 크기 미지정\n\u003Cimg src=\"\u002Fphoto.jpg\" alt=\"Photo\" \u002F>\n\n\u002F\u002F ✅ GOOD: 크기 명시\n\u003Cimg\n  src=\"\u002Fphoto.jpg\"\n  alt=\"Photo\"\n  width={800}\n  height={600}\n\u002F>\n\n\u002F\u002F ✅ GOOD: aspect-ratio 사용\n\u003Cdiv style={{ aspectRatio: '16\u002F9' }}>\n  \u003Cimg src=\"\u002Fvideo-thumb.jpg\" alt=\"Video\" style={{ width: '100%' }} \u002F>\n\u003C\u002Fdiv>\n```\n\n#### 2. 동적 콘텐츠 공간 확보\n\n```tsx\n\u002F\u002F ❌ BAD: 공간 없이 동적 삽입\n{isLoaded && \u003CBanner \u002F>}\n\n\u002F\u002F ✅ GOOD: 스켈레톤으로 공간 확보\n{isLoaded ? \u003CBanner \u002F> : \u003CBannerSkeleton \u002F>}\n\n\u002F\u002F ✅ GOOD: min-height로 공간 확보\n\u003Cdiv style={{ minHeight: '200px' }}>\n  {isLoaded && \u003CDynamicContent \u002F>}\n\u003C\u002Fdiv>\n```\n\n#### 3. 폰트 로딩\n\n```css\n\u002F* ✅ GOOD: font-display: swap *\u002F\n@font-face {\n  font-family: 'CustomFont';\n  src: url('\u002Ffont.woff2') format('woff2');\n  font-display: swap;\n}\n\n\u002F* ✅ GOOD: 폴백 폰트 크기 조정 *\u002F\n@font-face {\n  font-family: 'CustomFont';\n  src: url('\u002Ffont.woff2') format('woff2');\n  font-display: swap;\n  size-adjust: 105%;  \u002F* 폴백 폰트와 크기 맞춤 *\u002F\n}\n```\n\n#### 4. 애니메이션\n\n```css\n\u002F* ❌ BAD: 레이아웃 속성 애니메이션 *\u002F\n.animate {\n  transition: width 0.3s, height 0.3s, margin 0.3s;\n}\n\n\u002F* ✅ GOOD: transform, opacity만 사용 *\u002F\n.animate {\n  transition: transform 0.3s, opacity 0.3s;\n}\n```\n\n## 측정 도구\n\n### Lighthouse CI\n\n```yaml\n# .github\u002Fworkflows\u002Flighthouse.yml\nname: Lighthouse CI\n\non: [push]\n\njobs:\n  lighthouse:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Run Lighthouse CI\n        uses: treosh\u002Flighthouse-ci-action@v10\n        with:\n          urls: |\n            https:\u002F\u002Fexample.com\u002F\n            https:\u002F\u002Fexample.com\u002Fdashboard\n          budgetPath: .\u002Flighthouse-budget.json\n          uploadArtifacts: true\n```\n\n### lighthouse-budget.json\n\n```json\n[\n  {\n    \"path\": \"\u002F*\",\n    \"timings\": [\n      { \"metric\": \"largest-contentful-paint\", \"budget\": 2500 },\n      { \"metric\": \"cumulative-layout-shift\", \"budget\": 0.1 },\n      { \"metric\": \"interaction-to-next-paint\", \"budget\": 200 }\n    ]\n  }\n]\n```\n\n### web-vitals 라이브러리\n\n```tsx\nimport { onCLS, onINP, onLCP } from 'web-vitals';\n\nfunction sendToAnalytics(metric: Metric) {\n  console.log(metric.name, metric.value);\n\n  \u002F\u002F Analytics 전송\n  gtag('event', metric.name, {\n    value: metric.delta,\n    metric_id: metric.id,\n    metric_value: metric.value,\n    metric_delta: metric.delta,\n  });\n}\n\nonCLS(sendToAnalytics);\nonINP(sendToAnalytics);\nonLCP(sendToAnalytics);\n```\n\n## 빠른 최적화 체크리스트\n\n### LCP 개선\n\n- [ ] LCP 이미지에 `priority` 또는 `preload`\n- [ ] 이미지 포맷 최적화 (WebP\u002FAVIF)\n- [ ] 서버 응답 시간 \u003C 600ms\n- [ ] Critical CSS 인라인\n- [ ] 렌더 차단 리소스 제거\n\n### INP 개선\n\n- [ ] Long Task > 50ms 제거\n- [ ] 이벤트 핸들러 최적화\n- [ ] 무거운 연산 Web Worker로 이동\n- [ ] `useTransition`, `useDeferredValue` 활용\n- [ ] Third-party 스크립트 지연 로딩\n\n### CLS 개선\n\n- [ ] 모든 이미지\u002F비디오 크기 지정\n- [ ] 동적 콘텐츠 공간 확보 (스켈레톤)\n- [ ] `font-display: swap` 설정\n- [ ] transform\u002Fopacity만 애니메이션\n\n## Workflow\n\n### 1. 성능 측정\n\n```bash\n# Lighthouse CLI\nnpx lighthouse https:\u002F\u002Fexample.com --output=json --output-path=.\u002Flh-report.json\n\n# 또는 Chrome DevTools > Lighthouse 탭\n```\n\n### 2. 문제 진단\n\n```\nLCP > 2.5s?\n→ Network 탭에서 LCP 리소스 확인\n→ 이미지 최적화 \u002F 프리로드 적용\n\nINP > 200ms?\n→ Performance 탭에서 Long Task 확인\n→ 태스크 분할 \u002F Web Worker 적용\n\nCLS > 0.1?\n→ Layout Shift 원인 요소 확인\n→ 크기 지정 \u002F 스켈레톤 적용\n```\n\n### 3. 모니터링\n\n```\n프로덕션:\n- Google Search Console Core Web Vitals\n- Real User Monitoring (RUM)\n- web-vitals 라이브러리\n\nCI\u002FCD:\n- Lighthouse CI\n- Performance Budget 설정\n```\n\n## References\n\n- [web.dev Core Web Vitals](https:\u002F\u002Fweb.dev\u002Fvitals\u002F)\n- [Lighthouse](https:\u002F\u002Fdeveloper.chrome.com\u002Fdocs\u002Flighthouse\u002F)\n- [web-vitals library](https:\u002F\u002Fgithub.com\u002FGoogleChrome\u002Fweb-vitals)\n","# Performance & Core Web Vitals\n\nCore Web Vitals 최적화를 강제하는 스킬입니다.\n\n## 2025 Context\n\n> **2024년 3월: INP(Interaction to Next Paint)가 FID를 대체**\n> **Google Search 랭킹에 Core Web Vitals 영향**\n\n## Core Web Vitals 목표\n\n| 지표 | Good | Needs Improvement | Poor |\n|------|------|-------------------|------|\n| **LCP** (Largest Contentful Paint) | ≤ 2.5s | 2.5s - 4s | > 4s |\n| **INP** (Interaction to Next Paint) | ≤ 200ms | 200ms - 500ms | > 500ms |\n| **CLS** (Cumulative Layout Shift) | ≤ 0.1 | 0.1 - 0.25 | > 0.25 |\n\n## LCP 최적화 (Largest Contentful Paint)\n\n### 문제 원인\n\n- 느린 서버 응답\n- 렌더 차단 리소스 (CSS, JS)\n- 느린 리소스 로딩\n- 클라이언트 사이드 렌더링\n\n### 해결 방법\n\n#### 1. 이미지 최적화\n\n```tsx\n\u002F\u002F ❌ BAD: 최적화 없는 이미지\n\u003Cimg src=\"\u002Fhero.jpg\" alt=\"Hero\" \u002F>\n\n\u002F\u002F ✅ GOOD: Next.js Image 컴포넌트\nimport Image from 'next\u002Fimage';\n\n\u003CImage\n  src=\"\u002Fhero.jpg\"\n  alt=\"Hero\"\n  width={1200}\n  height={600}\n  priority  \u002F\u002F LCP 이미지는 priority 추가\n  placeholder=\"blur\"\n  blurDataURL={blurDataUrl}\n\u002F>\n```\n\n#### 2. 폰트 최적화\n\n```tsx\n\u002F\u002F ✅ GOOD: Next.js 폰트 최적화\nimport { Inter } from 'next\u002Ffont\u002Fgoogle';\n\nconst inter = Inter({\n  subsets: ['latin'],\n  display: 'swap',  \u002F\u002F FOIT 방지\n  preload: true,\n});\n\n\u002F\u002F CSS\n@font-face {\n  font-family: 'Custom Font';\n  src: url('\u002Ffonts\u002Fcustom.woff2') format('woff2');\n  font-display: swap;\n}\n```\n\n#### 3. Critical CSS 인라인\n\n```tsx\n\u002F\u002F next.config.js\nmodule.exports = {\n  experimental: {\n    optimizeCss: true,\n  },\n};\n```\n\n#### 4. 프리로드\n\n```html\n\u003C!-- 중요 리소스 프리로드 -->\n\u003Clink rel=\"preload\" href=\"\u002Fhero.jpg\" as=\"image\" \u002F>\n\u003Clink rel=\"preload\" href=\"\u002Ffonts\u002Fmain.woff2\" as=\"font\" crossorigin \u002F>\n\u003Clink rel=\"preconnect\" href=\"https:\u002F\u002Fapi.example.com\" \u002F>\n```\n\n## INP 최적화 (Interaction to Next Paint)\n\n### 문제 원인\n\n- 긴 JavaScript 태스크\n- 과도한 DOM 크기\n- 비효율적인 이벤트 핸들러\n\n### 해결 방법\n\n#### 1. 긴 태스크 분할\n\n```typescript\n\u002F\u002F ❌ BAD: 긴 동기 작업\nfunction processLargeData(items: Item[]) {\n  items.forEach(item => {\n    heavyComputation(item);  \u002F\u002F 메인 스레드 블로킹\n  });\n}\n\n\u002F\u002F ✅ GOOD: 청크 분할 + yield\nasync function processLargeData(items: Item[]) {\n  const CHUNK_SIZE = 100;\n\n  for (let i = 0; i \u003C items.length; i += CHUNK_SIZE) {\n    const chunk = items.slice(i, i + CHUNK_SIZE);\n    chunk.forEach(item => heavyComputation(item));\n\n    \u002F\u002F 브라우저에 제어권 반환\n    await new Promise(resolve => setTimeout(resolve, 0));\n  }\n}\n```\n\n#### 2. 이벤트 핸들러 최적화\n\n```tsx\n\u002F\u002F ❌ BAD: 무거운 핸들러\n\u003Cinput onChange={(e) => {\n  const value = e.target.value;\n  validateAllFields();  \u002F\u002F 무거운 연산\n  updateUI();\n  sendAnalytics();\n}} \u002F>\n\n\u002F\u002F ✅ GOOD: 디바운스 + 분리\nimport { useDeferredValue, useTransition } from 'react';\n\nfunction SearchInput() {\n  const [input, setInput] = useState('');\n  const deferredInput = useDeferredValue(input);\n  const [isPending, startTransition] = useTransition();\n\n  const handleChange = (e: ChangeEvent\u003CHTMLInputElement>) => {\n    setInput(e.target.value);  \u002F\u002F 즉시 업데이트\n\n    startTransition(() => {\n      \u002F\u002F 덜 급한 업데이트는 transition으로\n      performSearch(e.target.value);\n    });\n  };\n\n  return \u003Cinput value={input} onChange={handleChange} \u002F>;\n}\n```\n\n#### 3. Web Worker 활용\n\n```typescript\n\u002F\u002F worker.ts\nself.onmessage = (e) => {\n  const result = heavyComputation(e.data);\n  self.postMessage(result);\n};\n\n\u002F\u002F main.ts\nconst worker = new Worker(new URL('.\u002Fworker.ts', import.meta.url));\n\nworker.postMessage(data);\nworker.onmessage = (e) => {\n  setResult(e.data);\n};\n```\n\n## CLS 최적화 (Cumulative Layout Shift)\n\n### 문제 원인\n\n- 크기 미지정 이미지\u002F비디오\n- 동적 콘텐츠 삽입\n- 웹폰트 FOIT\u002FFOUT\n- 애니메이션\n\n### 해결 방법\n\n#### 1. 이미지\u002F비디오 크기 지정\n\n```tsx\n\u002F\u002F ❌ BAD: 크기 미지정\n\u003Cimg src=\"\u002Fphoto.jpg\" alt=\"Photo\" \u002F>\n\n\u002F\u002F ✅ GOOD: 크기 명시\n\u003Cimg\n  src=\"\u002Fphoto.jpg\"\n  alt=\"Photo\"\n  width={800}\n  height={600}\n\u002F>\n\n\u002F\u002F ✅ GOOD: aspect-ratio 사용\n\u003Cdiv style={{ aspectRatio: '16\u002F9' }}>\n  \u003Cimg src=\"\u002Fvideo-thumb.jpg\" alt=\"Video\" style={{ width: '100%' }} \u002F>\n\u003C\u002Fdiv>\n```\n\n#### 2. 동적 콘텐츠 공간 확보\n\n```tsx\n\u002F\u002F ❌ BAD: 공간 없이 동적 삽입\n{isLoaded && \u003CBanner \u002F>}\n\n\u002F\u002F ✅ GOOD: 스켈레톤으로 공간 확보\n{isLoaded ? \u003CBanner \u002F> : \u003CBannerSkeleton \u002F>}\n\n\u002F\u002F ✅ GOOD: min-height로 공간 확보\n\u003Cdiv style={{ minHeight: '200px' }}>\n  {isLoaded && \u003CDynamicContent \u002F>}\n\u003C\u002Fdiv>\n```\n\n#### 3. 폰트 로딩\n\n```css\n\u002F* ✅ GOOD: font-display: swap *\u002F\n@font-face {\n  font-family: 'CustomFont';\n  src: url('\u002Ffont.woff2') format('woff2');\n  font-display: swap;\n}\n\n\u002F* ✅ GOOD: 폴백 폰트 크기 조정 *\u002F\n@font-face {\n  font-family: 'CustomFont';\n  src: url('\u002Ffont.woff2') format('woff2');\n  font-display: swap;\n  size-adjust: 105%;  \u002F* 폴백 폰트와 크기 맞춤 *\u002F\n}\n```\n\n#### 4. 애니메이션\n\n```css\n\u002F* ❌ BAD: 레이아웃 속성 애니메이션 *\u002F\n.animate {\n  transition: width 0.3s, height 0.3s, margin 0.3s;\n}\n\n\u002F* ✅ GOOD: transform, opacity만 사용 *\u002F\n.animate {\n  transition: transform 0.3s, opacity 0.3s;\n}\n```\n\n## 측정 도구\n\n### Lighthouse CI\n\n```yaml\n# .github\u002Fworkflows\u002Flighthouse.yml\nname: Lighthouse CI\n\non: [push]\n\njobs:\n  lighthouse:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n\n      - name: Run Lighthouse CI\n        uses: treosh\u002Flighthouse-ci-action@v10\n        with:\n          urls: |\n            https:\u002F\u002Fexample.com\u002F\n            https:\u002F\u002Fexample.com\u002Fdashboard\n          budgetPath: .\u002Flighthouse-budget.json\n          uploadArtifacts: true\n```\n\n### lighthouse-budget.json\n\n```json\n[\n  {\n    \"path\": \"\u002F*\",\n    \"timings\": [\n      { \"metric\": \"largest-contentful-paint\", \"budget\": 2500 },\n      { \"metric\": \"cumulative-layout-shift\", \"budget\": 0.1 },\n      { \"metric\": \"interaction-to-next-paint\", \"budget\": 200 }\n    ]\n  }\n]\n```\n\n### web-vitals 라이브러리\n\n```tsx\nimport { onCLS, onINP, onLCP } from 'web-vitals';\n\nfunction sendToAnalytics(metric: Metric) {\n  console.log(metric.name, metric.value);\n\n  \u002F\u002F Analytics 전송\n  gtag('event', metric.name, {\n    value: metric.delta,\n    metric_id: metric.id,\n    metric_value: metric.value,\n    metric_delta: metric.delta,\n  });\n}\n\nonCLS(sendToAnalytics);\nonINP(sendToAnalytics);\nonLCP(sendToAnalytics);\n```\n\n## 빠른 최적화 체크리스트\n\n### LCP 개선\n\n- [ ] LCP 이미지에 `priority` 또는 `preload`\n- [ ] 이미지 포맷 최적화 (WebP\u002FAVIF)\n- [ ] 서버 응답 시간 \u003C 600ms\n- [ ] Critical CSS 인라인\n- [ ] 렌더 차단 리소스 제거\n\n### INP 개선\n\n- [ ] Long Task > 50ms 제거\n- [ ] 이벤트 핸들러 최적화\n- [ ] 무거운 연산 Web Worker로 이동\n- [ ] `useTransition`, `useDeferredValue` 활용\n- [ ] Third-party 스크립트 지연 로딩\n\n### CLS 개선\n\n- [ ] 모든 이미지\u002F비디오 크기 지정\n- [ ] 동적 콘텐츠 공간 확보 (스켈레톤)\n- [ ] `font-display: swap` 설정\n- [ ] transform\u002Fopacity만 애니메이션\n\n## Workflow\n\n### 1. 성능 측정\n\n```bash\n# Lighthouse CLI\nnpx lighthouse https:\u002F\u002Fexample.com --output=json --output-path=.\u002Flh-report.json\n\n# 또는 Chrome DevTools > Lighthouse 탭\n```\n\n### 2. 문제 진단\n\n```\nLCP > 2.5s?\n→ Network 탭에서 LCP 리소스 확인\n→ 이미지 최적화 \u002F 프리로드 적용\n\nINP > 200ms?\n→ Performance 탭에서 Long Task 확인\n→ 태스크 분할 \u002F Web Worker 적용\n\nCLS > 0.1?\n→ Layout Shift 원인 요소 확인\n→ 크기 지정 \u002F 스켈레톤 적용\n```\n\n### 3. 모니터링\n\n```\n프로덕션:\n- Google Search Console Core Web Vitals\n- Real User Monitoring (RUM)\n- web-vitals 라이브러리\n\nCI\u002FCD:\n- Lighthouse CI\n- Performance Budget 설정\n```\n\n## References\n\n- [web.dev Core Web Vitals](https:\u002F\u002Fweb.dev\u002Fvitals\u002F)\n- [Lighthouse](https:\u002F\u002Fdeveloper.chrome.com\u002Fdocs\u002Flighthouse\u002F)\n- [web-vitals library](https:\u002F\u002Fgithub.com\u002FGoogleChrome\u002Fweb-vitals)\n",{"name":5,"license":14,"metadata":43,"description":7,"allowed-tools":46},{"author":44,"version":45},"antigravity-team","1.0","Read, Glob, Grep, Edit, Write, Bash","master","08cc2532077058aa50e6e18f54695bc256c88152","skills\u002Fdoyajin174\u002Fperformance-vitals","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub","https:\u002F\u002Fgithub.com\u002Fsuperhealth","java engineer","2026-04-06 22:07:23",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add superhealth\u002Fskills-hub --skill performance-vitals",{"tool":60,"command":61},"bunx","bunx skills add superhealth\u002Fskills-hub --skill performance-vitals",{"tool":63,"command":64},"pnpm","pnpm dlx skills add superhealth\u002Fskills-hub --skill performance-vitals","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fdoyajin174\u002Fperformance-vitals\u002FSKILL.md",true,[68],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"skill-report.json","REFERENCE","参考文档",14963,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fdoyajin174\u002Fperformance-vitals\u002Fskill-report.json",[75,105,132,145,161,185],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":86,"publishedAt":38},"01M6MC9F3WHV8S8FZ2W4TRB0FE","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fzhanlincui\u002Fvercel-react-best-practices\u002FSKILL.md",[81],{"categoryNo":82,"categoryName":83,"taxonomyType":84,"taxonomyTypeDesc":85},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",[87,88,89,90,91,92,93,94,95,96,97,98,99,37,100,101,102,103,18,104],"react","vercel react best practices","best practices","vercel","react best practices","data fetching","code","triggers","pages","next","patterns","refactoring","data","tasks","guidelines","react components","components","writing",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":115,"publishedAt":38},"01M6MB8KWE1Q5A5KERR7RFTQWP","vue-testing-best-practices","Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-testing-best-practices\u002FSKILL.md",[111,114],{"categoryNo":112,"categoryName":113,"taxonomyType":84,"taxonomyTypeDesc":85},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":82,"categoryName":83,"taxonomyType":84,"taxonomyTypeDesc":85},[116,117,118,89,119,120,121,122,123,29,124,97,125,126,127,128,129,130,131],"vue testing best practices","testing best practices","vue","testing","testing patterns","js","e2e","vitest","component","test","mocking","for","utils","e2e testing","github","playwright",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":139,"publishedAt":38},"01M6MB8GK06M6GA4KVYNDV1BZP","vue-router-best-practices","Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-router-best-practices\u002FSKILL.md",[138],{"categoryNo":82,"categoryName":83,"taxonomyType":84,"taxonomyTypeDesc":85},[89,118,140,141,142,97,143,144,124,130],"router","vue router best practices","route","navigation","lifecycle",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":152,"publishedAt":38},"01M6MB8DQF21TZMQ9XC3745ERW","vue-pinia-best-practices","Pinia stores, state management patterns, store setup, and reactivity with stores.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-pinia-best-practices\u002FSKILL.md",[151],{"categoryNo":82,"categoryName":83,"taxonomyType":84,"taxonomyTypeDesc":85},[153,154,118,89,155,156,97,157,158,159,160,130],"vue pinia best practices","pinia","with","store","management","state","state management","setup",{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":176,"publishedAt":38},"01M6MB8A7MC08747J9TV4GWQ9A","vue-options-api-best-practices","Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-options-api-best-practices\u002FSKILL.md",[167,168,171],{"categoryNo":82,"categoryName":83,"taxonomyType":84,"taxonomyTypeDesc":85},{"categoryNo":169,"categoryName":170,"taxonomyType":84,"taxonomyTypeDesc":85},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":172,"categoryName":173,"taxonomyType":174,"taxonomyTypeDesc":175},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[118,177,178,179,89,180,181,182,183,99,130,184],"options","vue options api best practices","api","methods","reference","only","context","style",{"skillNo":186,"name":187,"nameZh":6,"description":188,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":189,"categories":190,"keywords":192,"publishedAt":38},"01M6MB85ZTQC24Q04X49MM4YXN","vue-development-guides","A collection of best practices and tips for developing applications using Vue.js. This skill MUST be apply when developing, refactoring or reviewing Vue.js or Nuxt projects.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-development-guides\u002FSKILL.md",[191],{"categoryNo":82,"categoryName":83,"taxonomyType":84,"taxonomyTypeDesc":85},[193,118,194,195,130,196,197,127,198,199,200,121,98,201,202,89],"development","guides","vue development guides","tips","apply","project","nuxt","projects","collection","applications"]