agentsclimarketplace

Anima reference architecture

Skill ComeOnOliver/skillshub/skills/jeremylongshore/claude-code-plugins-plus-skills/anima-reference-architecture

🧠 The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.

Install
npx -y skills add ComeOnOliver/skillshub --skill anima-reference-architecture

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its author says it does

Copied from the file, not written here

Implement reference architecture for Anima design-to-code automation. Use when designing a design system automation pipeline, structuring a Figma-to-React project, or planning team-scale design handoff. Trigger: "anima architecture", "design-to-code architecture", "anima project structure", "figma automation architecture".

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

4.7 KB, 799 tokens by cl100k_base, as published. Nobody here has run it

Anima Reference Architecture

System Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Figma Design  │────▢│ Figma API    │────▢│ Anima SDK       β”‚
β”‚  (Components)  β”‚     β”‚ (Webhooks)   β”‚     β”‚ (Code Gen)      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                      β”‚
                                            β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”
                                            β”‚ Post-Processing   β”‚
                                            β”‚ - Token mapping   β”‚
                                            β”‚ - Normalization   β”‚
                                            β”‚ - Lint/format     β”‚
                                            β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                      β”‚
                                            β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”
                                            β”‚ Output            β”‚
                                            β”‚ - React/Vue/HTML  β”‚
                                            β”‚ - PR creation     β”‚
                                            β”‚ - Storybook sync  β”‚
                                            β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Project Structure

design-to-code/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ anima/
β”‚   β”‚   β”œβ”€β”€ client.ts              # Singleton SDK client
β”‚   β”‚   β”œβ”€β”€ cache.ts               # Generation cache
β”‚   β”‚   β”œβ”€β”€ retry.ts               # Error recovery
β”‚   β”‚   └── presets.ts             # Framework/styling presets
β”‚   β”œβ”€β”€ pipeline/
β”‚   β”‚   β”œβ”€β”€ scanner.ts             # Figma component discovery
β”‚   β”‚   β”œβ”€β”€ generator.ts           # Batch code generation
β”‚   β”‚   β”œβ”€β”€ change-detector.ts     # Figma version tracking
β”‚   β”‚   └── runner.ts              # Pipeline orchestrator
β”‚   β”œβ”€β”€ post-process/
β”‚   β”‚   β”œβ”€β”€ normalizer.ts          # Output normalization
β”‚   β”‚   β”œβ”€β”€ token-mapper.ts        # Design token mapping
β”‚   β”‚   └── organizer.ts           # File organization + barrel exports
β”‚   β”œβ”€β”€ webhooks/
β”‚   β”‚   └── figma-handler.ts       # Figma webhook receiver
β”‚   └── server.ts                  # Express API (optional)
β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ generate-components.ts     # CLI generation script
β”‚   └── compare-presets.ts         # Side-by-side preset comparison
β”œβ”€β”€ fixtures/
β”‚   └── component-map.json         # Figma node ID β†’ component name mapping
β”œβ”€β”€ generated/                     # Output directory (gitignored or committed)
β”œβ”€β”€ .anima-cache/                  # Generation cache (gitignored)
└── package.json

Key Design Decisions

DecisionChoiceRationale
SDK@animaapp/anima-sdkOfficial, server-side, typed
Change detectionFigma Webhooks v2Event-driven, no polling waste
CachingFile-based with MD5 keysSimple, no external dependencies
Post-processingCustom normalizerMatch project conventions
CI integrationGitHub Actions scheduledAvoid real-time generation costs
Output frameworkReact + Tailwind + shadcnMost production-ready output

Output

  • Complete design-to-code pipeline architecture
  • Project structure with all components
  • Design decision rationale documented

Resources

Next Steps

Start with anima-install-auth, then follow skills through production deployment.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,984. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.