- Home
- Skills
- Agents & Orchestration
- env example sync checker
Works with the AI tools 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
- Generated the document
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?
env-example-sync-checker.pdf
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
What you get
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 install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
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
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 6 days ago
- Passed all security checks, Safe to install