使い方
- インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
- 必要なツール、認証情報、対応環境を原文で確認します。
- 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/hadimiftahulf/antigravity-skills --skill optimize-perf開始前の確認
- 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
- スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。
Optimize Performance (The Racer 🏎️)
Merged: performance-profiler + optimize-perf.
When to Activate
- User mentions: "slow", "optimize", "performance", "benchmark", "N+1", "memory".
Phase 1: Profiling (formerly performance-profiler)
Detect anti-patterns before optimizing:
- Database: N+1 queries, missing indexes, full table scans, unbounded queries.
- Backend: Synchronous IO in request cycle, blocking calls, missing caching.
- Frontend: Large bundle size, unoptimized images, excessive re-renders, layout thrashing.
- Memory: Object retention, circular references, unbounded lists.
Phase 2: Optimization
After profiling, apply fixes:
- Database: Add indexes, eager loading, query optimization, pagination.
- Backend: Async processing, queue jobs, Redis/Memcached caching, connection pooling.
- Frontend: Code splitting, lazy loading, image optimization, memoization.
Rules
- Profile FIRST, optimize SECOND. Never guess.
- Measure before and after. Quantify improvement.
- One optimization at a time to isolate impact.



