
Performance Optimizer
This walks you through the measure-optimize-verify cycle for fixing slow code. It covers the usual suspects: N+1 queries, missing indexes, bloated payloads, unnecessary re-renders, and algorithmic inefficiency. The examples are concrete, like adding database indexes or switching from sequential to parallel API calls with Promise.all. What's useful here is the emphasis on measuring before and after with actual timing code, not just guessing at what's slow. It includes quick wins like enabling gzip and adding caching, plus a checklist to make sure you don't break things while speeding them up. Good for when users complain about lag or you're staring at a slow query log.
- skills.sh installs
- 124
- GitHub stars
- 39.4K
- last updated
- Jun 3, 2026
Install
$ npx -y skills add sickn33/antigravity-awesome-skills --skill performance-optimizer --agent claude-codeInstalls into .claude/skills of the current project.
Files
Performance Optimizer
Find and fix performance bottlenecks. Measure, optimize, verify. Make it fast.
When to Use This Skill
- App is slow or laggy
- User complains about performance
- Page load times are high
- API responses are slow
- Database queries take too long
- User mentions "slow", "lag", "performance", or "optimize"
The Optimization Process
1. Measure First
Never optimize without measuring:
// Measure execution time
console.time('operation');
await slowOperation();
console.timeEnd('operation'); // operation: 2341ms
What to measure:
- Page load time
- API response time
- Database query time
- Function execution time
- Memory usage
- Network requests
2. Find the Bottleneck
Use profiling tools to find the slow parts:
Browser:
DevTools → Performance tab → Record → Stop
Look for long tasks (red bars)
Node.js:
node --prof app.js
node --prof-process isolate-*.log > profile.txt
Database:
EXPLAIN ANALYZE SELECT * FROM users WHERE email = 'test@example.com';
3. Optimize
Fix the slowest thing first (biggest impact).
Common Optimizations
Database Queries
Sponsors
Details
- Repository
- github.com/sickn33/antigravity-awesome-skills
- Category
- Debugging
- First seen
- Jun 3, 2026
More from sickn33/antigravity-awesome-skills
All 708- Warren Buffett124
- Wordpress Woocommerce Development123
- Sqlmap Database Pentesting121
- Agentfolio120
- Appdeploy120
- Asana Automation120
- Fp Ts Pragmatic120
- Android Ui Verification119
- Cloud Devops117
- Notion Automation117
- Fal Upscale116
- Clickup Automation115
- Legacy Modernizer115
- Dx Optimizer113
- Hybrid Cloud Architect113
- Api Fuzzing Bug Bounty
- Broken Authentication
- Burp Suite Testing
- Cross Site Scripting And HTML Injection Testing
- File Path Traversal
- IDOR Vulnerability Testing
- Linux Production Shell Scripts
- Red Team Tools And Methodology
- Scanning Tools