agent-perf

Analyze code diffs to detect performance regressions in React rendering, database queries, and loops.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/TrevorPLam/agency --skill agent-perf-trevorplam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-perf
Source: https://github.com/TrevorPLam/agency/tree/main/.windsurf/skills/agent-perf
Command: npx skills add https://github.com/TrevorPLam/agency --skill agent-perf-trevorplam

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Performance Agent helps teams identify and address performance regressions introduced by code changes, ensuring faster and more efficient software.

Core Features & Use Cases

  • Analyze diffs to spot performance regressions in React renders, database queries, and loops.
  • Provide actionable optimization guidance and suggested code changes.
  • Use in PR reviews to enforce performance gates before merging.

Quick Start

Run a performance review on the latest code changes to surface potential bottlenecks and recommended fixes.

Frequently Asked Questions about agent-perf

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

FAQPage Schema
How do I detect performance regressions introduced by code changes in a pull request?

To detect performance regressions from code changes in a pull request, analyze the commit diff to spot bottlenecks in React rendering, database queries, and loops. The review provides clear, testable findings and concrete remediation steps to fix the issues before merging.

What is the best way to optimize React rendering performance during code review?

Optimizing React rendering performance during code review involves analyzing diffs to identify inefficient renders and applying actionable optimizations. The process surfaces potential bottlenecks and provides suggested code changes to ensure faster, more efficient software.

Can I use automated analysis to spot database query bottlenecks in my commits?

Yes, you can spot database query bottlenecks in your commits using automated diff analysis. It identifies performance regressions in database queries and loop logic, offering actionable optimization guidance and concrete remediation steps to resolve them.

How do I enforce performance gates before merging code changes?

To enforce performance gates before merging code changes, run a performance review on the latest code changes to surface bottlenecks. This ensures regressions in React renders, database queries, and loops are addressed with concrete remediation steps prior to merging.

Does performance regression analysis work on loop logic across my codebase?

Yes, performance regression analysis works on loop logic across your codebase by analyzing code diffs. It identifies inefficiencies in loops, React renders, and database queries, proposing actionable optimizations and testable remediation steps to improve execution speed.