django-perf-review
Skill by sickn33
Reviews Django code for validated performance issues, such as N+1 queries, unbounded querysets and missing indexes. It is for developers who want only provable ORM and query findings.
Install django-perf-review
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/django-perf-review ~/.claude/skills/django-perf-reviewRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/django-perf-review ~/.gemini/antigravity-cli/skills/django-perf-reviewAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
django-perf-review is an agent skill that asks an AI assistant to review Django code for performance problems. It covers N+1 queries, unbounded querysets, missing database indexes, write loops that could use bulk operations, and a low-priority group of inefficient patterns. The skill says to trace data flow and search for existing select_related, prefetch_related and pagination before reporting an issue.
Findings are written in a fixed markdown format with a location, validation steps, evidence and a suggested fix. The skill states that zero findings is acceptable and that speculative optimization advice should not be reported. By default it skips test files, migrations, management commands and admin-only views. It is aimed at developers who want verified performance reviews of Django projects.
Written from the project's SKILL.md and checked against it.
What it can do
- N+1 query detectionTraces views, querysets, templates and serializers to find related fields loaded inside loops.
- Unbounded queryset checkFlags list endpoints and large loads that lack pagination, slicing or iterator().
- Missing index reviewLooks at fields used in filter() or order_by() on large tables for db_index or Meta.indexes.
- Write loop reviewFinds create(), save() or delete() calls in loops that could become bulk operations.
- Structured findings reportOutputs findings with severity, location, validation steps, evidence and a fix.
What you need
- A Django codebase to review
- An AI assistant that can use Read, Grep, Glob, Bash and Task tools
Try asking
- Review this Django app for N+1 queries in views and serializers
- Check my querysets for unbounded loads and missing pagination
- Find write loops in this Django project that should use bulk_create
Good to know
- Reports only findings it can validate, so zero findings is a valid result.
- Skips test files, migrations, management commands and admin-only views by default.
- Frontmatter marks the skill risk as critical.
Security check
B- Allowed to use Bash without limitsIn
SKILL.md
Checked automatically: 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
-
SKILL.md13 KB
Alternatives to django-perf-review
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
django-perf-review: common questions
What Django performance problems does this skill look for?
The source lists N+1 queries, unbounded querysets, missing indexes, write loops and minor inefficient patterns. Priority 1 to 4 issues are the focus.
Does it suggest changes or only report problems?
Each finding in the output format includes a suggested fix with code. The skill also warns that bulk operations need checks for signals, validation and cascades.
Will it report every possible optimization?
No. The source says to report only provable issues and to skip micro-optimizations such as exists() versus count() unless there is evidence.
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 89 of 100. Grades: maintenance A, licence A, quality A. 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.
