This skill enables Claude to conduct rigorous performance audits on Django codebases, focusing on the database layer where most bottlenecks occur. It systematically identifies critical issues including N+1 query patterns in loops and serializers, memory-intensive unbounded querysets, and missing database indexes on high-traffic fields. By following a research-first approach, the skill validates every finding through data-flow tracing and volume analysis, ensuring that recommendations are actionable, provable, and prioritized by actual impact rather than speculative style preferences.
主な機能
01Automated detection of N+1 queries in views, templates, and DRF serializers.
0240,309 GitHub stars
03Validation-driven reporting that minimizes noise by filtering out low-impact micro-optimizations.
04Identification of unbounded querysets and missing pagination that cause memory exhaustion.
05Detection of inefficient write loops that should use bulk_create or bulk_update.
06Analysis of database indexing needs for WHERE clauses and ORDER BY operations.
ユースケース
01Refactoring legacy Django views and serializers to resolve database timeouts.
02Automating code reviews to catch ORM-related performance regressions in pull requests.
03Performing a pre-production performance audit for high-traffic Django applications.