Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

Environment Variable Manager (env-manager)

Scans, validates and syncs .env files, then generates safe .env.example templates and schemas.

Dev & CodingIntermediate85994AI score 9/10Last updated: Sep 20, 2026

What it does

  • Scans every .env* file in the project, collecting only variable names, source file and empty/filled state — real values stay masked.
  • Cross-checks code references (process.env.X, os.environ['X'], os.getenv('X')) to surface defined-but-unused and used-but-undefined variables.
  • Validates URL formats, port ranges and booleans, and flags hardcoded API keys, tokens and passwords with file:line.
  • Generates .env.example, .env.schema.json, Docker Compose env_file blocks and CI/CD secrets checklists.
  • Includes framework gotchas (Next.js NEXT_PUBLIC_, Vite VITE_, CRA REACT_APP_, Docker ARG vs ENV, monorepo loading).

Who it's for

  • Web/backend developers juggling dev, staging and production configs.
  • Monorepo teams that need shared env vars kept in sync.
  • Anyone auditing a codebase for leaked or hardcoded secrets before committing.

Examples

  1. "Scan all .env files and tell me what's missing or unused" → structured analysis report.
  2. "Generate a .env.example from my current config" → annotated template with no real values.
  3. "Find hardcoded tokens and suggest how to move them to env vars" → file:line list plus migration steps.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/laolaoshiren/claude-code-skills-zh/HEAD/skills/env-manager/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the skills/env-manager folder from the GitHub repo laolaoshiren/claude-code-skills-zh into my ~/.claude/skills/env-manager/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/laolaoshiren/claude-code-skills-zh.git && mkdir -p ~/.claude/skills && cp -r claude-code-skills-zh/skills/env-manager ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/laolaoshiren/claude-code-skills-zh.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r claude-code-skills-zh/skills/env-manager ~/.claude/skills/
  5. Run claude inside your project and ask something like "audit my environment variables" or "generate a .env.example".
  6. Before running, confirm .env is listed in .gitignore so nothing sensitive is committed.