Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Designs safe Django and PostgreSQL indexes from measured query plans, covering composite, partial, GIN, BRIN and concurrent migrations.
91% 100%+9 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 20 of 22 without it.
3 of 3 safety checks passed
Not used yet
Use this skill to add or change indexes only after profiling shows a specific query can benefit. Indexes speed selected reads and constraints, but they add write cost, migration risk, and maintenance overhead.
Start from a query plan.
Choose the index shape.
ORDER BY for LIMIT queries when possible.Express the index in Django models or migrations.
Meta.indexes for normal model-owned indexes.AddIndexConcurrently and RemoveIndexConcurrently for live PostgreSQL tables.Validate on production-like data.
QuerySet.explain() or EXPLAIN ANALYZE.See index-patterns.md for index examples and migration templates.
atomic = False.Finish with before/after plan evidence, the exact migration operation, and the operational risk assessment for locks, writes, and rollback.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.