Env Var Audit Skill: Stop Onboarding Breakage Before It Ships
Cross-checks .env.example, code, and docs and reports the drift. Env drift is silent until a new dev (or a deploy) hits it.
An installable env-var-audit skill. Cross-checks the .env.example, the code that reads env vars, and any README references; surfaces drift in one report.
What It Does
- Three-source cross-check — example file, code reads, docs
- Missing-key detector — keys read by code but not declared
- Dead-config sweep — declared keys nothing reads
- Secret check — flags real-looking tokens in the example file
Install in 30 Seconds
Pick your tool above and download:
- Claude Code:
~/.claude/skills/env-var-audit/SKILL.md - OpenAI Codex CLI: append to
AGENTS.md - Cursor: append to
.cursorrules
Same content, three install paths. Reload and ask for the audit on your next change.
Why This Skill Earns Its Keep
Env drift is silent until a new dev (or a deploy) hits it. This skill catches the gap with a three-way diff and refuses to edit the env file itself — that's a human-confirmed change, not an agent one.
Install once, run before every push.