Apply production-ready Apollo.io SDK patterns. Use when implementing Apollo integrations, refactoring API usage, or establishing team coding standards. Trigger with phrases like "apollo sdk patterns", "apollo best practices", "apollo code patterns", "idiomatic apollo", "apollo client wrapper".
Install with Tessl CLI
npx tessl i github:jeremylongshore/claude-code-plugins-plus-skills --skill apollo-sdk-patterns86
Quality
81%
Does it follow best practices?
Impact
100%
1.75xAverage score across 3 eval scenarios
Type-safe Apollo client singleton with Zod validation and custom errors
Axios as HTTP client
100%
100%
Zod for schema validation
100%
100%
Zod type inference
100%
100%
Singleton pattern
0%
100%
Correct base URL
100%
100%
Correct timeout
0%
100%
API key via params
0%
100%
Axios interceptors
0%
100%
Custom error hierarchy
100%
100%
Error code constants
0%
100%
Status-specific errors
100%
100%
File organization
50%
100%
Exported singleton
25%
100%
Without context: $0.7755 · 5m 53s · 31 turns · 31 in / 13,436 out tokens
With context: $2.3619 · 10m 34s · 60 turns · 92 in / 34,592 out tokens
Retry with exponential backoff and selective error handling
withRetry function
100%
100%
TypeScript generic
100%
100%
Default maxRetries: 3
100%
100%
Default baseDelay: 1000
0%
100%
Default maxDelay: 30000
100%
100%
Exponential backoff formula
85%
100%
No retry on auth error
100%
100%
Partial config override
100%
100%
RetryConfig interface
50%
100%
Correct attempt range
100%
100%
Without context: $0.5711 · 3m 50s · 26 turns · 26 in / 8,959 out tokens
With context: $1.1186 · 6m 35s · 43 turns · 299 in / 14,738 out tokens
Async pagination iterator and request batching
Async generator pagination
100%
100%
100ms between pages
0%
100%
per_page: 100
100%
100%
q_organization_domains array
100%
100%
maxPages option
100%
100%
Batcher class
0%
100%
batchSize: 10
0%
100%
batchDelay: 100
0%
100%
50ms intra-batch spacing
0%
100%
Promise-based batcher API
37%
100%
Scheduled batch timeout
0%
100%
Without context: $0.3432 · 3m 3s · 15 turns · 16 in / 7,266 out tokens
With context: $0.8157 · 5m 41s · 34 turns · 289 in / 12,393 out tokens
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.