From aj-geddes-useful-ai-prompts-4
Manage application configuration across environments, including environment variables, secret management, feature flags, and 12-factor app principles.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aj-geddes-useful-ai-prompts-4:configuration-managementThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Overview](#overview)
references/12-factor-app-configuration.mdreferences/configuration-hierarchies.mdreferences/configuration-validation.mdreferences/dynamic-configuration-remote-config.mdreferences/environment-variables.mdreferences/feature-flags.mdreferences/secret-management.mdscripts/validate-schema.shtemplates/migration-template.sqlComprehensive guide to managing application configuration across environments, including environment variables, configuration files, secrets, feature flags, and following 12-factor app methodology.
Minimal working example:
# .env.development
NODE_ENV=development
PORT=3000
DATABASE_URL=postgresql://localhost:5432/myapp_dev
REDIS_URL=redis://localhost:6379
LOG_LEVEL=debug
API_KEY=dev-api-key-12345
# .env.production
NODE_ENV=production
PORT=8080
DATABASE_URL=${DATABASE_URL} # From environment
REDIS_URL=${REDIS_URL}
LOG_LEVEL=info
API_KEY=${API_KEY} # From secret manager
# .env.test
NODE_ENV=test
DATABASE_URL=postgresql://localhost:5432/myapp_test
LOG_LEVEL=error
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Environment Variables | Environment Variables |
| Configuration Hierarchies | Configuration Hierarchies |
| Secret Management | Secret Management |
| Feature Flags | Feature Flags |
| 12-Factor App Configuration | 12-Factor App Configuration |
| Configuration Validation | Configuration Validation |
| Dynamic Configuration (Remote Config) | Dynamic Configuration (Remote Config) |
npx claudepluginhub aj-geddes/useful-ai-promptsManages application configuration across environments using layered loading from CLI args, env vars, .env files, config files, secrets, and Pydantic validation. Covers 12-factor patterns for settings architecture.
Manages configs across dev/staging/prod with .env files, Kubernetes ConfigMaps/Secrets, AWS SSM. Audits values, encrypts secrets via sops, validates schemas, detects drift, enables promotion workflows.
Manages full lifecycle of secrets and environment variables: decides placement (constant, .env, CI secret, env var), scaffolds .env.example/.gitignore, add/update/rotate/remove/migrate/audit/provision across envs. Language-agnostic.