From lucidchart-pack
Provides TypeScript patterns for Lucidchart SDK including singleton client and error wrapper with rate-limit retry. Useful for stable API integrations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/lucidchart-pack:lucidchart-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 = createLucidchartClient({ apiKey: process.env.LUCID_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('Lucidchart error:', e.message);
return null;
}
}
Apply in lucidchart-core-workflow-a.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin lucidchart-packInstalls and configures Lucidchart SDK authentication for Node.js/TypeScript or Python, with verification scripts and error handling for API integrations.
Applies agentic design patterns like prompt chaining, reflection, planning, and tool use to enhance AI-powered draw.io diagram generation and multi-platform embedding.
Provides TypeScript and Python patterns for Ideogram API: type-safe clients, retry logic, validation, multi-tenant support, image generation/description/download.