add-env-var

Community

Manage environment variables

AuthorEmmanuelkwaa
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a structured approach to adding and managing environment variables for both backend and frontend applications, ensuring consistency and proper configuration across different environments.

Core Features & Use Cases

  • Backend Configuration: Guides on adding variables to appsettings.json, integrating with Aspire, and mapping to Options classes.
  • Frontend Configuration: Details on updating .env files, Dockerfile, and build arguments for frontend variables, including public and private types.
  • Use Case: You need to add a new API key for a third-party service to your SvelteKit application. This Skill will walk you through adding it securely to the backend and exposing it to the frontend if necessary, including build-time configurations.

Quick Start

Add a new backend environment variable named 'MyNewBackendVar' with a default value of 'DefaultValue'.

Dependency Matrix

Required Modules

None required

Components

references

💻 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-var
Download link: https://github.com/Emmanuelkwaa/NetRockTemplate/archive/main.zip#add-env-var

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.