Agent skill · software engineering · jeremylongshore

anima-performance-tuning

Optimize Anima code generation performance with caching, parallelism,

Why this skill is useful

Adds executable scripts for caching, incremental generation, and output optimization that enhance Anima's code generation capabilities.

What it needs

Requires npm installed locally. Requires figma account access. About 3k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Anima Performance Tuning Overview Improve design-to-code throughput without treating cache hits or smaller output as success unless the result still matches the approved design version, accessibility expectations, and project build contract. Measurement Contract Record source-fetch, queue, generation, asset, validation, and review durations separately. Establish targets from the team's own representative fixtures and provider agreement; do not present illustrative latency or quota numbers as an Anima service-level objective. Prerequisites A representative staging fixture and a baseline measurement of generation duration, cache hit rate, failure rate, and generated-code validation result. A version-aware cache key and retention policy that ties each artifact to Figma source version, node ID, and generation settings. Review gates for generated output so performance changes cannot automatically replace approved components or strip required licenses/accessibility content. Authentication Load ANIMATOKEN and the source-scoped FIGMATOKEN only in the backend worker. Performance tests use synthetic allowlisted sources; do not broaden credentials or retry authorization failures to make a benchmark complete. Instructions Step 1: File-Based Generation Cache Step 2: Incremental Generation (Only Changed Components) Step 3: Validate Output Without Semantic Rewriting Tool Discipline Use Read and Grep to inspect the existing integration and generated diff before changing anything. Use Write or Edit only inside the approved generated-code, test, or configuration paths. Use the declared Bash commands only for the explicit install, validation, or diagnostic steps in this workflow; never print tokens, source designs, generated source, or private website captures. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/anima-performance-tuning

View the source on GitHub

Browse the @skills marketplace