env-check

Validate environment variables against requirements in .env.example.

11|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/berkcangumusisik/claude-code-practices --skill env-check-berkcangumusisik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: env-check
Source: https://github.com/berkcangumusisik/claude-code-practices/tree/main/skills/env-check
Command: npx skills add https://github.com/berkcangumusisik/claude-code-practices --skill env-check-berkcangumusisik

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validates current environment variables against the requirements specified by .env.example, helping teams catch misconfigurations before runtime.

Core Features & Use Cases

  • Presence validation: checks that all required keys exist in the current environment.
  • Mismatch detection: identifies values that are missing or set incorrectly relative to the template.
  • Deployment safety: integrates into local development, CI pipelines, and staging environments to prevent startup failures.

Quick Start

Run env-check to verify that all required environment variables from .env.example are present and correctly configured in the current environment.

Frequently Asked Questions about env-check

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

FAQPage Schema
How do I validate environment variables before deployment?

Validate environment variables before deployment by comparing actual environment keys against requirements listed in a .env.example file to catch misconfigurations and prevent startup failures.

What is the best way to check for missing dotenv variables in a CI pipeline?

Checking for missing dotenv variables in a CI pipeline involves scanning the current environment against .env.example to enforce the presence of required keys and flag missing values.

Why does my application fail on startup due to missing environment variables?

Startup failures from missing environment variables occur when required keys are absent or misconfigured, which can be prevented by validating environment configurations against .env.example.

Can I use .env.example to detect environment misconfigurations in staging?

Yes, .env.example can detect environment misconfigurations in staging by comparing actual environment variables to the template, identifying missing or incorrectly set values before runtime.

Does environment validation work across development, staging, and production pipelines?

Environment validation works across development, staging, and production pipelines by enforcing required key presence and suggesting steps to obtain or set missing values before deployment.

How do I ensure all required environment keys exist in my current environment?

Ensure all required environment keys exist by running a validation check that compares actual environment variables to the .env.example template and flags any missing keys.