anima-performance-tuning
Skill by jeremylongshore
Optimizes Anima code generation performance with a versioned file cache, incremental regeneration, and output measurement. Intended for teams generating approved design components for production use.
Install anima-performance-tuning
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/anima-performance-tuning ~/.claude/skills/anima-performance-tuningRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install anima-performance-tuning in Claude Code
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/anima-performance-tuning ~/.gemini/antigravity-cli/skills/anima-performance-tuningAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install anima-performance-tuning in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill covers performance tuning for Anima code generation, which turns Figma designs into code. It adds a file-based generation cache with a one hour default lifetime, keyed by Figma file key, source revision, node ID, and generation settings. It also includes incremental generation that checks Figma node modification times and regenerates only changed components, plus output size and digest recording for each generated file.
The source stresses that speed gains must not cost correctness. Cache entries without valid source version metadata are refused, and post-processing that changes behavior or removes required content is reverted. It is aimed at teams running batch generation of approved components. It expects a baseline measurement and review gates before any optimization is applied.
Written from the project's SKILL.md and checked against it.
What it can do
- File-based generation cacheStores Anima generateCode results on disk and reuses them within a time limit.
- Version-aware cache keyKeys cache entries by file key, source revision, node ID, and generation settings.
- Cache cleanupRemoves cached files older than a given age.
- Incremental generationRegenerates only Figma components whose node lastModified value has changed.
- Output measurementRecords file name, byte size, and SHA-256 digest for generated output without rewriting it.
What you need
- Node.js 20+
- Approved Anima API access and ANIMA_TOKEN
- Source-scoped FIGMA_TOKEN with authorized Figma access
- Current Anima SDK documentation
Try asking
- Set up a file-based cache for my Anima generation keyed by Figma node version
- Regenerate only the Anima components whose Figma nodes changed
- Record byte size and digest for each generated Anima file
Good to know
- Targets must come from your own staging fixtures; the source gives no Anima latency or quota figures.
- Cache reuse is refused when source version metadata cannot be verified.
- Concurrency should be reduced when throughput causes provider failures or rate limits.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/anima-performance-tuning/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditBash(npm:*)
-
SKILL.md7 KB -
references/official-docs.md760 B
Alternatives to anima-performance-tuning
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
anima-performance-tuning: common questions
Does this skill make Anima generation faster by default?
The source does not claim fixed speedups. It asks you to measure a baseline on representative staging fixtures and compare duration, API calls, and output quality before relying on the optimization.
Can cached Anima output go stale?
The cache key includes the Figma source revision and node ID, and the default lifetime is one hour. Entries that cannot prove their source version are not reused.
Does the skill rewrite generated code to make it smaller?
No. The source says to preserve generated semantics and only record output size and digest, applying reviewed transforms after measurement.
How do I install anima-performance-tuning?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is anima-performance-tuning free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is anima-performance-tuning safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to anima-performance-tuning?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
