env-configuration
Skill by latitude-dev
Guides an assistant on adding or reading Latitude environment variables, keeping .env.example and self-host docs in sync, and parsing config with parseEnv and parseEnvOptional.
Install env-configuration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/latitude-dev/latitude-llm /tmp/latitude-llm && mkdir -p ~/.claude/skills && cp -r /tmp/latitude-llm/.agents/skills/env-configuration ~/.claude/skills/env-configurationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/latitude-dev/latitude-llm /tmp/latitude-llm && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/latitude-llm/.agents/skills/env-configuration ~/.gemini/antigravity-cli/skills/env-configurationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill sets the rules for environment variables in the Latitude codebase. Application variables must use the LAT_ prefix. Browser-exposed Vite variables use VITE_LAT_, and NODE_ENV and Docker-only init variables are excluded from the prefix. Every new variable must appear in .env.example, with required variables uncommented and given a local default, and optional variables commented with a placeholder.
When a LAT_ variable is added, renamed or removed, the skill says to update the self-host configuration reference and, where relevant, the Helm chart. Variables specific to Latitude's own cloud stay out of the self-host docs. Application code should read config through parseEnv or parseEnvOptional from @platform/env rather than process.env directly. It is aimed at developers working in the Latitude repository who add or change configuration.
Written from the project's SKILL.md and checked against it.
What it can do
- LAT_ prefix ruleSets which variables must use the LAT_ prefix and which must not.
- .env.example maintenanceExplains how to list required and optional variables in .env.example.
- Self-host syncLists the docs and Helm chart locations to update when a LAT_ variable changes.
- Config parsingShows reading variables with parseEnv and parseEnvOptional from @platform/env.
Try asking
- Add a new LAT_ variable for a feature and update .env.example
- Which env vars belong in the Helm chart configmap or secret?
- Read the API port from config using parseEnv in this service
Good to know
- Describes Latitude repository conventions, not a general project setup.
- Cloud-only variables such as Stripe, Loops and Intercom stay out of self-host docs.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/env-configuration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB
Alternatives to env-configuration
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
env-configuration: common questions
Which prefix should new environment variables use in Latitude?
Application variables must use the LAT_ prefix. Browser-exposed Vite variables use VITE_LAT_, while NODE_ENV and Docker-only init variables do not use LAT_.
How should config be read in Latitude code?
Use parseEnv or parseEnvOptional from @platform/env. The source says not to read process.env directly or use unprefixed names for app config.
Which variables stay out of the self-host configuration docs?
Variables specific to Latitude's own cloud, such as payments and Stripe, marketing email via Loops, Intercom support chat, and internal analytics vendors.
How do I install env-configuration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is env-configuration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is env-configuration safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to env-configuration?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
