Dotenv Integration
SkillDev toolsIntegrate dotenv for environment variable loading with validation and type coercion.
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the Dotenv Integration skill
What this skill tells your AI
The instructions your AI receives, as published by a5c-ai/babysitter in library/specializations/cli-mcp-development/skills/dotenv-integration/SKILL.md and read by ahel’s review.
Integrate dotenv for environment variable loading.
Generated Patterns
import { config } from 'dotenv';
import { expand } from 'dotenv-expand';
import { z } from 'zod';
// Load .env files in order
for (const file of ['.env.local', `.env.${process.env.NODE_ENV}`, '.env']) {
expand(config({ path: file }));
}
const envSchema = z.object({
NODE_ENV: z.enum(['development', 'production', 'test']).default('development'),
PORT: z.coerce.number().default(3000),
DATABASE_URL: z.string().url(),
API_KEY: z.string().min(1),
});
export const env = envSchema.parse(process.env);
Target Processes
- configuration-management-system
- mcp-server-bootstrap
- cli-application-bootstrap
Signals
- GitHub stars
- 2k
- Forks
- 112
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
dotenv-integration- Source
- github.com/a5c-ai/babysitter