← ClaudeAtlas

envlisted

Environment Management
AreteDriver/ai-skills · ★ 3 · AI & Automation · score 71
Install: claude install-skill AreteDriver/ai-skills
# /env - Environment Management Manage .env files, secrets, and environment configuration. ## Usage ``` /env # Audit current env setup /env --init # Create .env from .env.example /env --check # Verify all required vars set /env --rotate KEY # Rotate a secret ``` ## What This Skill Does 1. **Audit Setup** - Check .env, .env.example, .gitignore 2. **Validate Config** - Required vars present and valid 3. **Security Check** - No secrets in code or git 4. **Generate Template** - Create .env.example from code 5. **Document Vars** - What each variable does ## Environment File Structure ### .env (local, never commit) ```bash # Database DATABASE_URL=postgresql://user:pass@localhost/db # API Keys API_KEY=sk-xxxxxxxxxxxx SECRET_KEY=your-secret-key-here # Feature Flags DEBUG=true LOG_LEVEL=debug ``` ### .env.example (commit this) ```bash # Database DATABASE_URL=postgresql://user:password@localhost/dbname # API Keys (get from dashboard) API_KEY= SECRET_KEY= # Feature Flags DEBUG=false LOG_LEVEL=info ``` ### .gitignore (required entries) ``` .env .env.local .env.*.local *.pem *.key credentials.json secrets/ ``` ## Environment Audit Report ```markdown # Environment Audit: [Project] ## Files | File | Status | Notes | |------|--------|-------| | .env | Exists | 12 variables | | .env.example | Missing | Should create | | .gitignore | OK | .env excluded | ## Variables ### Required (Missing) | Variable | Used In | Purpose | |--