environment-setup

Installation
Summary

Manage development, staging, and production environments with type-safe configuration and secrets handling.

  • Provides templates for .env files, per-developer overrides, and environment-specific configurations with clear gitignore rules
  • Includes TypeScript validation using Zod to enforce required variables and type constraints at runtime with detailed error messages
  • Supports multi-environment config files (development, production, test) with environment-specific settings for logging, CORS, and rate limiting
  • Covers Docker Compose integration, secrets management patterns, and 12 Factor App compliance for configuration as code
SKILL.md

Environment Configuration

When to use this skill

  • New Projects: Initial environment setup
  • Multiple Environments: Separate dev, staging, production
  • Team Collaboration: Share consistent environments

Instructions

Step 1: .env File Structure

.env.example (template):

# Application
NODE_ENV=development
PORT=3000
Related skills

More from supercent-io/skills-template

Installs
10.5K
GitHub Stars
88
First Seen
Jan 24, 2026