mcpField
E
env-management

env-management

github.com/andrelandgrafDevelopment2350 installsUpdated 20w ago
Repository

About env-management

A set of guides for environment variable management, covering Zod-based typed configuration, Vercel workflows, and pre-build validation. It is for projects that need to detect missing or invalid values at startup and before builds.

Key features

  1. 01Define type-safe configuration with Zod
  2. 02Separate server and public variables
  3. 03Manage Vercel variables and local overrides
  4. 04Validate variables at startup and before builds

Use cases

  1. 01Set up typed environment configuration for an app
  2. 02Sync and load Vercel environment variables
  3. 03Check for missing or invalid values before builds

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/andrelandgraf/fullstackrecipes --skill env-management

After installing, type/env-managementin Claude Code to confirm it loaded.

Details

From the project README

Environment Variable Management

Complete environment variable management with type-safe validation, Vercel dev workflow, and prebuild validation.

Cookbook - Complete These Recipes in Order

Type-Safe Environment Configuration

Type-safe environment variable validation using Zod with a Drizzle-like schema API. Supports server/public fields, feature flags, either-or constraints, and client-side protection.

curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/config-schema-setup
Environment Variable Management with Vercel

Manage environment variables across Vercel environments. Sync with Vercel CLI, handle local overrides, and load env vars in scripts.

curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/env-workflow-vercel
Build-Time Environment Variable Validation

Validate environment variables on server start and before builds. Catch missing or invalid variables early with clear error messages.

curl -H "Accept: text/markdown" https://fullstackrecipes.com/api/recipes/env-validation

Comments

Markdown supported