From openevidence-pack
Provides TypeScript patterns for OpenEvidence SDK: singleton client and error wrapper with rate-limit retry. Useful for robust API client setup.
How this skill is triggered — by the user, by Claude, or both
Slash command
/openevidence-pack:openevidence-sdk-patternsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
```typescript
let instance: any = null;
export function getClient() {
if (!instance) instance = createOpenEvidenceClient({ apiKey: process.env.OPENEVIDENCE_API_KEY });
return instance;
}
async function safe<T>(fn: () => Promise<T>): Promise<T | null> {
try { return await fn(); }
catch (e: any) {
if (e.status === 429) { await new Promise(r => setTimeout(r, 5000)); return fn(); }
console.error('OpenEvidence error:', e.message);
return null;
}
}
Apply in openevidence-core-workflow-a.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin openevidence-packInstalls @openevidence/sdk via npm or pip and configures API key authentication for clinical decision support in Node.js or Python projects.
Apply production-ready Documenso SDK patterns for TypeScript and Python, including singleton clients, typed services, error handling, and testing.
Provides TypeScript patterns for MindTickle SDK: singleton client and error wrapper with 429 retry. Useful for robust API integrations.