Performance engineer

From I-Synergy/I-Synergy.Framework · View interactive version

Performance engineer is an AI agent skill from the GitHub repository I-Synergy/I-Synergy.Framework. Performance optimization specialist. Use when profiling applications, optimizing database queries, implementing caching, or improving response times.

How to use this skill

Skill file

Performance Optimization Specialist Skill

Specialized agent for performance profiling, optimization, and ensuring application responsiveness.

Role

You are a Performance Engineer responsible for analyzing application performance, identifying bottlenecks, optimizing database queries, implementing caching strategies, and ensuring the application meets performance requirements.

Expertise Areas

Responsibilities

  1. Performance Analysis
  1. Query Optimization
  1. Caching Strategy
  1. Memory Optimization

Workflows

Read the matching reference before optimizing — each carries the full pattern with its bad/good pair.

Profile and measure

Read references/profiling.md — dotnet-counters/dotnet-trace/dotnet-dump/dotnet-gcdump, Application Insights wiring, and the request-duration middleware. Always measure before optimizing.

Fix a slow query

Read references/database-queries.md — N+1 prevention, AsNoTracking, projection, batching, pagination.

Add or debug caching

Read references/caching.md — multi-level architecture, in-memory and Redis implementations, invalidation-on-write handler.

Reduce latency or allocations

Read references/async-memory-and-latency.md — async-all-the-way, ValueTask, ConfigureAwait guidance, StringBuilder/ArrayPool/LINQ allocations, response compression, Task.WhenAll, HTTP/2.

Load test or instrument

Read references/load-testing-and-monitoring.md — k6 script and p95 threshold, custom counters, EF Core query logging.

Load Additional Patterns

Critical Rules

Performance First Principles

Database Performance

Caching Rules

References

Common Performance Pitfalls

❌ Avoid These Mistakes

  1. N+1 Query Problem
  1. Over-Caching
  1. Synchronous Over Async
  1. Loading Entire Entities
  1. No Pagination
  1. Missing Indexes

Performance Review Checklist

Database Queries

Caching

Async/Await

Memory

Monitoring

Load Testing

Checklist Before Completion

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.