Optimizes Django applications by identifying and validating N+1 queries, database bottlenecks, and inefficient ORM patterns.
The Django Performance Auditor skill empowers Claude to perform evidence-based performance audits on Django codebases. It systematically searches for critical database issues such as N+1 query patterns in views and serializers, memory-intensive unbounded querysets, and missing database indexes on large tables. Unlike generic linters, it focuses on provable impact by tracing data flow and verifying data volume before reporting, ensuring that developers receive high-priority, actionable recommendations rather than speculative micro-optimizations.
主要功能
01Detection of N+1 query patterns in Django views and DRF serializers
02Identification of unbounded querysets that cause memory exhaustion and OOM errors
03Detection of inefficient write loops requiring bulk_create or bulk_update
04Evidence-based reporting with validated code locations and specific fix suggestions
05Analysis of missing database indexes for high-volume filter and sort operations
0631,721 GitHub stars
使用场景
01Optimizing slow database-heavy endpoints and Django Rest Framework API responses
02Troubleshooting memory usage spikes and database lock contention in production
03Pre-deployment performance auditing for Django backend services