# Performance Review

> Review code changes for performance anti-patterns — N+1 queries, unbounded results, blocking ops. Use when this capability is needed.

- Skill: `tomevault-io/performance-review-3` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/performance-review-3`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/performance-review-3/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/performance-review-3

---


# /performance-review

Spawns the `performance-reviewer` agent to detect performance anti-patterns in your code changes.

## Steps

1. **Gather context** — detect the scope of changes to review:
   - If arguments are provided (file paths or PR number), use those as scope
   - Otherwise, use `git diff` to determine what changed
   - Identify files touching database queries, API endpoints, or data processing

2. **Spawn the agent** — use the Task tool:
   ```
   Task tool with subagent_type="performance-reviewer"
   ```
   Pass in the prompt:
   - The diff output and list of changed files
   - The project's database ORM and framework context
   - Any performance budgets or constraints from project rules

3. **Present findings** — relay the agent's performance report:
   - Group by severity: CRITICAL > WARNING
   - Include specific code locations and estimated impact
   - Show recommended fixes with before/after examples

4. **Offer follow-up actions**:
   - "Fix critical issues?" — apply recommended performance fixes
   - "Add benchmarks?" — create performance tests for flagged code paths
   - "Review again?" — re-run after changes

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/bis-code) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

