bobmatnyc/claude-mpm/env-manager
Claude Code and agent skill by bobmatnyc/claude-mpm
- community
Checking that the SKILL.md file is still in the repository.
Environment variable validation, synchronization, and management across local development, CI/CD, and deployment platforms
Install
npx vskill@latest install bobmatnyc/claude-mpm/env-managerSKILL.md
Environment Variable Manager
Overview
Manage environment variables systematically across local development, CI/CD pipelines, and deployment platforms. Prevent common issues like missing variables, exposed secrets, platform misconfigurations, and framework-specific gotchas.
Core capabilities:
- Validation: Check structure, completeness, naming conventions
- Security: Scan for exposed secrets, validate .gitignore coverage
- Synchronization: Sync with deployment platforms and secret managers
- Framework Support: Next.js, Express, Flask, Django patterns
- Documentation: Auto-generate .env.example and setup guides
When to Use This Skill
Activate when:
- Setting up new project environment configuration
- Deploying to Vercel, Railway, Heroku, or other platforms
- Troubleshooting "works locally but not in production"
- Managing secrets across multiple environments
- Syncing variables with 1Password, AWS Secrets Manager
- Creating .env.example documentation
- Onboarding new developers (environment setup)
- Migrating between deployment platforms
- Framework-specific env configuration (Next.js NEXT_PUBLIC_ prefix)
Core Principles
- Never Log Secrets: All operations must NEVER display actual secret values
- Validate Before Deploy: Catch env issues locally, not in production
- Framework-Aware: Respect framework conventions (Next.js, Express, Flask)
- Platform-Specific: Generate correct configs for each deployment platform
- Security First: Scan for exposed secrets, validate .gitignore
Quick Start
Validation Workflow
Security Workflow
Synchronization Workflow
Documentation Workflow
Navigation
For detailed workflows and patterns:
- [Validation](references/validation.md): Complete validation workflows and checks
- [Security](references/security.md): Secret scanning and security patterns
- [Synchronization](references/synchronization.md): Platform sync and secret manager integration
- [Frameworks](references/frameworks.md): Framework-specific patterns (Next.js, Express, Flask)
- [Troubleshooting](references/troubleshooting.md): Common issues and solutions
Framework-Specific Quick Reference
Next.js
Express/Node.js
Python/Flask
Platform-Specific Quick Reference
Vercel
Railway
Heroku
Key Reminders
- NEVER log actual secret values - Always mask/redact in output
- Validate before every deployment - Catch issues locally
- Use .env.example for documentation - Keep it updated
- Framework conventions matter - Next.js NEXT_PUBLIC_, Django DJANGO_SETTINGS_MODULE
- Platform-specific quirks exist - Vercel auto-exposes NEXT_PUBLIC_*, Railway uses exact syntax
- Secret managers are your friend - 1Password, AWS Secrets Manager for team sync
- .gitignore is critical - NEVER commit .env files with secrets
- Environment precedence can be tricky - Know your framework's loading order
Common Validation Checks
Structure Validation
- [ ] No empty values (except explicitly allowed)
- [ ] No inline comments (some parsers don't support)
- [ ] Proper quoting for values with spaces
- [ ] No duplicate keys
- [ ] Valid key naming (UPPERCASE_WITH_UNDERSCORES)
Security Validation
- [ ] No exposed secrets in code
- [ ] .env files in .gitignore
- [ ] No secrets in git history
- [ ] API keys match expected format
- [ ] No hardcoded URLs with credentials
Framework Validation (Next.js)
- [ ] NEXT_PUBLIC_* for client-side vars only
- [ ] No secrets in NEXT_PUBLIC_* vars
- [ ] .env.local exists for local secrets
- [ ] .env.example documents all vars
Platform Validation (Vercel)
- [ ] All required vars defined
- [ ] No conflicts between environments
- [ ] Correct variable names (Vercel conventions)
- [ ] Build-time vs runtime vars separated
Integration with Other Skills
Related Skills
- docker-containerization - Environment variables in containers
- security-scanning - Broader security checks including secrets
- nextjs-local-dev - Next.js specific development patterns
- systematic-debugging - Debug env-related issues
Workflow Integration
Lines: 197 (including frontmatter) ✓ <200
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/claude_mpm/skills/bundled/infrastructure/env-manager/SKILL.md
Popularity
- Repository stars
- 150
- Repository forks
- 34
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bobmatnyc/claude-mpm/env-manager)