figma-deploy-integration

Featured

Deploy Figma-powered applications to Vercel, Cloud Run, and Fly.io. Use when deploying webhook receivers, design token APIs, or Figma-connected web apps to production platforms. Trigger with phrases like "deploy figma", "figma Vercel", "figma production deploy", "figma Cloud Run".

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

# Figma Deploy Integration ## Overview Deploy Figma webhook receivers and design API services to production platforms with proper secret management and health checks. ## Prerequisites - Figma PAT for production environment - Platform CLI installed (vercel, fly, or gcloud) - Application tested locally with Figma API ## Instructions ### Step 1: Vercel Deployment (Webhook Receiver) ```bash # Store Figma secrets vercel env add FIGMA_PAT production vercel env add FIGMA_WEBHOOK_PASSCODE production # Deploy vercel --prod ``` ```typescript // api/webhooks/figma.ts (Vercel serverless function) import { NextRequest, NextResponse } from 'next/server'; import crypto from 'crypto'; export async function POST(req: NextRequest) { const payload = await req.json(); // Verify passcode const expected = process.env.FIGMA_WEBHOOK_PASSCODE!; const received = payload.passcode || ''; if (!crypto.timingSafeEqual(Buffer.from(received), Buffer.from(expected))) { return NextResponse.json({ error: 'Invalid passcode' }, { status: 401 }); } // Process webhook event switch (payload.event_type) { case 'FILE_UPDATE': console.log(`File updated: ${payload.file_name} (${payload.file_key})`); // Trigger token re-sync, invalidate cache, etc. break; case 'FILE_COMMENT': console.log(`New comment on ${payload.file_name}`); break; case 'LIBRARY_PUBLISH': console.log(`Library published: ${payload.file_name}`); break; } return NextRe...

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