Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Improves Django and Django REST Framework pagination for large querysets using keyset, cursor, and bounded offset strategies.
96% 100%+4 ptsof test cases passed
Passed 23 of 23 test cases with the skill, and 22 of 23 without it.
3 of 3 safety checks passed
67 agent runs
1 forkA fork is a copy of this skill that someone made so they could edit it for their own use. The original doesn't change.
Use this skill when a Django list view or API slows down as pages get deeper or result sets grow. Pagination is a query-design problem as much as a response-shaping problem.
Confirm the list contract.
Measure the current query.
QuerySet.explain() for deep pages.Choose the pagination style.
Paginator for moderate result sets and arbitrary page access.CursorPagination for API next/previous navigation with stable ordering.Make ordering deterministic.
See pagination-patterns.md for Django and DRF examples.
LIMIT/OFFSET pages can be slow because the database still walks skipped rows.Measure first page, representative deep page, count query, and insertion/deletion consistency for the chosen pagination contract.
Next to this one in the catalogue, plus more from the same author.