Sub-skill of mcp-builder: Pagination (+2).
Scanned 9/9/2026
Install to Claude Code
npx -y skills add vamseeachanta/workspace-hub --skill pagination --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Pagination?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/vamseeachanta-pagination-workspace-hub)More formats (shields.io, HTML) on the badges page.
---
name: mcp-builder-pagination
description: 'Sub-skill of mcp-builder: Pagination (+2).'
version: 1.2.0
category: development
type: reference
scripts_exempt: true
---
# Pagination (+2)
## Pagination
```typescript
async function listAllItems(apiClient: Client): Promise<Item[]> {
const items: Item[] = [];
let cursor: string | undefined;
do {
const response = await apiClient.list({ cursor, limit: 100 });
items.push(...response.items);
cursor = response.nextCursor;
} while (cursor);
return items;
}
```
## Rate Limiting
```typescript
import Bottleneck from "bottleneck";
const limiter = new Bottleneck({
maxConcurrent: 1,
minTime: 100 // 10 requests per second
});
const rateLimitedFetch = limiter.wrap(fetch);
```
## Authentication
```typescript
const API_KEY = process.env.MY_API_KEY;
if (!API_KEY) {
throw new Error(
"MY_API_KEY environment variable is required. " +
"Get your API key from https://example.com/settings"
);
}
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!