_push-env-vars

Synchronize environment variables between local .env files and Vercel environments.

34|6|Updated Jun 30, 2026
One-click install
npx skills add https://github.com/flavien-ia/hypervibe-harness --skill push-env-vars
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: _push-env-vars
Source: https://github.com/flavien-ia/hypervibe-harness/tree/main/skills/_push-env-vars
Command: npx skills add https://github.com/flavien-ia/hypervibe-harness --skill push-env-vars

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill eliminates the manual, error-prone process of synchronizing environment variables across local development files and multiple Vercel deployment environments.

Core Features & Use Cases

  • Unified Sync: Automatically updates local .env files and Vercel production, preview, and development environments simultaneously.
  • Safety & Deduplication: Handles environment variable deduplication, gitignore updates, and special character escaping to prevent configuration drift.
  • Use Case: When adding a new service like Stripe or a database to your project, this skill ensures the necessary credentials are correctly propagated to all deployment targets without manual CLI intervention.

Quick Start

Ask the assistant to update the project environment variables with the new API keys for your database and authentication provider.

Frequently Asked Questions about _push-env-vars

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync environment variables to Vercel deployment environments?

Sync environment variables to Vercel by automatically updating local .env files alongside production, preview, and development stages. This eliminates manual CLI intervention and ensures credentials are correctly propagated to all deployment targets.

What's the best way to prevent configuration drift when adding new API keys to Vercel?

Preventing configuration drift involves handling environment variable deduplication, gitignore updates, and special character escaping. This approach ensures local file integrity while securely injecting credentials across multiple deployment stages.

Do I need Node.js to manage Vercel environment variables automatically?

Node.js is required to manage Vercel environment variables automatically. The runtime executes scripts that interact with the Vercel CLI or API to perform secure credential injection and synchronize local .env files.

Can I update .env files and Vercel project environments at the same time?

You can update local .env files and Vercel project environments simultaneously. Unified synchronization propagates new configuration values across local development files and remote deployment targets in a single operation.

Why are my local environment variables out of sync with Vercel preview deployments?

Local environment variables drift from Vercel preview deployments when updates are applied manually. Automating the synchronization process across development, preview, and production stages prevents mismatched credentials and configuration errors.

Does _push-env-vars handle special characters in environment variable values?

Yes, _push-env-vars handles special character escaping in environment variable values. This prevents parsing errors during secure credential injection and maintains local .env file integrity during the synchronization process.