Implements efficient API pagination using offset, cursor, and keyset strategies for large datasets. Use when building paginated endpoints, implementing infinite scroll, or optimizing database queries for collections.
96
93%
Does it follow best practices?
Impact
100%
1.08xAverage score across 3 eval scenarios
Passed
No known issues
Offset pagination response format
Max limit enforced
100%
100%
Default limit set
100%
100%
Data key in response
100%
100%
Pagination metadata block
70%
100%
Correct totalPages formula
100%
100%
HATEOAS links block
90%
100%
Concurrent data and count fetch
100%
100%
Correct offset calculation
100%
100%
No unlimited page size
100%
100%
Index sorting field noted
37%
100%
Query param parsing
100%
100%
Cursor pagination with base64 encoding
Base64 cursor encoding
100%
100%
Base64 cursor decoding
100%
100%
Limit+1 fetch trick
100%
100%
Extra item removed before response
100%
100%
Null nextCursor at end
100%
100%
No COUNT query
100%
100%
Data key in response
0%
100%
nextCursor in response
100%
100%
No page size cap omission
100%
100%
Empty cursor handled
100%
100%
Pagination strategy selection
Cursor for large dataset
100%
100%
Offset for small dataset
100%
100%
O(1) performance noted
62%
100%
Avoid COUNT queries
100%
100%
Index recommendation
100%
100%
Cursor for infinite scroll
100%
100%
Max limit guidance
100%
100%
Strategy comparison table/structure
100%
100%
Implementation example provided
100%
100%
Response format described
100%
100%
Keyset distinguished from cursor
75%
100%
90d6bd7
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.