gamma-local-dev-loop

Featured

Set up local development workflow for Gamma API integration. Use when building automation scripts, testing API calls locally, or configuring a dev environment with mock responses. Trigger: "gamma local dev", "gamma development setup", "gamma test locally", "gamma mock API", "gamma dev workflow".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Gamma Local Dev Loop ## Overview Set up an efficient local development workflow for Gamma API integrations. Since Gamma is a REST API with no SDK, the dev loop centers on HTTP request/response testing, mock servers for offline development, and a reusable client wrapper. ## Prerequisites - Completed `gamma-install-auth` setup - Node.js 18+ with `tsx` for TypeScript execution - `GAMMA_API_KEY` in `.env` ## Instructions ### Step 1: Project Structure ``` gamma-integration/ ├── src/ │ ├── client.ts # Reusable Gamma API client │ ├── generate.ts # Generation workflows │ └── poll.ts # Polling helper ├── test/ │ ├── mock-server.ts # Local mock for offline dev │ └── integration.test.ts ├── .env # GAMMA_API_KEY (gitignored) ├── .env.example # Template without secrets ├── package.json └── tsconfig.json ``` ### Step 2: Reusable Client Wrapper ```typescript // src/client.ts import "dotenv/config"; const GAMMA_BASE = "https://public-api.gamma.app/v1.0"; export interface GammaClient { generate(body: GenerateRequest): Promise<GenerateResponse>; poll(generationId: string): Promise<PollResponse>; listThemes(): Promise<Theme[]>; listFolders(): Promise<Folder[]>; } export function createClient(apiKey?: string, baseUrl?: string): GammaClient { const key = apiKey ?? process.env.GAMMA_API_KEY; if (!key) throw new Error("GAMMA_API_KEY required"); const base = baseUrl ?? GAMMA_BASE; const headers = { "X-...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category