Skip to content
Back to skills

Pagination

ASecurity

Sub-skill of mcp-builder: Pagination (+2).

  • 17 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
developmenttypescriptgoapi

Works with

  • cursor
  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add vamseeachanta/workspace-hub --skill pagination --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pagination?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pagination
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vamseeachanta-pagination/badge)](https://www.skillsdirectory.com/skills/vamseeachanta-pagination)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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"
  );
}
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.