onewave-ai avatar

Performance Profiler

A solid reference for tracking down performance issues across your stack. It covers the essentials: Core Web Vitals with Lighthouse, React DevTools profiling, bundle analysis for bloat, and Node.js CPU and memory debugging with tools like Clinic.js. The React optimization patterns are standard but well organized, from memoization to virtualization with react-window. The database section handles EXPLAIN ANALYZE and N+1 query fixes. What makes this useful is the quick wins checklist at the end. When your app is slow and you need to methodically work through possible causes, this gives you a decent roadmap without overthinking it.

skills.sh installs
327
GitHub stars
422
last updated
Aug 21, 2026

Install

$ npx -y skills add onewave-ai/claude-skills --skill performance-profiler --agent claude-code

Installs into .claude/skills of the current project.

Files

Performance Profiler

Instructions

When profiling performance:

  1. Identify the bottleneck type: Network, rendering, memory, or compute
  2. Measure baseline before optimizing
  3. Profile with appropriate tools
  4. Apply optimizations
  5. Measure improvement

Web Performance

Core Web Vitals

# Lighthouse CLI
npx lighthouse https://yoursite.com --view

# With specific metrics
npx lighthouse https://yoursite.com --only-categories=performance

Target Metrics:

MetricGoodNeeds WorkPoor
LCP (Largest Contentful Paint)< 2.5s2.5-4s> 4s
INP (Interaction to Next Paint)< 200ms200-500ms> 500ms
CLS (Cumulative Layout Shift)< 0.10.1-0.25> 0.25

Bundle Analysis

# Next.js
ANALYZE=true npm run build

# Webpack
npx webpack-bundle-analyzer stats.json

# Vite
npx vite-bundle-visualizer

React Performance

React DevTools Profiler

  1. Install React DevTools browser extension
  2. Open DevTools → Profiler tab
  3. Click Record, interact with app, stop recording
  4. Analyze flame graph for slow components

Common React Optimizations

Sponsors

Details

Repository
github.com/onewave-ai/claude-skills
Category
Debugging
First seen
Jun 3, 2026

More from onewave-ai/claude-skills

All 108

Recommended

More Debugging
1charleswiltgen avataraxiom-performance-profilingcharleswiltgen/axiomUse when app feels slow, memory grows over time, battery drains fast, or you want to profile proactively - decision trees to choose the right Instruments tool, 185skills.sh installs
2awslabs avatarhyperpod-performance-debuggerawslabs/agent-pluginsDiagnose performance issues on Amazon SageMaker HyperPod clusters — uneven NCCL bandwidth across nodes and poor filesystem throughput. Read-only. Surfaces host-0skills.sh installs
3chromedevtools avatarmemory-leak-debuggingchromedevtools/chrome-devtools-mcpDiagnoses and resolves memory leaks in JavaScript/Node.js applications. Use when a user reports high memory usage, OOM errors, or wants to capture, compare, or 3.5Kskills.sh installs
4sickn33 avatarerror-diagnostics-smart-debugsickn33/antigravity-awesome-skillserror diagnostics smart debug356skills.sh installs
5davila7 avatarperformance-profilingdavila7/claude-code-templatesPerformance profiling principles. Measurement, analysis, and optimization techniques.349skills.sh installs
6sickn33 avatarerror-debugging-error-tracesickn33/antigravity-awesome-skillserror debugging error trace281skills.sh installs