Skip to content
Back to skills

Grey Haven Performance Optimization

ASecurity

Comprehensive performance analysis and optimization for algorithms (O(n²)→O(n)), databases (N+1 queries, indexes), React (memoization, virtual lists), bundles (code splitting), API caching, and memory leaks. 85%+ improvement rate. Use when application is slow, response times exceed SLA, high CPU/memory usage, performance budgets needed, or when user mentions 'performance', 'slow', 'optimization', 'bottleneck', 'speed up', 'latency', 'memory leak', or 'performance tuning'.

  • 666 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
devopsgobashreactapidatabaseperformance

Works with

  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill grey-haven-performance-optimization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Grey Haven Performance Optimization?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Grey Haven Performance Optimization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-grey-haven-performance-optimization/badge)](https://www.skillsdirectory.com/skills/majiayu000-grey-haven-performance-optimization)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: grey-haven-performance-optimization
description: "Comprehensive performance analysis and optimization for algorithms (O(n²)→O(n)), databases (N+1 queries, indexes), React (memoization, virtual lists), bundles (code splitting), API caching, and memory leaks. 85%+ improvement rate. Use when application is slow, response times exceed SLA, high CPU/memory usage, performance budgets needed, or when user mentions 'performance', 'slow', 'optimization', 'bottleneck', 'speed up', 'latency', 'memory leak', or 'performance tuning'."
# v2.0.43: Skills to auto-load for performance work
skills:
  - grey-haven-code-style
  - grey-haven-observability-monitoring
# v2.0.74: Tools for performance optimization
allowed-tools:
  - Read
  - Write
  - MultiEdit
  - Bash
  - Grep
  - Glob
  - TodoWrite
---

# Performance Optimization Skill

Comprehensive performance analysis and optimization techniques for identifying bottlenecks and improving application speed.

## Description

This skill provides production-ready patterns, examples, and checklists for optimizing application performance across algorithms, databases, infrastructure, and code structure.

## What's Included

### Examples (`examples/`)
- **Algorithm optimization** - Improve time complexity (O(n²) → O(n))
- **Database optimization** - Eliminate N+1 queries, add indexes
- **Bundle size reduction** - Code splitting, tree shaking
- **React performance** - Memoization, virtual lists
- **API response time** - Caching strategies, async processing
- **Memory optimization** - Reduce allocations, fix leaks

### Reference Guides (`reference/`)
- Performance profiling tools and techniques
- Benchmarking best practices
- Optimization decision frameworks
- Performance budget guidelines
- Monitoring and alerting strategies

### Templates (`templates/`)
- Performance test templates (Lighthouse, Web Vitals)
- Benchmark comparison templates
- Optimization report structures
- Performance budget definitions

## Use This Skill When

- Application is slow or unresponsive
- Response times exceed SLA targets
- High CPU/memory usage detected
- Need to meet performance budgets
- Optimizing for production deployment

## Related Agents

- `performance-optimizer` - Automated performance analysis and optimization
- `memory-profiler` - Memory leak detection and profiling
- `observability-engineer` - Production monitoring setup

## Quick Start

```bash
# View optimization examples
ls examples/

# Check reference guides
ls reference/

# Use templates for benchmarking
ls templates/
```

## Metrics

- **Optimization Success Rate**: 85%+ performance improvement
- **Coverage**: Algorithm, database, infrastructure, code structure
- **Production-Ready**: All examples tested in real applications

---

**Skill Version**: 1.0
**Last Updated**: 2025-01-15

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.