Optimize

Analyze and improve performance of a file, component, or system. Measure first, then fix.

RhythmMittal19 73bb602 663 B Updated

File contents

Target

$ARGUMENTS

Protocol: Measure → Profile → Prioritize → Optimize → Verify

  1. Measure: Read target, identify bottlenecks (re-renders, N+1 queries, O(n²), memory leaks)
  2. Profile: Check bundle size, render frequency, query performance
  3. Prioritize: Rank by impact — only fix what matters
  4. Optimize: ONE change at a time, measure before/after
  5. Quick Wins: React.memo, useMemo, dynamic imports, debounce, pagination, lazy loading

Show findings with estimated impact before making changes.

RhythmMittal19/claude-config/tree/main/skills/optimize commit 73bb60238d

Frequently asked questions

npx skillmds@latest add rhythmmittal19/optimize