Tooluck logoTooluck
SKILL.md

optimizing-performance

Agent skill fromCloudAI-X/claude-workflow-v2

Analyzes and optimizes application performance across frontend, backend, and database layers. Use when diagnosing slowness, improving load times, optimizing queries, reducing bundle size, or when asked about performance issues.

How to install optimizing-performance

install optimizing-performance
# install the claude-workflow-v2 pack with the skills CLI
npx skills add CloudAI-X/claude-workflow-v2

# or add only this skill to Claude Code: copy the folder

skills/optimizing-performance/

# into

~/.claude/skills/optimizing-performance/ (all projects)

.claude/skills/optimizing-performance/ (one project)

skills/optimizing-performance/SKILL.md

MITFull file
1# Optimizing Performance
2
3### When to Load
4
5- **Trigger**: Diagnosing slowness, profiling, caching strategies, reducing load times, bundle size optimization
6- **Skip**: Correctness-focused work where performance is not a concern
7
8## Performance Optimization Workflow
9
10Copy this checklist and track progress:
11
12```
13Performance Optimization Progress:
14- [ ] Step 1: Measure baseline performance
15- [ ] Step 2: Identify bottlenecks
16- [ ] Step 3: Apply targeted optimizations
17- [ ] Step 4: Measure again and compare
18- [ ] Step 5: Repeat if targets not met
19```
20
21**Critical Rule**: Never optimize without data. Always profile before and after changes.
22
23## Step 1: Measure Baseline
24
25### Profiling Commands
26
27```bash
28# Node.js profiling
29node --prof app.js
30node --prof-process isolate*.log > profile.txt
31
32# Python profiling
33python -m cProfile -o profile.stats app.py
34python -m pstats profile.stats
35
36# Web performance
37lighthouse https://example.com --output=json
38```
39
40## Step 2: Identify Bottlenecks
41
42### Common Bottleneck Categories
43
44| Category | Symptoms | Tools |
45| -------- | -------------------------------- | ------------------------------- |
46| CPU | High CPU usage, slow computation | Profiler, flame graphs |
47| Memory | High RAM, GC pauses, OOM | Heap snapshots, memory profiler |
48| I/O | Slow disk/network, waiting | strace, network inspector |
49…

Excerpt shown under the repository's MIT license.

More skills in claude-workflow-v2

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates