performance-review

Analyze code changes to identify performance bottlenecks and deliver prioritized optimization plans.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/liminal-ai/code-steward --skill performance-review-liminal-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performance-review
Source: https://github.com/liminal-ai/code-steward/tree/main/.claude/plugins/code-steward-reviews/skills/performance-review
Command: npx skills add https://github.com/liminal-ai/code-steward --skill performance-review-liminal-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze code to identify performance bottlenecks, inefficient algorithms, N+1 queries, memory leaks, and resource management issues. Provide concrete evidence and actionable recommendations to improve production performance when reviewing code, PRs, or codebases with concerns about scale, load, or real-world data volumes.

Core Features & Use Cases

  • Phase-driven analysis: context research, comparative analysis, and issue assessment to surface high-impact performance findings.
  • Three-bucket framework: algorithmic efficiency, IO/query efficiency, and memory/resource management considerations.
  • Actionable recommendations with before/after examples to guide code changes and refactoring.

Quick Start

Run a performance review on the given change to surface bottlenecks and provide measurable optimization guidance.

Frequently Asked Questions about performance-review

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

FAQPage Schema
How do I find performance bottlenecks and N+1 queries in a pull request?

To find performance bottlenecks in a pull request, analyze the code change using a phase-based approach to surface N+1 queries and provide concrete evidence like estimated complexity. This yields a prioritized optimization plan with before/after examples.

What is the best way to review code for algorithmic efficiency and memory leaks?

The best way to review code for algorithmic efficiency and memory leaks is applying a three-bucket framework covering algorithms, IO/query efficiency, and memory management. This surfaces hot-path issues and delivers actionable refactoring recommendations.

Can I use this performance review to analyze code scalability under heavy load?

Yes, you can use this performance review to analyze code scalability under heavy load. It applies context research and comparative analysis to surface high-impact performance findings at scale, including hot data considerations and resource impact.

How do I get actionable recommendations to fix inefficient algorithms in my codebase?

To get actionable recommendations for inefficient algorithms, run a phase-driven analysis that assesses issues and estimates resource impact. You receive precise before/after code examples and a prioritized optimization plan to guide changes.

When should I not use a static code review for performance optimization?

You should not use static code review for performance optimization when you need real-time runtime profiling data rather than estimated complexity. This approach analyzes code changes to identify bottlenecks but does not execute live load testing.

Why does my code change introduce performance bottlenecks and high resource usage?

Your code change introduces performance bottlenecks due to inefficient algorithms, IO query inefficiencies, or poor memory management. A phase-based analysis identifies these issues by evaluating hot-path execution and estimating the real-world resource impact.