$npx skillfedfor your agent

django-perf-review

This skill audits Django applications for performance bottlenecks by researching your codebase and confirming issues before flagging them. It focuses on critical problems like N+1 queries in views and serializers, memory-exhausting unbounded querysets, and inefficient write patterns, while validating findings against actual data flow rather than pattern matching alone.

django-perf-review identifies and validates N+1 queries, unbounded querysets, and other performance issues in Django code through systematic codebase analysis.

AI-generated summary based on this skill's SKILL.md

891 46 Apache-2.0updated by getsentry

Decision gist · record as of 2026-07-27

django-perf-review identifies and validates N+1 queries, unbounded querysets, and other performance issues in Django code through systematic codebase analysis. This skill audits Django applications for performance bottlenecks by researching your codebase and confirming issues before flagging them. It focuses on critical problems like N+1 queries in views and serializers, memory-exhausting unbounded querysets, and inefficient write patterns, while validating findings against actual data flow rather than pattern matching alone.

manual: git clone https://github.com/getsentry/skills → cp -r skills/skills/django-perf-review ~/.claude/skills/django-perf-review
skills/django-perf-review/SKILL.md · version 26c3e666

Use it when

  • django-perf-review audits Django applications for multiple performance bottlenecks: N+1 queries in views and serializers.
  • Yes.

Verify before relying

Read SKILL.md below before installing (2 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

getsentry/skills/django-perf-review · repository language: Python

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How does django-perf-review find N+1 queries in Django?

django-perf-review identifies N+1 query problems in Django views and serializers by researching your codebase and confirming issues before flagging them. Rather than relying on pattern matching alone, it validates findings against actual data flow to ensure accuracy. This approach catches N+1 patterns that occur in real execution paths, not just syntactic red flags.

What performance issues can django-perf-review detect?

django-perf-review audits Django applications for multiple performance bottlenecks: N+1 queries in views and serializers, unbounded querysets causing memory exhaustion or OOM errors, missing database indexes on filtered or sorted fields, and inefficient write operations that could use bulk_create or bulk_update. It also performs broader codebase audits for performance anti-patterns at scale.

Can django-perf-review check queryset performance in my code?

Yes. django-perf-review analyzes querysets to find unbounded queries that exhaust memory, detect missing indexes on fields used in filters or sorts, and identify inefficient patterns. It validates each finding against your actual data flow before reporting, ensuring recommendations are grounded in real performance risks rather than false positives.

Does django-perf-review optimize Django ORM write operations?

django-perf-review detects opportunities to optimize write operations using bulk_create and bulk_update. It identifies places where your code performs inefficient individual writes that could be batched, helping reduce database round trips and improve throughput at scale.

How does django-perf-review audit Django code for performance?

django-perf-review performs a comprehensive audit of your Django codebase by researching views, serializers, and querysets to confirm performance anti-patterns before flagging them. It prioritizes critical issues like N+1 queries and memory exhaustion, validates findings against actual data flow, and provides actionable recommendations grounded in real bottlenecks rather than speculation.

What makes django-perf-review different from pattern matching tools?

django-perf-review goes beyond simple pattern matching by researching your codebase and validating performance issues against actual data flow before reporting them. This confirmation-first approach reduces false positives and ensures that flagged problems represent genuine bottlenecks in your Django application, not just syntactic red flags.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

Django Performance Review

Review Django code for validated performance issues. Research the codebase to confirm issues before reporting. Report only what you can prove.

Review Approach

  1. Research first - Trace data flow, check for existing optimizations, verify data volume
  2. Validate before reporting - Pattern matching is not validation
  3. Zero findings is acceptable - Don't manufacture issues to appear thorough
  4. Severity must match impact - If you catch yourself writing "minor" in a CRITICAL finding, it's not critical. Downgrade or skip it.

Impact Categories

Issues are organized by impact. Focus on CRITICAL and HIGH - these cause real problems at scale.

Priority Category Impact
1 N+1 Queries CRITICAL - Multiplies with data, causes timeouts
2

(truncated - see the full file via the links below)

File tree — 2 files
skills/django-perf-review/LICENSE
skills/django-perf-review/SKILL.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Identify and validate N+1 query problems in Django views and serializers”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

Django Framework
by pluginagentmarketplace · pluginagentmarketplace/custom-plugin-python

Django Framework teaches you to construct full-stack web applications using Django's MVC pattern, database models, and authentication systems. Master RESTful API development, implement secure user access controls, and deploy applications to production environments.

no license declared → metadata onlyupdated Jan 2026
★ 5repo stars
django-expert
by Jeffallan · Jeffallan/claude-skills

Django Expert guides you through building production-grade REST APIs using Django and Django REST Framework. It covers model design with database indexes, query optimization via select_related and prefetch_related, serializer validation, viewset implementation, and authentication setup. The skill enforces best practices like environment-based secrets, proper permissions, and comprehensive testing.

MITupdated May 2026
★ 10,759repo stars
Django Reviewer
by vintasoftware · vintasoftware/django-ai-plugins

Django Reviewer analyzes your Django and Python code for clarity, consistency, maintainability, and adherence to project conventions. It identifies anti-patterns in the ORM and Django REST Framework, respects authorization boundaries, and reports findings with suggested refinements rather than making unauthorized changes.

no license declared → metadata onlyupdated Jul 2026
★ 112repo stars
django-patterns
by xu-xiang · xu-xiang/everything-claude-code-zh

Master production-ready Django patterns covering project structure, model design, QuerySet optimization, and REST Framework integration. Learn configuration management across environments, custom managers, serializers, and middleware strategies for building maintainable, scalable applications.

MITupdated Mar 2026
★ 1,767repo stars
Django Coder
by majesticlabs-dev · majesticlabs-dev/majestic-marketplace

Django Coder automates scaffolding of Django applications with production-ready models, views, forms, and REST API endpoints. It enforces convention-over-configuration patterns, separates business logic into services, and applies security-first principles including CSRF and SQL injection protection.

no license declared → metadata onlyupdated May 2026
★ 44repo stars
django-patterns
by affaan-m · affaan-m/ECC

Master production-ready Django development through architectural patterns covering project structure, model design, QuerySet optimization, and REST Framework integration. This skill guides you through split settings for environment management, custom managers and querysets to prevent N+1 queries, and serializer patterns for robust API development.

MITupdated Jul 2026
★ 234,207repo stars

More skills django-expert (Apache-2.0) · Django Expert (unlicensed) · django-idioms (MIT)

Tags
query-optimizationdatabase-bottleneckorm-patternsmemory-efficiencyindex-strategybulk-operationslazy-evaluationrequest-scalingcode-audit