config-environments
CommunityDesign safe multi-env configuration
Software Engineering#code review#configuration#secrets#environment variables#credential isolation#dev staging production#build-time env
Authorjcdendrite
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents configuration mistakes that happen when developers encode environment names into variable names or branch on environment at runtime, which can cause wrong credentials, leaks of production-shaped state, and brittle deployments.
Core Features & Use Cases
- Canonical env var naming across environments: Use the same variable name everywhere (e.g., DATABASE_URL) while each environment’s config source supplies the correct value.
- Stops credential selection branching: Avoid logic that picks _DEV/_PROD or _LIVE/_TEST secrets based on NODE_ENV or ENVIRONMENT; isolate credentials at provisioning time instead.
- Fail-fast validation guidance: Treat missing or sensitive configuration as boot-time errors rather than sentinel-defaults that silently point at live systems.
- Review checklist for env-aware code: Evaluate env-var naming, NODE_ENV branching, build-time vs runtime bundling behavior, and scattered env reads.
Quick Start
Review a proposed environment-variable scheme by checking for suffixed variable names and runtime credential selection, then rewrite it to use canonical names loaded per environment.
Dependency Matrix
Required Modules
None requiredComponents
references
đź’» Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: config-environments Download link: https://github.com/jcdendrite/claude-config/archive/main.zip#config-environments Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.