home / skills / andrelandgraf / fullstackrecipes / env-workflow-vercel
This skill helps you manage environment variables across Vercel environments, syncing with the Vercel CLI and handling local overrides.
npx playbooks add skill andrelandgraf/fullstackrecipes --skill env-workflow-vercelReview the files below or copy the command above to add this skill to your agents.
---
name: env-workflow-vercel
description: Manage environment variables across Vercel environments. Sync with Vercel CLI, handle local overrides, and load env vars in scripts.
---
# Environment Variable Management with Vercel
To set up Environment Variable Management with Vercel, refer to the fullstackrecipes MCP server resource:
**Resource URI:** `recipe://fullstackrecipes.com/env-workflow-vercel`
If the MCP server is not configured, fetch the recipe directly:
```bash
curl -H "Accept: text/plain" https://fullstackrecipes.com/api/recipes/env-workflow-vercel
```
This skill manages environment variables across Vercel environments and local development. It syncs variables with the Vercel CLI, supports local overrides, and provides a predictable way to load env vars into runtime scripts. Use it to keep production, preview, and development values consistent and auditable.
The skill inspects and synchronizes environment variables between your local files and Vercel projects using the Vercel CLI API. It can push and pull env vars for specific environments (production, preview, development), detect differences, and apply local overrides safely. It also exposes a loader that injects the resolved variables into scripts or build steps so your processes run with the correct values.
Can this skill handle secret rotation without downtime?
Yes. Rotate secrets using the preview environment first, validate behavior, then push to production. The skill supports staged rollouts and atomic updates via the Vercel CLI.
How are local overrides protected from accidental upload?
Local override files are excluded from automatic pushes by default. The workflow requires explicit commands to push overrides, and templates encourage ignoring override files in source control.