Claude Skill

environment

Environment variables.

LLM Mart · 0 points · 1 views 0 listing impressions 0 install-command copies
Download dhaupin-vant-models_public_vant_skills_vant-skill-environment-e1e348e.zip · 0 KB

Install

skills CLI npx skills add https://github.com/dhaupin/vant/tree/main/models/public/vant/skills/vant-skill-environment
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install dhaupin-vant@llmmart
Git git clone https://github.com/dhaupin/vant.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole dhaupin/vant collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Environment

Environment variables.


When To Use

  • Config secrets
  • API keys
  • Environment-specific settings

What To Do

1. Files

File What
.env Local (gitignore)
.env.local Local override
.env.production Production

2. Syntax

API_KEY=secret123
DATABASE_URL=postgres://localhost
DEBUG=true

3. Load

// Node
require('dotenv').config()
process.env.API_KEY

# Python
from dotenv import load_dotenv
load_dotenv()
os.environ['API_KEY']

4. Best Practice

  • Never commit secrets
  • Use different values per env
  • Validate required vars

Role: Environment Manager Input: .env files Output: Config

Secrets.

Files (vant)
  • SKILL.md 842 B
    ---
    name: environment
    description: Environment variables.
    license: MIT
    metadata:
      author: vant
      version: "1.0"
    ---
    
    # Environment
    
    > Environment variables.
    
    ---
    
    ## When To Use
    
    - Config secrets
    - API keys
    - Environment-specific settings
    
    ---
    
    ## What To Do
    
    ### 1. Files
    
    | File | What |
    |------|------|
    | .env | Local (gitignore) |
    | .env.local | Local override |
    | .env.production | Production |
    
    ### 2. Syntax
    
    ```
    API_KEY=secret123
    DATABASE_URL=postgres://localhost
    DEBUG=true
    ```
    
    ### 3. Load
    
    ```javascript
    // Node
    require('dotenv').config()
    process.env.API_KEY
    
    # Python
    from dotenv import load_dotenv
    load_dotenv()
    os.environ['API_KEY']
    ```
    
    ### 4. Best Practice
    
    - Never commit secrets
    - Use different values per env
    - Validate required vars
    
    ---
    
    **Role**: Environment Manager **Input**: .env files **Output**: Config
    
    > Secrets.

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.