CtrlK
BlogDocsLog inGet started
Tessl Logo

api-pagination

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.

68

Quality

82%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

64%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This skill provides solid, executable pagination code examples for offset and cursor strategies with good structure. Its main weaknesses are the missing keyset pagination implementation (despite being listed in the comparison table), lack of error handling/validation guidance for edge cases, and some content that Claude would already know. The response format section adds marginal value given the inline examples already demonstrate the pattern.

Suggestions

Add a keyset pagination implementation example since it's listed in the strategy table but never shown

Add edge case handling guidance: invalid cursors, out-of-range pages, empty result sets

Remove or condense the 'Best Practices' section—most items are common knowledge for Claude and some are already demonstrated in the code (e.g., max limit capping)

DimensionReasoningScore

Conciseness

Mostly efficient with good code examples, but the comparison table and best practices section contain some information Claude already knows (e.g., 'Index sorting fields', 'Never allow unlimited page sizes'). The response format section is somewhat redundant given the offset pagination example already shows a similar structure.

2 / 3

Actionability

Provides fully executable JavaScript/Express code for both offset and cursor pagination strategies, with concrete query patterns, proper limit clamping, and complete response structures. The code is copy-paste ready.

3 / 3

Workflow Clarity

The skill presents three strategies clearly but lacks guidance on when/how to transition between strategies or validate that pagination is working correctly. For a skill that's essentially a reference of patterns rather than a multi-step workflow, the structure is adequate but missing any validation steps (e.g., testing edge cases like empty pages, invalid cursors).

2 / 3

Progressive Disclosure

Content is reasonably organized with clear sections, but the keyset pagination strategy mentioned in the comparison table has no implementation example, which is a gap. No bundle files exist, and the skill is moderately long (~80 lines) with all content inline, though for a standalone skill this is acceptable.

2 / 3

Total

9

/

12

Passed

Description

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

This is a well-crafted skill description that clearly defines its scope around API pagination, lists specific strategies (offset, cursor, keyset), and provides explicit trigger conditions via a 'Use when' clause. It uses proper third-person voice and includes natural developer terminology that would reliably match user requests about pagination.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions and strategies: 'offset, cursor, and keyset strategies', 'paginated endpoints', 'infinite scroll', 'optimizing database queries for collections'. These are concrete, actionable capabilities.

3 / 3

Completeness

Clearly answers both 'what' (implements efficient API pagination using offset, cursor, and keyset strategies for large datasets) and 'when' (Use when building paginated endpoints, implementing infinite scroll, or optimizing database queries for collections). Explicit 'Use when' clause is present.

3 / 3

Trigger Term Quality

Includes strong natural keywords users would say: 'pagination', 'offset', 'cursor', 'keyset', 'paginated endpoints', 'infinite scroll', 'database queries', 'large datasets', 'collections'. Good coverage of terms developers naturally use when dealing with pagination.

3 / 3

Distinctiveness Conflict Risk

Highly specific niche around API pagination strategies. The combination of 'pagination', 'offset', 'cursor', 'keyset', and 'infinite scroll' creates a distinct trigger profile unlikely to conflict with other skills like general API design or database optimization skills.

3 / 3

Total

12

/

12

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation11 / 11 Passed

Validation for skill structure

No warnings or errors.

Repository
secondsky/claude-skills
Reviewed

Table of Contents

Is this your skill?

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.