env-manager

Scan codebases for environment variable references and generate .env.example files.

54|21|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/Nhqvu2005/VibeGravityKit --skill env-manager-nhqvu2005
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: env-manager
Source: https://github.com/Nhqvu2005/VibeGravityKit/tree/main/VibeGravityKit/.agent/skills/env-manager
Command: npx skills add https://github.com/Nhqvu2005/VibeGravityKit --skill env-manager-nhqvu2005

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of a .env.example file, ensuring all necessary environment variables used in your codebase are documented and discoverable, preventing configuration drift and onboarding friction.

Core Features & Use Cases

  • Environment Variable Discovery: Scans your project for various patterns of environment variable usage (e.g., process.env, os.environ, ${VAR}).
  • Example File Generation: Creates a .env.example file with placeholders and descriptions for each detected variable.
  • Use Case: After adding new features that require new API keys or database credentials, run this Skill to automatically update your .env.example file, making it easy for new team members or CI/CD pipelines to set up the correct environment variables.

Quick Start

Run the env-manager skill to scan the current directory and generate a .env.example file.

Frequently Asked Questions about env-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a .env.example file from my codebase?

To generate a .env.example file, you can use a code scanning tool to automatically detect environment variable references across multiple file types and create a safe template with placeholders. This ensures all required variables are documented without exposing sensitive values.

What is the best way to document environment variables for developer onboarding?

Documenting environment variables for onboarding is best achieved by generating a .env.example template with placeholders and descriptions. This prevents configuration drift by ensuring new team members and CI/CD pipelines can easily discover and set up required environment variables.

How does environment variable discovery work across different programming languages?

Environment variable discovery works by scanning a project's codebase for various detection patterns like `process.env`, `os.environ`, and `${VAR}` across multiple file types. It identifies these references to build a comprehensive list of required configuration keys.

Can I automatically update .env.example after adding new API keys or database credentials?

Yes, you can automatically update a .env.example file after adding new API keys or credentials by running an environment variable scanner. It detects the newly added references in your code and regenerates the template to include the missing placeholders.

Does generating an .env.example file expose my actual configuration values?

Generating an .env.example file does not expose actual configuration values because the process specifically creates a safe template with placeholders instead of real data. This ensures sensitive information like API keys and database credentials remain secure while documenting variable names.

What patterns are scanned for when detecting environment variable usage?

When detecting environment variable usage, the scanner looks for common patterns like `process.env` for Node.js, `os.environ` for Python, and `${VAR}` syntax across various file types. This broad detection ensures comprehensive configuration discovery.