executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
managing-environment-configurationsImplement environment and configuration management with comprehensive guidance and automation. Use when you need to work with environment configuration. Trigger with phrases like "manage environments", "configure environments", or "sync configurations".
Independent GitHub snapshot · Automated classification · Original documentation governs
name: managing-environment-configurations description: 'Implement environment and configuration management with comprehensive guidance and automation.
Use when you need to work with environment configuration.
Trigger with phrases like "manage environments", "configure environments",
or "sync configurations".
' allowed-tools: Read, Write, Edit, Grep, Glob, Bash(cmd:*) version: 1.23.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
Manage application configurations across development, staging, and production environments using .env files, Kubernetes ConfigMaps/Secrets, SSM Parameter Store, and cloud-native configuration services. Enforce consistency, prevent configuration drift, and implement safe promotion workflows between environments.
sops, age, sealed-secrets, or cloud KMS).env files, config/ directories, Kubernetes ConfigMaps, and hardcoded values in source codeAPP_DATABASE_HOST, APP_REDIS_URL).env.development, .env.staging, .env.productionsops with cloud KMS or sealed-secrets for Kubernetes.env.*, config/*.yaml).sops.yaml rules| Error | Cause | Solution |
|---|---|---|
Missing required environment variable | Variable defined in schema but absent from .env file | Add the variable to the environment file; run validation script before deploy |
SOPS decryption failed | Wrong KMS key or expired credentials | Verify KMS key ARN in .sops.yaml; refresh cloud credentials |
ConfigMap too large | Kubernetes 1MB ConfigMap size limit exceeded | Split into multiple ConfigMaps or mount as files from a volume |
Configuration drift detected | Manual changes made directly to running environment | Re-apply configuration from source-of-truth; block direct environment edits |
Secret exposed in logs | Application logging sensitive config values at startup | Mask secrets in logging output; audit code for accidental secret printing |
.env files for a Node.js app with SOPS encryption for secrets and validation that all required vars are set."