Claude Codeintermediate
Environment Variable Usage Auditor
Find all environment variables referenced in your codebase and report which ones are actually used, missing, or unused.
Use case
Audit your codebase to catch missing environment variables before deployment, remove unused ones cluttering your.env files, and identify hardcoded values that should be configurable.
The Prompt
Read this prompt free
Create a free account, takes 10 seconds. Just your email, no credit card.
Free accounts also get the weekly newsletter.
Tags
#environment#configuration#audit#cleanup#devops
Related prompts
Trace Every Environment Variable to Its Consumer
Maps each env var in your codebase to where it's read, how it's validated, and what breaks if it's missing.
Environment Variable Leak Scanner
Scan codebase for hardcoded secrets, unvalidated env refs, and missing fallbacks.
Unused Variable Finder in Large Codebases
Scans code for declared but never-referenced variables across files and modules.
Convert a .env File Into a Secrets Exposure Risk Report
Audits a sanitized .env file to identify which variables carry secrets and how badly exposure would hurt.
