From linktree-pack
Implements Linktree API rate limiting with PQueue, concurrency caps, and exponential backoff in TypeScript. Triggered by 'linktree rate limits'.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin linktree-packThis skill is limited to using the following tools:
Handle Linktree rate limits with exponential backoff.
Provides TypeScript patterns for Linktree SDK: singleton client and error wrapper with 429 rate limit retry. Useful for SaaS social link integrations.
Queues MindTickle API calls with PQueue to enforce rate limits (60/min). Use for bulk operations or integrations to prevent throttling.
Implements Lucidchart API rate limiting with PQueue concurrency and interval caps. Use for high-volume diagram API calls to prevent throttling.
Share bugs, ideas, or general feedback.
Handle Linktree rate limits with exponential backoff.
import PQueue from 'p-queue';
const queue = new PQueue({ concurrency: 5, interval: 60_000, intervalCap: 60 });
async function rateLimited(fn: () => Promise<any>) {
return queue.add(fn);
}
See linktree-security-basics.