Agent skill · software engineering · aiskillstore

environment-setup

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.

Why this skill is useful

Provides specific .env file structures and TypeScript validation patterns that enhance environment configuration management.

What it needs

Requires dotenv, zod installed locally. About 3k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

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): .env.local (per developer): .env.production: Step 2: Type-Safe Environment Variables (TypeScript) config/env.ts: Error Handling: Step 3: Per-Environment Config Files config/index.ts: Step 4: Environment-Specific Configuration Files config/environments/development.ts: config/environments/production.ts: config/index.ts (unified): Step 5: Docker Environment Variables docker-compose.yml: Output format .gitignore: Constraints Required Rules (MUST) 1. Provide .env.example: List of required environment variables 2. Validation: Error when required environment variables are missing 3. .gitignore: Never commit .env files Prohibited (MUST NOT) 1. Commit Secrets: Never commit .env files 2. Hardcoding: Do not hardcode environment-specific settings in code Best practices 1. 12 Factor App: Manage configuration via environment variables 2. Type Safety: Runtime validation with Zod 3. Secrets Management: Use AWS Secrets Manager, Vault References dotenv Zod 12 Factor App - Config Metadata Version Current Version: 1.0.0 Last Updated: 2025-01-01 Compatible Platforms: Claude, ChatGPT, Gemini Tags #environment #configuration #env-variables #dotenv #config-management #utilities Examples Example 1: Basic usage <!-- Add example content here --> Example 2: Advanced usage <!-- Add advanced example content here -->

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/environment-setup

View the source on GitHub

Browse the @skills marketplace