gamma-sdk-patterns
Installation
SKILL.md
Gamma API Patterns
Overview
Gamma has no published SDK — all interaction is via REST at https://public-api.gamma.app/v1.0/. This skill provides production-grade patterns for typed clients, generation helpers, polling, template workflows, and error handling.
Prerequisites
- Completed
gamma-install-authsetup - TypeScript project with
fetch(Node.js 18+) - Understanding of the generate-poll-retrieve workflow
Instructions
Step 1: Typed Client Singleton
// lib/gamma.ts
const GAMMA_BASE = "https://public-api.gamma.app/v1.0";