Skip to main content
Run any Skill in Manus
with one click

t2000-env-gate

Stars22
Forks4
UpdatedJuly 24, 2026 at 10:22

The cross-app env-validation contract — every app with ≥1 required env var validates at boot via a Zod schema and exposes values through a typed `env` proxy; raw `process.env.X` reads are banned outside the env module. Use when adding or renaming an environment variable, wiring up a new app in apps/*, writing or reviewing a lib/env.ts, debugging a "works locally, broken in Vercel" misconfiguration, or when you catch yourself about to write process.env or a `process.env.X || 'default'` fallback.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly