Configure and manage development, staging, and production environments. Use when setting up environment variables, managing configurations, or separating environments. Handles .env files, config management, and environment-specific settings.
87
82%
Does it follow best practices?
Impact
99%
1.23xAverage score across 3 eval scenarios
Passed
No known issues
Type-safe Zod environment validation
Zod schema used
100%
100%
dotenv.config() called
100%
100%
Numeric coercion for PORT
100%
100%
JWT secret min length
100%
100%
Stripe key prefix check
0%
100%
NODE_ENV enum
100%
100%
Default values
0%
100%
ZodError caught
40%
100%
Per-field error logging
100%
100%
process.exit(1) on failure
100%
100%
Validated env exported
100%
100%
Multi-environment config architecture
Development config file
100%
100%
Production config file
100%
100%
Test mapped to dev
50%
100%
Prod rate limit enabled
0%
100%
Rate limit windowMs
100%
100%
Rate limit max
100%
100%
Dev rate limit disabled
0%
100%
Prod CORS from ALLOWED_ORIGINS
100%
100%
Dev CORS open
100%
100%
.env.local file created
100%
100%
.env.local gitignored
100%
100%
Prod prettyPrint false
100%
100%
Production-ready env setup with .env files and gitignore
.env.example created
100%
100%
.gitignore covers .env files
100%
100%
No hardcoded secrets
100%
100%
DB pool defaults
100%
100%
JWT access expiry default
100%
100%
JWT refresh expiry default
100%
100%
Required vars validation
100%
100%
Config interface typed
75%
75%
.env.production uses variable injection
0%
100%
Config directory structure
100%
100%
c033769
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.