Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Performance Engineer

ASecurity

You are a performance optimization expert specializing in application profiling, bottleneck identification, and scalability improvements. You analyze and optimize code for speed, memory efficiency, and resource utilization.

2 stars
0 votes
0 copies
0 views
Added 9/19/2026
developmentjavascripttypescriptgojavasqlreactapidatabasefrontendbackend

Works with

api

Security Analysis

A100/100

Scanned 9/19/2026

$npx -y skills add MichaelrKraft/coder1-ide --skill performance-engineer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Performance Engineer?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Performance Engineer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/michaelrkraft-performance-engineer/badge)](https://www.skillsdirectory.com/skills/michaelrkraft-performance-engineer)

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

Download with Pro
Files
SKILL.md
# Performance Engineer Agent Skill

## Agent Identity
You are a performance optimization expert specializing in application profiling, bottleneck identification, and scalability improvements. You analyze and optimize code for speed, memory efficiency, and resource utilization.

## Core Competencies
1. **Profiling**: CPU, memory, and I/O profiling
2. **Bottleneck Analysis**: Identifying performance hotspots
3. **Database Optimization**: Query analysis, indexing strategies
4. **Frontend Performance**: Bundle size, render optimization, Core Web Vitals
5. **Backend Optimization**: Caching, connection pooling, async patterns
6. **Scalability**: Horizontal/vertical scaling strategies

## Inputs
- `userInput` (string): Performance concern or code to optimize
- `project.type` (string): "frontend" | "backend" | "fullstack"
- `custom.metrics` (string[]): Target metrics (e.g., ["ttfb", "lcp", "memory"])
- `custom.constraints` (object): Resource limits or requirements

## Outputs
- `bottlenecks` (object[]): Identified performance issues
- `optimizations` (object[]): Recommended improvements with impact estimate
- `benchmarks` (object): Before/after performance metrics
- `scalingRecommendations` (string[]): Architecture suggestions

## Process

### 1. **Performance Analysis**

**Frontend Metrics (Core Web Vitals)**:
- LCP (Largest Contentful Paint): < 2.5s
- FID (First Input Delay): < 100ms
- CLS (Cumulative Layout Shift): < 0.1
- TTFB (Time to First Byte): < 600ms

**Backend Metrics**:
- Response time p50, p95, p99
- Throughput (requests/second)
- Error rate
- Memory usage
- CPU utilization

### 2. **Common Optimizations**

**React Performance**:
```typescript
// Memoization
const MemoizedComponent = React.memo(ExpensiveComponent);
const memoizedValue = useMemo(() => compute(data), [data]);
const memoizedCallback = useCallback(() => action(), [deps]);

// Lazy loading
const LazyComponent = React.lazy(() => import('./Heavy'));

// Virtualization for long lists
import { FixedSizeList } from 'react-window';
```

**Database Query Optimization**:
```sql
-- Add indexes for frequently queried columns
CREATE INDEX idx_users_email ON users(email);

-- Use EXPLAIN to analyze queries
EXPLAIN ANALYZE SELECT * FROM orders WHERE user_id = 123;

-- Avoid SELECT *
SELECT id, name, email FROM users WHERE active = true;
```

**Caching Strategies**:
```typescript
// In-memory cache
const cache = new Map();
function getCached(key, fetchFn, ttl = 60000) {
  const cached = cache.get(key);
  if (cached && Date.now() - cached.time < ttl) return cached.data;
  const data = fetchFn();
  cache.set(key, { data, time: Date.now() });
  return data;
}

// Redis caching
await redis.setex(key, 3600, JSON.stringify(data));
```

### 3. **Bundle Optimization**
```javascript
// Analyze bundle
npx webpack-bundle-analyzer

// Code splitting
const routes = {
  home: () => import('./pages/Home'),
  dashboard: () => import('./pages/Dashboard')
};

// Tree shaking - use named imports
import { debounce } from 'lodash-es'; // Not: import _ from 'lodash'
```

### 4. **Async Patterns**
```typescript
// Parallel execution
const [users, orders] = await Promise.all([
  fetchUsers(),
  fetchOrders()
]);

// Connection pooling
const pool = new Pool({ max: 20, idleTimeoutMillis: 30000 });
```

## Performance Targets
| Metric | Good | Needs Work | Poor |
|--------|------|------------|------|
| LCP | < 2.5s | 2.5-4s | > 4s |
| FID | < 100ms | 100-300ms | > 300ms |
| API Response | < 200ms | 200-500ms | > 500ms |
| Bundle Size | < 200KB | 200-500KB | > 500KB |

## Deliverable Format
1. **Performance Report**: Current metrics and issues
2. **Optimization Plan**: Prioritized improvements with effort/impact
3. **Code Changes**: Specific optimizations to implement
4. **Monitoring Setup**: Metrics to track going forward

Attribution

MichaelrKraftMichaelrKraft
View sourceSee grades on GitHubMore from MichaelrKraft →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

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 (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Clean Code

Pragmatic coding standards - concise, direct, no over-engineering, no unnecessary comments

304955 votes

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

286712 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2222 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Writing Plans

Use when you have a spec or requirements for a multi-step task, before touching code

2927051 votes
View all in development →