managing-configuration
Installation
SKILL.md
Managing Configuration
When to use
- Adding new environment variables
- Debugging config-related crashes
- Onboarding a new environment
- Removing scattered
process.envaccess
Core rules
- Read
process.envexactly once at boot - Validate with Zod (preferred) or class-validator
- Export typed
AppConfigobject for the rest of the code - No
process.envoutside the config module - Secrets never logged or returned in responses