anima-core-workflow-a

Featured

Build automated Figma-to-React pipeline with the Anima SDK. Use when automating design handoff, building CI/CD design-to-code workflows, or creating a design system code generator from Figma components. Trigger: "anima design pipeline", "figma to react pipeline", "automated design handoff", "anima component generator".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Anima Core Workflow A — Figma-to-React Pipeline ## Overview Primary workflow: automated pipeline that watches a Figma file, generates React components whenever the design changes, and integrates them into your codebase. This replaces manual design handoff with continuous design-to-code automation. ## Prerequisites - Completed `anima-install-auth` setup - Figma file with organized components (auto-layout recommended) - React project (Next.js, Vite, or CRA) ## Instructions ### Step 1: Design System Scanner ```typescript // src/pipeline/figma-scanner.ts import { Anima } from '@animaapp/anima-sdk'; interface FigmaComponent { nodeId: string; name: string; type: 'COMPONENT' | 'FRAME' | 'COMPONENT_SET'; } const anima = new Anima({ auth: { token: process.env.ANIMA_TOKEN! }, }); // Fetch all top-level components from a Figma page async function scanFigmaComponents(fileKey: string): Promise<FigmaComponent[]> { const response = await fetch( `https://api.figma.com/v1/files/${fileKey}/components`, { headers: { 'X-Figma-Token': process.env.FIGMA_TOKEN! } } ); const data = await response.json(); return data.meta.components.map((comp: any) => ({ nodeId: comp.node_id, name: comp.name, type: comp.containing_frame?.type || 'COMPONENT', })); } ``` ### Step 2: Batch Code Generator ```typescript // src/pipeline/batch-generator.ts import { Anima } from '@animaapp/anima-sdk'; import fs from 'fs'; import path from 'path'; const anima = new Anima({...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

anima-hello-world

Generate React/Vue/HTML code from a Figma design using the Anima SDK. Use when testing design-to-code conversion, learning Anima's code output format, or building your first automated design-to-code pipeline. Trigger: "anima hello world", "anima example", "figma to react", "figma to code", "anima generate code".

2,266 Updated today
jeremylongshore
AI & Automation Featured

anima-ci-integration

Configure CI/CD pipeline for automated Figma-to-code generation with Anima. Use when automating design-to-code in GitHub Actions, setting up PR-based component generation, or integrating Anima into design handoff workflows. Trigger: "anima CI", "anima GitHub Actions", "anima automated generation".

2,266 Updated today
jeremylongshore
AI & Automation Featured

anima-install-auth

Install the Anima SDK and configure authentication for Figma-to-code generation. Use when setting up design-to-code automation, configuring Figma token access, or initializing the @animaapp/anima-sdk for server-side code generation. Trigger: "install anima", "setup anima", "anima auth", "anima figma token".

2,266 Updated today
jeremylongshore
AI & Automation Featured

anima-reference-architecture

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".

2,266 Updated today
jeremylongshore
AI & Automation Featured

anima-local-dev-loop

Set up iterative design-to-code development loop with Anima SDK. Use when rapidly iterating on Figma-to-code output, comparing framework outputs, or building a local preview server for generated components. Trigger: "anima local dev", "anima dev loop", "anima preview", "anima iteration".

2,266 Updated today
jeremylongshore