Skip to content
Back to skills

Env Check

ASecurity

Validates current environment variables against .env.example requirements

  • 10 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 1, 2026
ai-agentsbashapidatabase

Works with

  • api

Security analysis

A100/100

Scanned June 1, 2026

npx -y skills add berkcangumusisik/claude-code-practices --skill env-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Env Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Env Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/berkcangumusisik-env-check/badge)](https://www.skillsdirectory.com/skills/berkcangumusisik-env-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: env-check
description: Validates current environment variables against .env.example requirements
user-invocable: true
allowed-tools: Bash Read
effort: low
---

## Environment Variable Check

1. Read requirements:
```bash
cat .env.example 2>/dev/null || cat .env.template 2>/dev/null
```

2. Check which are set in the current environment:
```bash
while IFS='=' read -r key _; do
  [[ "$key" =~ ^#|^$ ]] && continue
  if [[ -z "${!key}" ]]; then
    echo "MISSING: $key"
  else
    echo "  SET: $key"
  fi
done < .env.example
```

3. Additional checks:
   - DATABASE_URL: can it actually connect?
   - API keys: correct format (prefix check)?
   - URLs: valid format?

4. Output:
```
Environment Check:
  ✅  DATABASE_URL
  ✅  JWT_SECRET
  ❌  STRIPE_SECRET_KEY  ← MISSING (required for payments)
  ⚠️  REDIS_URL          ← Missing (optional, caching disabled)

Result: 1 required var missing - app will fail to start.
```

5. Suggest how to obtain missing variables.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.