Redis' own guidance for FT.CREATE schema design, FT.SEARCH / FT.AGGREGATE / FT.HYBRID, HNSW vector similarity and RAG retrieval pipelines.
Django Performance Review
Summary
Sentry's Django performance review skill — hunts N+1 queries, unbounded querysets, missing indexes and write loops, and reports only findings it can prove.
Features
- Detects N+1 queries and unbounded querysets as critical issues
- Flags missing indexes and write loops by real impact
- Validates every finding against the codebase before reporting it
- Treats zero findings as a legitimate result
- Forces reported severity to match measured impact
- Read-only analysis — safe on an unfamiliar repository
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Example Usage
Review the Django views in apps/billing for performance problems.
Description
Automated performance review usually fails in one of two directions: it misses the real problem, or it buries it under twenty speculative nitpicks. This skill, from Sentry's engineering skill collection, is built around refusing the second failure mode.
The method is research-first. Before reporting anything, the agent traces the data flow, checks whether an optimisation is already in place, and verifies the data volume actually involved — because an N+1 over a table that holds four rows is not a finding. Pattern matching is explicitly not treated as validation. The skill states that zero findings is an acceptable outcome and instructs the agent not to manufacture issues to look thorough, and it forces severity to match impact: if the write-up of a CRITICAL finding contains the word "minor", it gets downgraded or dropped.
The issue taxonomy is ranked by real-world blast radius. N+1 queries and unbounded querysets are CRITICAL — the first multiplies with your data until requests time out, the second exhausts memory until the process is OOM-killed. Missing indexes and write-in-a-loop patterns are HIGH: full table scans and lock contention respectively. Generic "inefficient patterns" are LOW and rarely worth raising at all.
It runs read-only across the codebase using Read, Grep, Glob and Bash, so it is safe to point at a repository you have not audited before. Triggers include "review Django performance", "find N+1 queries", "check queryset performance" and "Django ORM issues". Published by Sentry in getsentry/sentry-skills, following the open Agent Skills format.
Related Skills
Supabase's official skill covering Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron and Queues — with a hard rule to verify against the live changelog before writing code.
GreenSock's official ScrollTrigger skill — scroll-linked animation, pinning, scrub and trigger positioning, with the exact start/end syntax agents get wrong.
Microsoft's official skill that turns an agent into an Azure solution architect — 10 design principles, 6 architecture styles, 44 design patterns and a Well-Architected review workflow.