askill
performance-review

performance-reviewSafety 95Repository

Performance-focused code review for identifying bottlenecks and optimization opportunities

21.3k stars
425.6k downloads
Updated 2/22/2026

Package Files

Loading files...
SKILL.md

Performance Review

When reviewing code for performance issues, check each category below. Reference the detailed checklist in references/performance-checklist.md.

Database & Queries

  • N+1 query patterns (queries inside loops)
  • Missing database indexes for frequently queried fields
  • Unbounded queries without LIMIT/pagination
  • SELECT * instead of selecting only needed columns
  • Missing connection pooling

Memory & Resources

  • Memory leaks: event listeners not removed, intervals not cleared, growing caches without bounds
  • Large objects held in memory unnecessarily
  • Unbounded arrays or maps that grow with usage
  • Missing cleanup in component unmount/destroy lifecycle

Rendering (Frontend)

  • Unnecessary re-renders (missing React.memo, useMemo, useCallback where appropriate)
  • Large component trees re-rendering for small state changes
  • Missing virtualization for long lists
  • Synchronous heavy computation blocking the main thread
  • Large bundle sizes from unnecessary imports

API & Network

  • Missing caching for frequently accessed, rarely changing data
  • Sequential API calls that could be parallelized
  • Missing pagination for large data sets
  • Over-fetching data (requesting more than needed)
  • Missing request deduplication

Algorithmic Complexity

  • O(nΒ²) or worse operations on potentially large datasets
  • Repeated computation that could be memoized
  • String concatenation in loops (use array join or template literals)
  • Unnecessary sorting or filtering passes

Severity Levels

  • πŸ”΄ CRITICAL: Will cause performance degradation under normal load
  • 🟠 HIGH: Will cause issues at scale
  • 🟑 MEDIUM: Optimization opportunity with measurable impact
  • πŸ”΅ LOW: Minor optimization suggestion

Install

Download ZIP
Requires askill CLI v1.0+β–Ά

AI Quality Score

72/100Analyzed 2/25/2026

A solid technical reference skill providing comprehensive performance review checklist categories. The content is well-structured with specific items across database, memory, rendering, API, and algorithmic areas. However, it lacks explicit trigger conditions, step-by-step procedures, and the referenced checklist file may not exist. The deeply nested path and template folder location suggest internal template usage.

95
80
75
60
50

Metadata

Licenseunknown
Version1.0.0
Updated2/22/2026
Publishermastra-ai

Tags

code-reviewperformance