executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
django-pagination-performanceImprove Django and Django REST Framework pagination for large querysets using bounded page sizes, stable ordering, indexed ordering, offset limits, keyset pagination, DRF CursorPagination, and count-query tradeoffs. Use when list pages, admin views, APIs, exports, or infinite scroll become slow, inconsistent, or memory-heavy as result sets grow.
Independent GitHub snapshot · Automated classification · Original documentation governs
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.