| name | anima-debug-bundle |
| description | Collect Anima SDK debug evidence for support tickets and troubleshooting.
Use when filing Anima support requests, debugging code generation issues,
or collecting diagnostic data for the Anima team.
Trigger: "anima debug bundle", "anima support ticket", "anima diagnostics".
|
| allowed-tools | Read, Write, Edit, Bash(curl:*), Bash(node:*), Grep |
| version | 1.4.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","design","figma","anima","debugging"] |
| compatibility | Designed for Claude Code |
Anima Debug Bundle
Instructions
Step 1: Generate Debug Bundle
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}`);
bundle;
}
() {
{
res = (, {
: { : process..! },
});
data = res.();
{ : res. ? : , : data. || data. };
} (: ) {
{ : , : err. };
}
}
() {
{
{ } = ();
anima = ({ : { : process..! } });
{ : , : };
} (: ) {
{ : , : err. };
}
}
().(.);