# Optimize Application Performance

Slow applications reduce reliability and user trust. This skill helps Claude, Codex, and Claude Code find bottlenecks and plan measurable fixes.

## Install

```bash
npx skillstore add joseph obrien/89jobrien-performance
```

## Metadata

- Status: approved
- Slug: 89jobrien-performance
- Version: 1.0.1
- Author version: 1.0.1
- Skillstore revision: r1
- Version status: valid
- Tree hash: 6997a9263ccfb156e227e6cf8c3874dfc47ed5bb1e0cab6602e3c2a812cfe213
- Author: Joseph OBrien
- GitHub username: 89jobrien
- License: MIT
- Repository: https://github.com/89jobrien/steve/tree/main/steve/skills/performance
- Ref: c4037264bbd363c572662d6154a3ab28f5ca4f53
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: network, scripts, external\_commands
- Quality score: 72
- Public page: https://skillstore.pages.dev/skills/89jobrien-performance
- Manifest: https://skillstore.pages.dev/api/skills/89jobrien-performance/manifest

## Capabilities

- Analyze application latency, throughput, error rates, CPU usage, and memory usage.
- Identify database issues such as slow queries, missing indexes, and N\+1 query patterns.
- Create load testing and stress testing plans for APIs and services.
- Recommend React rendering, memoization, bundle size, and Core Web Vitals improvements.
- Prepare performance reports with bottlenecks, root causes, expected impact, and monitoring guidance.

## Use Cases

- Diagnose Slow APIs: Review endpoint metrics, query behavior, and code paths to find the highest impact latency fixes.
- Improve Web Vitals: Find React rendering, bundle, image, and layout issues that affect page speed and user experience.
- Plan Capacity Tests: Design authorized load tests with realistic traffic phases, thresholds, and monitoring requirements.

## Prompt Templates

### Find Basic Bottlenecks

```
Analyze this application for performance bottlenecks. Focus on response time, CPU, memory, and database queries. Return prioritized fixes with expected impact.
```

### Review React Performance

```
Review this React app for unnecessary renders, heavy components, bundle size issues, and Core Web Vitals risks. Suggest measurable improvements.
```

### Design a Load Test

```
Create a load test plan for this API. Include target environment, user profile, phases, thresholds, metrics, and stop conditions.
```

### Build an Optimization Roadmap

```
Use these metrics, traces, and code notes to produce a performance roadmap. Rank fixes by impact, effort, risk, and validation method.
```

## Limitations

- It needs measurements, logs, traces, or source code for reliable conclusions.
- It cannot prove production impact without running controlled tests.
- Load testing requires explicit authorization and safe target limits.
- It does not replace an APM, profiler, database monitor, or browser lab tool.

## Best Practices

- Start with baseline metrics before proposing optimizations.
- Run load tests only on authorized local, staging, or owned production targets.
- Verify each fix with before and after measurements.

## Anti Patterns

- Optimizing code before measuring the real bottleneck.
- Running stress tests against third-party or unknown targets.
- Adding React memoization everywhere without checking render cost.

## Security Audit

- Audited at: 2026-07-05T13:22:25.139\+00:00
- Summary: The static findings are false positives caused by Markdown examples, React lazy loading samples, and performance terminology. A contextual risk remains because load and stress testing can create high-volume traffic without explicit authorization guardrails.

## Stats

- Views: 281
- Downloads: 10
- Favorites: 0
- Popularity score: 0
