figma-ci-integration

Featured

Automate Figma design token sync and asset export in CI/CD pipelines. Use when setting up GitHub Actions for Figma, automating icon exports, or validating design token changes in pull requests. Trigger with phrases like "figma CI", "figma GitHub Actions", "automate figma export", "figma CI pipeline".

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 CI Integration ## Overview Automate Figma API workflows in CI/CD: sync design tokens on schedule, export assets on PR, and validate design system consistency. ## Prerequisites - GitHub repository with Actions enabled - `FIGMA_PAT` stored as GitHub secret - Design token extraction script (from `figma-core-workflow-a`) ## Instructions ### Step 1: Scheduled Token Sync Workflow ```yaml # .github/workflows/figma-token-sync.yml name: Sync Figma Design Tokens on: schedule: - cron: '0 9 * * 1-5' # Weekdays at 9am UTC workflow_dispatch: # Manual trigger jobs: sync-tokens: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: '20' cache: 'npm' - run: npm ci - name: Extract tokens from Figma env: FIGMA_PAT: ${{ secrets.FIGMA_PAT }} FIGMA_FILE_KEY: ${{ vars.FIGMA_FILE_KEY }} run: node scripts/extract-figma-tokens.mjs - name: Check for changes id: diff run: | git diff --quiet src/styles/tokens.css || echo "changed=true" >> $GITHUB_OUTPUT - name: Create PR with token updates if: steps.diff.outputs.changed == 'true' env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | BRANCH="figma/token-sync-$(date +%Y%m%d)" git checkout -b "$BRANCH" git add src/styles/tokens.css git commit -m "chore: sync design ...

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