figma-sdk-patterns

Installation
SKILL.md

Figma SDK Patterns

Overview

Production patterns for the Figma REST API (external tools) and Plugin API (in-editor plugins). Figma has no official Node.js SDK -- you call https://api.figma.com directly with fetch. These patterns give you type safety, error handling, and reusable abstractions.

Prerequisites

  • FIGMA_PAT environment variable set
  • TypeScript 5+ project
  • Understanding of Figma node types

Instructions

Step 1: Typed REST API Client

// src/figma-client.ts
export class FigmaClient {
  private baseUrl = 'https://api.figma.com';
Installs
1
GitHub Stars
2.8K
First Seen
13 days ago
figma-sdk-patterns — jeremylongshore/tons-of-skills-marketplace