LogoClawIndex
CasesSkillsAbout
LogoClawIndex

add-env-variable - Add Environment Variables to Application

Add new environment variables with Zod validation to application configuration

Tags

Updated: 2026-03-21
environmentconfigurationvalidationtesting

Capabilities

add variable to schemaadd variable to mappingdocument variable in .env.exampleadd validation tests

Typical Inputs

variable namevariable valuevalidation rules

Typical Outputs

updated schema definitionupdated mapping objectupdated .env.example

What this skill does

  • add variable to schema
  • add variable to mapping
  • document variable in .env.example
  • add validation tests

Inputs

  • variable name
  • variable value
  • validation rules
  • variable type

Outputs

  • updated schema definition
  • updated mapping object
  • updated .env.example
  • new test cases

Requirements

  • TypeScript environment
  • Zod validation library
  • access to src/env.ts

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.