Optimize Gamma API performance and reduce latency. Use when experiencing slow response times, optimizing throughput, or improving user experience with Gamma integrations. Trigger with phrases like "gamma performance", "gamma slow", "gamma latency", "gamma optimization", "gamma speed".
From gamma-packnpx claudepluginhub nickloveinvesting/nick-love-plugins --plugin gamma-packThis skill is limited to using the following tools:
references/implementation.mdGuides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Details PluginEval's skill quality evaluation: 3 layers (static, LLM judge), 10 dimensions, rubrics, formulas, anti-patterns, badges. Use to interpret scores, improve triggering, calibrate thresholds.
Optimize Gamma API integration performance through client configuration, caching, connection pooling, and parallel request patterns.
Enable keep-alive, compression, and configure max sockets (10). Set retry conditions for 5xx and 429 errors.
Use node-cache with 5-minute TTL. Invalidate on presentation.updated events.
Replace sequential loops with p-limit (concurrency 5) for bulk operations. Use batch API where available.
Use async generators for memory-efficient iteration over large presentation lists.
Request only needed fields to reduce response size. Use returnImmediately for creation operations.
Create shared HTTP/HTTPS agents with keep-alive, 25 max sockets, and 60s timeout.
See detailed implementation for advanced patterns.
| Issue | Cause | Solution |
|---|---|---|
| High latency | No connection reuse | Enable keep-alive and pooling |
| Memory growth | Unbounded cache | Set TTL and max cache size |
| Rate limiting | Too many parallel requests | Use p-limit with concurrency cap |
| Operation | Target | Action if Exceeded |
|---|---|---|
| Simple GET | < 200ms | Check network, use caching |
| List (100 items) | < 500ms | Reduce page size |
| Create presentation | < 5s | Use async pattern |
| Export PDF | < 30s | Use webhook notification |