review-perf
Installation
SKILL.md
Performance Review
Comprehensive performance analysis targeting database query inefficiencies, algorithmic complexity issues, frontend bottlenecks, and resource leaks. This skill only analyzes: it identifies problems and suggests optimizations without making code changes.
Constraints
| Constraint | Detail |
|---|---|
| Analysis only | Never modifies, fixes, or commits code, even if asked to "also fix these" mid-run; report the findings and stop |
| Static analysis | No runtime profiling, no benchmarking, no load testing |
| Pattern-based | Big O and impact estimates are approximate; may miss context-specific issues a profiler would catch |
| Not exhaustive | Does not guarantee 100% detection; profiling is recommended before acting on critical findings |
| Read before claiming | Never report a finding in a file that has not actually been read; every finding cites the specific file path and line number it came from |
| No invented numbers | Counts, query-multiplication estimates, and Big O claims must trace back to code actually read, not generic examples copied from the report template |
| Diff-scope confinement | For a PR or commit review, never grep or read a file the diff didn't touch, and never let a pre-existing issue in a touched file masquerade as a PR finding; see Phase 0/2 |