What it does
The Env Example Generator automates the tedious and error-prone process of creating template environment files. It parses your active .env file to generate a clean, shareable .env.example version by preserving all your configuration keys, comments, and file structure while completely stripping away sensitive values.
Why use this skill
Manually maintaining example files often leads to "leaked" secrets or outdated templates. This skill ensures your repository documentation stays in sync with your actual configuration without the risk of exposing API keys, database credentials, or private tokens. It handles complex file layouts, including blank lines and organizational comments, making it superior to simple regex scripts.
Workflow & Output
The skill scans your local environment, identifies secret-looking keys, and produces a sanitized output ready for version control. You can preview the changes in stdout or let the agent write the .env.example directly to your project root. It includes built-in guardrails to prevent accidental overwrites and ensures original values never leave your local context.