Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

django-perf-review

Skill by henryalouf

Reviews Django code for validated performance issues, such as N+1 queries, unbounded querysets, missing indexes and write loops. It is for developers who want only provable ORM and database findings.

  • Score 71
  • 204 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install django-perf-review

Built from the published package, never by AI.

git clone --depth 1 https://github.com/henryalouf/ruflow /tmp/ruflow && mkdir -p ~/.claude/skills && cp -r /tmp/ruflow/.agents/skills/django-perf-review ~/.claude/skills/django-perf-review

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install django-perf-review in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

django-perf-review is an agent skill that audits Django code for performance problems. It is triggered by requests such as reviewing Django performance, finding N+1 queries, or checking queryset performance. The skill tells the assistant to trace data flow from view to queryset to template or serializer, and to search for existing select_related, prefetch_related and pagination before reporting anything.

The skill ranks issues by impact. N+1 queries and unbounded querysets are rated critical, missing indexes and write loops are rated high, and inefficient patterns are rated low and rarely reported. It skips test files, admin-only views, management commands, migrations and one-time scripts. It is aimed at Django developers who want a short review report with evidence and a suggested fix for each validated finding.

Written from the project's SKILL.md and checked against it.

What it can do

  • N+1 query detectionTraces related fields accessed in loops and suggests select_related or prefetch_related.
  • Unbounded queryset checkFlags list endpoints and batch code that load whole tables without pagination or iterator().
  • Missing index reviewLooks for fields used in filter() or order_by() on large tables without an index.
  • Write loop reviewFinds create(), save() or delete() calls inside loops and suggests bulk operations.
  • Validated findings reportProduces a markdown report with location, validation steps, evidence and a fix per finding.

What you need

  • A Django codebase to review
  • Read, Grep, Glob, Bash and Task tool access

Try asking

  • Review Django performance in the orders app for N+1 queries
  • Check queryset performance in views.py and report validated issues only
  • Audit this Django project for unbounded querysets and missing indexes

Good to know

  • Reports only issues it can validate, and may report zero findings.
  • Skips test files, admin views, management commands, migrations and one-time scripts.
  • Does not report micro-optimizations such as exists() versus count().
  • Risk level is listed as unknown in the source.

Security check

B
  • Allowed to use Bash without limitsIn SKILL.md

Checked automatically: .agents/skills/django-perf-review/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadGrepGlobBashTask

Alternatives to django-perf-review

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

django-perf-review: common questions

Does django-perf-review change my code?

The source describes a review process that reports findings with suggested fixes. It does not state that it edits files.

Which Django issues does it look for?

It covers N+1 queries, unbounded querysets, missing indexes, write loops and some inefficient patterns. Inefficient patterns are rated low and rarely reported.

Will it report every possible optimization?

No. The source says it reports only validated issues and that zero findings is acceptable.

How do I install django-perf-review?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is django-perf-review free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is django-perf-review safe to use?

It scores 71 of 100. Grades: maintenance B, licence A, quality B. Security check: grade B (allowed to use bash without limits). Review the code before you install. How grades work.

What are alternatives to django-perf-review?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

django-perf-review Install

Add to stack

Loading.