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,926 stars 433 forks Updated yesterday 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
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category