Audit all environment variable usage in the codebase and generate a complete, documented .env.example. Use when the user says "what env vars do I need?", "document the config", "set up .env.example", or when onboarding someone new to the project.
npx @senso-ai/shipables install KeyanVakil/env-doctorFind every env var the app uses and make them impossible to miss.
process.env., os.environ, import.meta.env., env() calls, or equivalent.<your-value-here>?.env.example already exists — update it rather than replace it if so..env.example with every variable, grouped by service, with comments:# Database
DATABASE_URL=postgresql://user:password@localhost:5432/mydb
# Auth
NEXTAUTH_SECRET=<generate with: openssl rand -base64 32>
NEXTAUTH_URL=http://localhost:3000
# External APIs
OPENAI_API_KEY=sk-...
.env.example but isn't used in code (stale), and any used in code but missing from .env.example (dangerous)..env.example file