What problem does it solve?
This Skill streamlines the setup of environment variables, ensuring type safety and providing sensible defaults for local development, preventing common configuration errors.
Core Features & Use Cases
- Type-Safe Validation: Uses Zod to validate environment variables at build time, catching errors early.
- Local Defaults: Generates a
.env.local.example file with defaults for Docker services, simplifying local setup.
- Reconciliation: Merges
.env.local.example with existing .env.local files, preserving secrets while adding missing defaults.
- Use Case: When starting a new project, use this skill to establish a robust and validated environment configuration system that works seamlessly from local development to production.
Quick Start
Run the provided script to reconcile your local environment variables against the example defaults.