figma-multi-env-setup
Skill by jeremylongshore
Configure Figma API access with separate tokens and file keys for dev, staging, and production. It is for developers who manage several Figma files and want to keep development work away from production resources.
Install figma-multi-env-setup
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/figma-multi-env-setup ~/.claude/skills/figma-multi-env-setupRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/figma-multi-env-setup ~/.gemini/antigravity-cli/skills/figma-multi-env-setupAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install figma-multi-env-setup in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill sets up separate Figma API credentials and file targets for development, staging, and production. It lays out a per-environment plan: development uses the file_content:read scope with a 10 second cache, staging adds file_comments:read with a 60 second cache, and production adds webhooks:write with a 300 second cache. It includes a TypeScript config loader that picks the token and file key based on NODE_ENV and throws an error if either is missing.
The skill also covers environment file templates, storing production secrets in GitHub environment secrets or Google Cloud Secret Manager, and guard functions. The guards block production-only operations outside production and destructive operations inside production. It is aimed at developers and teams who manage several Figma files and want to isolate development from production design resources.
Written from the project's SKILL.md and checked against it.
What it can do
- Environment strategyDefines PAT scopes, Figma file targets, and cache TTLs for each environment.
- Per-environment config loaderA TypeScript function that selects the token, file key, and concurrency based on NODE_ENV.
- Environment file templatesExample .env files for development, staging, and production, plus a committed .env.example.
- Secret managementShows how to store PATs in GitHub environment secrets and Google Cloud Secret Manager.
- Environment guardsFunctions that block production-only operations outside production and destructive operations in production.
What you need
- Separate Figma personal access tokens for each environment
- A secret management solution
- Environment detection in the application (NODE_ENV)
Try asking
- Set up Figma tokens and file keys for dev, staging, and production
- Write a Figma config loader that reads the environment from NODE_ENV
- Add guards so production-only Figma calls cannot run in dev
Good to know
- The source does not show a tested end-to-end setup; the code samples are illustrative.
- Figma PATs expire after 90 days, so each environment needs a rotation reminder.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/figma-multi-env-setup/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditBash(gcloud:*)Bash(vault:*)
-
SKILL.md6 KB -
references/configuration-by-environment.md1 KB -
references/environment-files.md771 B -
references/environment-guards.md1 KB -
references/errors.md683 B
Show all 6 files
-
references/secret-management.md807 B
Alternatives to figma-multi-env-setup
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
figma-multi-env-setup: common questions
Does this skill use one Figma token for every environment?
No. It recommends a separate PAT for each environment, with minimal scopes for each one.
How does it stop production actions from running in development?
It defines guard functions such as requireProduction and blockInProduction that throw an error when the NODE_ENV value does not match.
Where should production Figma secrets be stored?
The source says the production env file should live in a secret manager, not in the repository, and shows GitHub environment secrets and Google Cloud Secret Manager.
How do I install figma-multi-env-setup?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is figma-multi-env-setup free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is figma-multi-env-setup safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to figma-multi-env-setup?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
