スキル一覧に戻る
kprsnt2

performance

by kprsnt2

0🍴 0📅 2026年1月15日
GitHubで見るManusで実行

SKILL.md


name: performance description: Web performance optimization best practices including Core Web Vitals, loading, and caching. globs: ["/*.html", "/.css", "**/.js", "/webpack.config.*", "/vite.config.*"] priority: 75 tags: ["performance"]

Web Performance Best Practices

Core Web Vitals

  • LCP (Largest Contentful Paint) < 2.5s
  • FID (First Input Delay) < 100ms
  • CLS (Cumulative Layout Shift) < 0.1
  • Measure with Lighthouse/WebPageTest

Loading Performance

  • Minimize bundle size
  • Code split by route
  • Lazy load images/components
  • Use preload for critical resources
  • Enable compression (gzip/brotli)

JavaScript

  • Tree shake unused code
  • Defer non-critical scripts
  • Use Web Workers for heavy computation
  • Debounce/throttle event handlers
  • Avoid memory leaks

CSS

  • Minimize CSS
  • Use critical CSS inline
  • Avoid layout thrashing
  • Use CSS containment
  • Prefer transform over position

Images

  • Use modern formats (WebP, AVIF)
  • Implement responsive images
  • Lazy load below-fold images
  • Use image CDN
  • Compress appropriately

Caching

  • Set proper cache headers
  • Use service workers
  • Cache API responses
  • Use edge caching (CDN)
  • Implement stale-while-revalidate

Network

  • Use HTTP/2 or HTTP/3
  • Reduce DNS lookups
  • Use connection preload/preconnect
  • Minimize redirects
  • Enable HTTPS

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です