add-env-variable
CommunitySafely add and validate environment variables.
Authormadooei
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Adds a structured, safe approach to introducing new environment variables, ensuring they are validated, documented, and wired into the application to prevent runtime errors.
Core Features & Use Cases
- Schema-driven validation: updates the env schema (e.g., using zod) to validate the new variable.
- End-to-end integration: updates
src/env.ts, the dotenv mapping,.env.example, and unit tests to keep configuration consistent. - Documentation and testing: documents the variable in
.env.exampleand adds tests to verify validation and defaults.
Quick Start
Add a new environment variable by updating the env schema, mapping, documentation, and tests.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: add-env-variable Download link: https://github.com/madooei/backend-template/archive/main.zip#add-env-variable Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.