
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-codeInstalls 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