本文へ移動
cccskills
無料GitHub で公開

perf-profile

Performance profiling workflow: identify bottlenecks, measure against budgets, prioritize optimizations.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcaneスター 3(GitHub 3 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Scope

System name argument → profile that system. full → all systems.

Performance Budgets

Load from design docs or CLAUDE.md. Typical targets:

MetricMobile (RN)WebNotes
JS thread<16.67ms/frame—60fps budget
TTI<3s<2sTime to interactive
Memory<200MB—Per-app on device
Bundle size<10MB OTA<200KB initialCompressed
Core Web Vitals—LCP<2.5s, FID<100ms, CLS<0.1Web only

Tool Selection

ScenarioToolWhen to use
React re-rendersReact DevTools ProfilerUnnecessary renders, slow components
JS thread bottlenecksFlipper / Hermes profilerFrame drops, slow interactions
Native iOS perfXcode InstrumentsMemory leaks, CPU spikes, energy
Native Android perfAndroid Studio ProfilerMemory, CPU, network on-device
Web performanceLighthouse + Chrome DevToolsCWV, bundle analysis, network
Bundle bloatnpx expo-doctor, source-map-explorerLarge dependencies, tree-shaking

What to Profile

CPU: nested loops over large collections, string ops in hot paths, per-frame allocations, expensive bridge calls Memory: data structure growth, leaked refs, image/asset footprint, caches without eviction Rendering: overlapping views (overdraw), non-virtualized lists, animations not on UI thread, unoptimized images I/O: sync storage on main thread, network waterfalls, large payload serialization

Common Bottlenecks — Decision Table

SymptomLikely causeFix approach
Choppy scrollingNon-virtualized list or heavy row renderFlatList/FlashList + memo rows
Slow navigationHeavy screen mount + data fetchPrefetch + lazy load
Memory climbs over timeListener/subscription leaksCleanup in useEffect returns
Large bundleUnused deps or unshaken importsBundle analysis + code splitting
Slow startupToo much sync init workDefer non-critical init, lazy imports
Bridge spamFrequent native↔JS callsBatch operations, use JSI where possible

Report Sections

  1. Budget vs Actual — table with OK / WARNING / OVER status
  2. Hotspots — location, issue, estimated impact, fix effort (S/M/L)
  3. Recommendations — priority-ordered with expected gain and risk
  4. Quick Wins — fixable in <1 hour
  5. Needs Runtime Profiling — static analysis cannot confirm

For M/L effort hotspots, ask user: Implement now | Reduce scope (/scope-check) | Defer | Escalate (/architecture-decision)

Anti-patterns

  • Optimizing without measuring — gut feelings are unreliable
  • Profiling in dev mode — always use production/release builds
  • Ignoring memory leaks — they compound and cause OOM crashes
  • Recommendations without estimated impact — "make it faster" is not actionable
  • Profiling only on simulator — always validate on real target hardware
  • Premature optimization — profile first, optimize the proven bottleneck

Checklist

  • Performance budgets loaded from design docs or CLAUDE.md
  • Profiling tools selected matching the target platform and scenario
  • Bottlenecks measured with actual numbers compared against budget thresholds
  • Hotspot fixes prioritized by impact (estimated gain) and effort (S/M/L)
  • Report generated with Budget vs Actual table and OK/WARNING/OVER status
  • Items needing runtime profiling explicitly flagged as unconfirmed by static analysis

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

SebastianLuser のスキルをすべて見る

このスキルの問題を報告する