performance-reviewer

Detect runtime performance and scalability defects in code changes.

1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/ybbms777/compound-engineering --skill performance-reviewer-ybbms777
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-reviewer
Source: https://github.com/ybbms777/compound-engineering/tree/main/skills/agent-performance-reviewer
Command: npx skills add https://github.com/ybbms777/compound-engineering --skill performance-reviewer-ybbms777

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Code reviews often miss runtime performance and scalability defects that only appear under real production load, leading to outages, slow user experiences, and costly rework when issues are discovered post-deployment.

Core Features & Use Cases

  • Conditional Automatic Activation: Triggers only when code diffs touch database queries, loop-heavy data transforms, caching layers, or I/O-intensive paths, so it runs exactly when needed without manual intervention.
  • Targeted Performance Auditing: Hunts for high-impact, production-observable issues including N+1 queries, unbounded memory growth, missing pagination, hot-path allocations, and blocking I/O in async contexts.
  • Confidence-Calibrated Findings: Only reports issues with a confidence score of 0.60 or higher, filtering out speculative or premature optimization suggestions to reduce noise for engineering teams.
  • Use Case: When reviewing a pull request that adds a new user data export endpoint, this skill will flag if the endpoint loads all user records without pagination, which would cause out-of-memory errors at scale.

Quick Start

Use the performance-reviewer skill to audit the runtime performance and scalability risks of the code changes in your current pull request.

Frequently Asked Questions about performance-reviewer

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

FAQPage Schema
How do I catch N+1 queries and unbounded memory growth during a pull request code review?

You can audit code diffs in pull requests to detect N+1 queries and unbounded memory growth by automatically triggering reviews when changes touch database query logic or loop-heavy data transformations.

What is a performance review for production-scale code changes?

A performance review for production-scale code changes identifies runtime scalability defects like missing pagination, hot-path allocations, and blocking I/O in async contexts that only manifest under real production load.

Does this performance review tool trigger automatically for all pull requests?

This performance review tool does not trigger for all pull requests, but applies conditional automatic activation only when code diffs modify database query logic, caching implementations, loop-based data transforms, or I/O handling paths.

How do I prevent out-of-memory errors when adding a new data export endpoint?

To prevent out-of-memory errors when adding a data export endpoint, audit the code changes to flag if the endpoint loads all records without pagination, catching unbounded memory growth before deployment.

How to filter out premature optimization suggestions during a scalability audit?

To filter out premature optimization suggestions during a scalability audit, use confidence-calibrated findings that only report high-impact runtime issues with a confidence score of 0.60 or higher to reduce noise.

What are the limitations of automated performance reviews for async I/O handling?

The limitations of automated performance reviews for async I/O handling include focusing strictly on high-confidence, production-observable issues like blocking I/O, and filtering out speculative runtime optimization suggestions.