From juicebox-pack
Optimizes Juicebox performance using targeted search filters, result caching, and batch enrichment in TypeScript.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin juicebox-packThis skill is limited to using the following tools:
```typescript
Applies production Juicebox SDK patterns: singleton client, batch profile search with dedup, error retry for rate limits. For scalable recruiting/SaaS apps.
Optimizes Apollo.io API performance in Node.js using connection pooling, per-endpoint TTL caching, bulk operations, and parallel fetching to cut latency on searches and enrichments.
Optimizes HubSpot CRM API performance using batch reads, minimal property requests, and caching to handle slow responses and high throughput.
Share bugs, ideas, or general feedback.
// SLOW: broad query
await client.search({ query: 'engineer' });
// FAST: targeted with filters
await client.search({ query: 'backend engineer', filters: { location: 'SF', skills: ['Go'] }, limit: 20 });
const cache = new Map();
async function cachedSearch(query: string) {
const cached = cache.get(query);
if (cached?.expiry > Date.now()) return cached.result;
const result = await client.search({ query, limit: 20 });
cache.set(query, { result, expiry: Date.now() + 300_000 });
return result;
}
const enriched = await client.enrichBatch({
profile_ids: profiles.map(p => p.id),
fields: ['skills_map', 'contact']
});
See juicebox-cost-tuning.