env-validation

Installation
SKILL.md

Environment Variable Validation

Use this skill to validate .env files against .env.example or a JSON schema. Catches missing, extra, or invalid environment variables before your app does.

Usage

# Zero config — checks .env against .env.example
npx env-guard

# Custom paths
npx env-guard --env .env.production --example .env.example

# JSON schema validation
npx env-guard --schema env-schema.json

As a Library

Installs
1
First Seen
Mar 5, 2026