performance-review

Scan code changes for scalability risks and cost mechanisms.

73|7|Updated May 26, 2026
One-click install
npx skills add https://github.com/franklioxygen/agent-workflows --skill performance-review-franklioxygen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-review
Source: https://github.com/franklioxygen/agent-workflows/tree/main/zh-cn/skills/performance-review
Command: npx skills add https://github.com/franklioxygen/agent-workflows --skill performance-review-franklioxygen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you detect performance and scalability issues in code changes and diffs before they become production incidents, focusing on likely cost drivers like query patterns, pagination, caching, and resource usage.

Core Features & Use Cases

  • Performance signal scanning: Run a targeted scan to quickly surface suspicious hotspots and risk areas in a repo or specific paths.
  • Worst-case reasoning and validation planning: Convert findings into concrete scale assumptions and choose appropriate verification methods such as profiling, explain plans, benchmarks, or load testing.
  • Actionable mitigation guidance: Produce prioritized, specific fixes like reducing N+1 queries, adding pagination, batching, indexes, streaming, or cache invalidation strategy.
  • Use case: When Codex or another agent is asked to perform a performance review, create a performance profiling plan, draft benchmark/test plans, or assess latency risk for a change.

Quick Start

Run the performance scan for the repository or a specific changed path, then read the provided checklist and shared operating rules before judging each finding’s cost and required validation.

Frequently Asked Questions about performance-review

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

FAQPage Schema
How do I check code changes for scalability risks and latency issues?

To check code changes for scalability risks, run a targeted performance scan on workspace diffs or pull requests to surface suspicious hotspots, query patterns, and resource usage before production deployment.

What is an N+1 query risk and how do I find it in my database access patterns?

An N+1 query risk occurs when looped database access triggers excessive individual queries. Performance signal scanning identifies these cost drivers in your code changes and recommends batching or pagination to mitigate latency.

How do I create a benchmark plan to validate latency behavior under load?

Create a benchmark plan by converting performance scan findings into concrete scale assumptions, then selecting appropriate verification methods like load testing, profiling, or explain plans to observe production metrics and validate latency behavior.

Can I assess caching strategy and pagination risks for a specific branch refactor?

Yes, you can assess caching strategy and pagination risks for a specific branch refactor by applying worst-case reasoning to the diff, evaluating cache invalidation needs and pagination requirements to prevent production incidents.

What is the best way to review database query patterns for high traffic features?

The best way to review database query patterns is using deterministic signal scanning on feature diffs to identify cost mechanisms, followed by generating actionable mitigation guidance like adding indexes or streaming to optimize resource usage.

When should I not use an automated performance review for my pull request?

Automated performance review focuses on cost mechanisms like query patterns and resource usage, so it may not suit changes lacking measurable scalability impact, such as pure UI adjustments or documentation updates with no latency risk.