performance-optimization

Identify and eliminate performance bottlenecks in backend services and databases.

23|7|Updated Sep 8, 2025
One-click install
npx skills add https://github.com/pvillega/claude-templates --skill performance-optimization-pvillega
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-optimization
Source: https://github.com/pvillega/claude-templates/tree/main/plugins/ct/skills/performance-optimization
Command: npx skills add https://github.com/pvillega/claude-templates --skill performance-optimization-pvillega

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Performance challenges in backends, APIs, and databases can cause slow responses and degraded user experience. This Skill provides a structured approach to baseline measurement, profiling, and validated optimizations.

Core Features & Use Cases

  • Baseline measurement and profiling for API/database workloads.
  • Targeted optimizations with measurable improvements (e.g., reducing p95 latency, increasing throughput).
  • Safe, repeatable workflow with guardrails to prevent regressions.

Quick Start

Run a baseline/profiling workflow on your API, identify bottlenecks, apply targeted fixes, and re-measure to validate improvements.

Frequently Asked Questions about performance-optimization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify and eliminate backend API latency bottlenecks?

To eliminate backend API latency bottlenecks, you measure a baseline, profile the workload to identify slow queries, apply targeted optimizations, and re-measure to validate improvements and prevent regressions.

What is the best way to profile slow database queries in microservices?

Profiling slow database queries in microservices requires a repeatable workflow: establish baseline performance, use standard tooling to pinpoint bottlenecks, apply data fixes, and re-validate to ensure throughput increases.

Can I optimize backend throughput in staging environments without causing regressions?

Yes, you can optimize backend throughput in staging environments safely by using a structured workflow with guardrails that applies targeted fixes and re-validates measurements to prevent performance regressions.

Why do I need to measure a performance baseline before optimizing API latency?

Measuring a performance baseline before optimizing API latency is necessary to quantify current bottlenecks, validate that targeted optimizations yield measurable improvements like reduced p95 latency, and ensure no regressions occur.

Does this performance optimization workflow work for both web services and microservices?

Yes, this performance optimization workflow supports identifying and eliminating throughput and slow query issues across both web services and microservices in production or staging environments using standard tooling.