This skill empowers Claude to perform deep, evidence-based performance audits of Django codebases. It specifically targets high-impact issues such as N+1 queries, unbounded querysets that cause memory exhaustion, and missing database indexes on high-traffic tables. Unlike generic linters, it follows a rigorous validation process—tracing data flow from views to templates and verifying table scale—ensuring that all reported findings are actionable, high-priority, and verified against actual usage patterns to provide measurable improvements in application scalability.
主要功能
01850 GitHub stars
02Detection of N+1 query patterns across views, templates, and serializers
03Database index analysis for filter and order_by clauses on large tables
04Validation-first reporting to eliminate false positives and micro-optimizations
05Identification of unbounded querysets requiring pagination or iterator-based streaming
06Optimization of database write loops through bulk operations conversion
使用场景
01Fixing memory exhaustion issues caused by large queryset evaluation in background tasks
02Optimizing Django Rest Framework (DRF) serializers to improve API latency
03Auditing mature Django applications for scalability bottlenecks before major traffic events