skills/smithery.ai/add-env-variable

add-env-variable

Installation
SKILL.md

Add Environment Variable

Adds a new environment variable with Zod validation. All environment variables must be defined in src/env.ts and documented in .env.example.

Quick Reference

Files to modify:

  1. src/env.ts - Add to schema and mapping
  2. .env.example - Document the variable
  3. tests/env.test.ts - Add validation tests

Instructions

Step 1: Add to Schema in src/env.ts

Add the variable to the envSchema object:

Installs
1
First Seen
Mar 28, 2026
add-env-variable from smithery.ai