- Home
- Skills
- Agents & Orchestration
- env example sync checker
Works with the AI Agents you already use
env example sync checker
Detect missing or orphaned environment variables by comparing .env.example against your source code.
$5
env example sync checker
Example session with this skill installed
Audit my .env.example file against the src/ directory and tell me if I've missed any variables or if any are no longer needed.
- Read your context and instructions
- Compiled the env example sync
I have completed the audit comparing .env.example against the references found in your src/ directory and configuration files.
.env.example Sync Report
Summary
.env.example variables: 8 | Referenced: 9 | Matched: 7 | Missing: 2 | Orphaned: 1 | Dynamic/unresolved: 1
Missing Variables
Variables found in source but missing from .env.example.
| Variable | Source | Context |
|---|---|---|
STRIPE_WEBHOOK_SECRET | src/api/webhooks.ts:12 | Missing in example |
REDIS_TLS_ENABLED | src/lib/redis.ts:4 | Missing in example |
Orphaned Variables
Declared in .env.example but no references were found in the inspected source.
| Variable | Declared In | Notes |
|---|---|---|
LEGACY_API_KEY | .env.example:15 | Potentially deployment-managed or obsolete |
Dynamic / Unresolved
Static analysis found environment access, but the variable names are determined at runtime.
process.env[prefix + "_TOKEN"]atsrc/auth/providers.ts:22
Recommended Actions
- Add
STRIPE_WEBHOOK_SECRETandREDIS_TLS_ENABLEDto.env.examplewith placeholder values. - Verify if
LEGACY_API_KEYis used by CI/CD or external scripts before removal. - Manually audit
src/auth/providers.tsto ensure all dynamic token variants are documented.
Next steps
- Would you like me to append the missing variables to
.env.examplefor you? - Should I check for these variables in
docker-compose.ymlor other config files?
Connects securely to your tools. The creator never sees your data.
About this skill
The problem
Developers often forget to update .env.example when adding new environment variables to source code. This leads to broken onboarding experiences for new contributors and missing configuration in CI/CD pipelines.
What it does
- Scans source code for
process.env,os.environ, and language-specific equivalents to identify required variables. - Parses
.env.exampleto extract declared variable names while ignoring their values. - Identifies missing variables that are used in code but absent from the example file.
- Flags orphaned variables present in the example file but not found in the codebase.
- Detects dynamic environment access that cannot be statically analyzed for manual review.
Frameworks & tools
Works with Node.js, Python, Ruby, PHP, Go, Java, and Rust. Supports framework conventions for Next.js and Vite.
Why this beats prompting it yourself
Generic prompts often hallucinate environment variable names or fail to scan configuration files like docker-compose.yml. This skill follows strict security protocols to never leak or display actual secret values during the audit process.
Use cases
- Pre-commit audits to ensure
.env.examplestays in sync with feature branches. - Onboarding troubleshooting when a project fails to start due to missing config.
- Cleaning up legacy repositories by identifying potentially obsolete environment declarations.
Known limitations
Static analysis cannot detect variables accessed via dynamic string concatenation or runtime reflection. It does not scan for actual secrets or validate credential correctness.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scanned
Verified clean 1 month ago
- Passed all security checks, Safe to install