The Django Performance Review skill enables Claude to perform rigorous, evidence-based audits of Django applications with a focus on the database layer. It moves beyond pattern matching by tracing data flow from views through to templates and serializers to verify actual performance impact. The skill specifically targets high-impact issues such as N+1 queries, memory-intensive unbounded querysets, missing database indexes on large tables, and inefficient write loops, ensuring that optimization recommendations are both provable and significant for scaling production environments.
主な機能
01Identifies N+1 queries by tracing related field access in templates and serializers.
02Flags inefficient write loops and suggests bulk_create or bulk_update alternatives.
03Audits model fields for missing database indexes on high-traffic filter and sort paths.
04Detects unbounded querysets that risk memory exhaustion and OOM errors.
05Provides evidence-based validation for every finding to eliminate false positives.
06132 GitHub stars
ユースケース
01Refactoring background tasks or management commands that handle large data batches inefficiently.
02Conducting performance audits on legacy Django monoliths before major traffic events.
03Optimizing slow Django REST Framework (DRF) endpoints caused by hidden serializer queries.