cloudai-x avatar

Optimizing Performance

This one walks you through the full performance optimization cycle: measure baseline, identify bottlenecks, apply fixes, measure again. It covers frontend stuff like bundle splitting and memoization, backend patterns like multi-layer caching and async job queues, plus database query optimization. The real value is in the structure. It forces you to profile before changing anything and gives you concrete metrics to hit (P95 under 500ms, LCP under 2.5s). Good for when something feels slow but you're not sure where to start digging. The comparison tables and checklist format keep you honest about whether your changes actually helped.

skills.sh installs
225
GitHub stars
1.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add cloudai-x/claude-workflow-v2 --skill optimizing-performance --agent claude-code

Installs into .claude/skills of the current project.

Files

Optimizing Performance

When to Load

  • Trigger: Diagnosing slowness, profiling, caching strategies, reducing load times, bundle size optimization
  • Skip: Correctness-focused work where performance is not a concern

Performance Optimization Workflow

Copy this checklist and track progress:

Performance Optimization Progress:
- [ ] Step 1: Measure baseline performance
- [ ] Step 2: Identify bottlenecks
- [ ] Step 3: Apply targeted optimizations
- [ ] Step 4: Measure again and compare
- [ ] Step 5: Repeat if targets not met

Critical Rule: Never optimize without data. Always profile before and after changes.

Step 1: Measure Baseline

Profiling Commands

# Node.js profiling
node --prof app.js
node --prof-process isolate*.log > profile.txt

# Python profiling
python -m cProfile -o profile.stats app.py
python -m pstats profile.stats

# Web performance
lighthouse https://example.com --output=json

Step 2: Identify Bottlenecks

Common Bottleneck Categories

Sponsors

Details

Repository
github.com/cloudai-x/claude-workflow-v2
Categories
Frontend Development, Backend & APIs, Debugging, Automation & Workflows, Databases
License
MIT
First seen
Jun 3, 2026

More from cloudai-x/claude-workflow-v2

All 14
1levnikolaevich avatarln-832-bundle-optimizerlevnikolaevich/claude-code-skillsReduces JS/TS bundle size via tree-shaking, code splitting, and unused dependency removal. Use when optimizing frontend bundle size.225skills.sh installs
2nexu-io avatarhyperframesnexu-io/open-designCreate video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML. Use when 220skills.sh installs
3el-feo avatarcucumber-gherkinel-feo/ai-contextBDD testing with Cucumber and Gherkin for Ruby and Rails applications. Use when writing feature files (.feature), step definitions, hooks, or implementing Behav215skills.sh installs
4charleswiltgen avataraxiom-ios-uicharleswiltgen/axiomUse when building, fixing, or improving ANY iOS UI including SwiftUI, UIKit, layout, navigation, animations, design guidelines. Covers view updates, layout bugs213skills.sh installs
5nexu-io avatarreplit-decknexu-io/open-designSingle-file horizontal-swipe HTML deck in the style of Replit Slides's landing-page template gallery. Eight distinct themes (helix, holm, vance, bevel, world-da209skills.sh installs
6base avatarmigrating-an-onchainkit-appbase/skillsMigrates apps from @coinbase/onchainkit to standalone wagmi/viem components. Handles provider replacement (OnchainKitProvider to WagmiProvider), wallet componen208skills.sh installs