apify-sdk-patterns

Installation
SKILL.md

Apify SDK Patterns

Overview

Production patterns for both the apify SDK (building Actors) and apify-client (calling Actors remotely). Covers Crawlee crawler selection, data storage, proxy configuration, and typed client wrappers.

Prerequisites

  • apify-client and/or apify + crawlee installed
  • APIFY_TOKEN configured
  • TypeScript recommended

Pattern 1: Typed Client Singleton

// src/apify/client.ts
import { ApifyClient } from 'apify-client';

let instance: ApifyClient | null = null;
Installs
1
GitHub Stars
60
First Seen
Jun 12, 2026
apify-sdk-patterns — comeonoliver/skillshub