env-setup

Installation
SKILL.md

Set up environment variable validation: $ARGUMENTS

$ARGUMENTS can include:

  • "audit" — scan existing codebase for unvalidated env vars and fix
  • "nextjs" or "vite" — framework hint (auto-detected)
  • "full" — generate .env.example + Zod schema + check script (default)
  • Empty — full setup, auto-detect framework

Before Starting

  1. Read package.json to detect framework and see existing scripts
  2. Check if src/lib/env.ts already exists — update rather than overwrite
  3. Read .env.example or .env.local.example if present
  4. Grep for process.env. and import.meta.env. — find all usages to catalog vars
  5. Read src/lib/config/tenant.config.ts for tenant-specific vars

Installs
1
GitHub Stars
1
First Seen
Jun 4, 2026
env-setup — joshuashepherd/my-skills