From anima-pack
Generates Anima SDK debug bundle with Node env, Figma API access test, and SDK verification. For support tickets and code generation troubleshooting.
How this skill is triggered — by the user, by Claude, or both
Slash command
/anima-pack:anima-debug-bundleThis 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
// src/debug/anima-debug.ts
import fs from 'fs';
async function generateDebugBundle() {
const bundle = {
timestamp: new Date().toISOString(),
environment: {
nodeVersion: process.version,
sdkVersion: require('@animaapp/anima-sdk/package.json').version,
animaToken: process.env.ANIMA_TOKEN ? 'SET (redacted)' : 'NOT SET',
figmaToken: process.env.FIGMA_TOKEN ? 'SET (redacted)' : 'NOT SET',
},
figmaAccess: await testFigmaAccess(),
generationTest: await testGeneration(),
};
const filename = `anima-debug-${Date.now()}.json`;
fs.writeFileSync(filename, JSON.stringify(bundle, null, 2));
console.log(`Debug bundle: ${filename}`);
return bundle;
}
async function testFigmaAccess() {
try {
const res = await fetch('https://api.figma.com/v1/me', {
headers: { 'X-Figma-Token': process.env.FIGMA_TOKEN! },
});
const data = await res.json();
return { status: res.ok ? 'ok' : 'failed', user: data.handle || data.err };
} catch (err: any) {
return { status: 'failed', error: err.message };
}
}
async function testGeneration() {
try {
const { Anima } = await import('@animaapp/anima-sdk');
const anima = new Anima({ auth: { token: process.env.ANIMA_TOKEN! } });
return { status: 'sdk_loaded', version: 'check package.json' };
} catch (err: any) {
return { status: 'sdk_failed', error: err.message };
}
}
generateDebugBundle().catch(console.error);
For rate limiting, see anima-rate-limits.
7plugins reuse this skill
First indexed Jul 10, 2026
Showing the 6 earliest of 7 plugins
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin anima-packCollect Figma API diagnostic evidence for support tickets and troubleshooting. Use when encountering persistent issues, preparing support tickets, or collecting diagnostic information for Figma API problems. Trigger with phrases like "figma debug", "figma support bundle", "collect figma logs", "figma diagnostic".
Diagnoses and fixes Anima SDK errors in Figma-to-code generation, including auth failures, node not found, code gen issues, and poor output quality.
Collects Anthropic Claude API debug bundles with request IDs, rate limits, SDK versions, logs, and connectivity tests for support tickets and troubleshooting.