AgentStack
SKILL verified Apache-2.0 Self-run

Env Config

skill-medy-gribkov-arcana-env-config · by medy-gribkov

Environment and configuration management covering .env patterns, runtime validation with zod and envalid, secret handling, 12-factor config principles, and Docker env injection.

No reviews yet
0 installs
4 views
0.0% view→install

Install

$ agentstack add skill-medy-gribkov-arcana-env-config

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Env Config? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Purpose

Prevent misconfigurations from reaching production. Validate environment variables at startup, manage secrets safely, and keep config portable across local dev, CI, and production.

.env File Patterns

File Hierarchy

  • .env holds shared defaults. Commit this to the repo with safe placeholder values.
  • .env.local holds developer-specific overrides. Add to .gitignore.
  • .env.production, .env.staging, .env.test hold environment-specific values.
  • Load order (most frameworks): .env Secrets and variables > Actions.
  • Access via ${{ secrets.MY_SECRET }} in workflow files.
  • Use environment-level secrets for deploy targets that need different credentials.

Kubernetes

  • Use ConfigMaps for non-sensitive config, Secrets for sensitive data.
  • Mount as environment variables or files depending on the consumer.
  • Use External Secrets Operator to sync from cloud secret managers.

Troubleshooting

  • Variable not loading: check file encoding (must be UTF-8, no BOM), line endings (LF not CRLF).
  • Variable undefined in browser: ensure the framework prefix is correct (NEXTPUBLIC, VITE, REACTAPP_).
  • Docker env not applying: check that env_file path is relative to the compose file, not the build context.
  • Validation failing in CI: ensure CI secrets are set for the correct environment (not just production).

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.