Django Perf Review

Django performance code review.

About this skill

Django performance code review.

Maintained by Sentry. The source includes the instructions and any supporting files needed to use this skill.

Inside the instructions

  • 01Review Approach
  • 02Impact Categories
  • 03Priority 1: N+1 Queries (CRITICAL)
  • 04Rule: Prefetch related data accessed in loops
  • 05Rule: Prefetch in serializers, not just views
  • 06Rule: Model properties that query are dangerous in loops

Before you start

  1. Read the instructions and check tool or account requirements.
  2. Install the complete folder when the skill references scripts or other files.
  3. Provide your task context, then review the agent's output.

Source

getsentry/skills / django-perf-review

Source reviewed October 2, 2026 · Apache-2.0