Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Node.js Environment Config and .env Validation

    by Saizul Amin

    1

    This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice.

    Free

    Security scanned
    Node.js Environment Config and .env Validation

    Node.js Environment Config and .env Validation

    Example session with this skill installed

    Run the Node.js Environment Config and .env Validation skill on my project and give me a prioritised list of what to fix, with exact changes.

    • Read your context and instructions
    • Compiled the node js environment

    Here is what the Node.js Environment Config and .env Validation skill produced.

    Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.

    Output

    FEATURE_1                        -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/nodejs-backend-skills/tests/fixtures/env-config/drifted-app/src/config/f1.js:1
    FEATURE_2                        -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/nodejs-backend-skills/tests/fixtures/env-config/drifted-app/src/config/f2.js:1
    FEATURE_3                        -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/nodejs-backend-skills/tests/fixtures/env-config/drifted-app/src/config/f3.js:1
    FEATURE_4                        -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/nodejs-backend-skills/tests/fixtures/env-config/drifted-app/src/config/f4.js:1
    FEATURE_5                        -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/nodejs-backend-skills/tests/fixtures/env-config/drifted-app/src/config/f5.js:1
    JWT_SECRET                       -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/nodejs-backend-skills/tests/fixtures/env-config/drifted-app/src/server.js:3
    NODE_ENV                         -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/nodejs-backend-skills/tests/fixtures/env-config/drifted-app/src/server.js:4
    PORT                             -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/nodejs-backend-skills/tests/fixtures/env-config/drifted-app/src/server.js:1
    REDIS_URL                        -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/nodejs-backend-skills/tests/fixtures/env-config/drifted-app/src/server.js:2
    SMTP_HOST                        -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/nodejs-backend-skills/tests/fixtures/env-config/drifted-app/src/server.js:2
    awsRegion                        -Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/nodejs-backend-skills/tests/fixtures/env-config/drifted-app/src/server.js:5
    

    What you do next

    1. Fix the highest-severity items first.
    2. Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
    3. Keep the skill installed and re-run it whenever the project changes.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Environment configuration for Node.js backends - typed validation of process.env with zod at startup (fail fast, no default secrets, coerced numbers and booleans), one config module, .env hygiene (.gitignore, node --env-file, production secrets from the platform) and a checker that compares .env.example with what the code actually reads (process.env.X, destructuring, import.meta.env, configService.get, zod/envalid schema keys, Prisma env()). It reports undocumented and unused variables, real-looking secrets in .env.example, hard-coded secret fallbacks, required variables missing from .env, .env files not git-ignored and missing validation - never printing values.

    Who it's for

    Use when the user adds or audits config, sees "undefined" config at runtime, onboards a developer, writes .env.example, or asks how to manage environment variables and secrets in Node.js.

    What's inside

    • Tested, offline Python script(s): env_check.py (deterministic results, standard library only unless noted)
    • Reference guides: env-hygiene.md
    • Step-by-step agent instructions in SKILL.md covering: When to use; When not to use; Workflow

    Why it's worth it

    Generic prompts guess. This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice. See the real demo below.

    Works with every major AI agent

    Built on the open SKILL.md standard: Claude Code, Codex CLI, Cursor, VS Code Copilot, Gemini CLI, Windsurf and 20+ other agents.

    Requirements

    • Python 3.8+ for the bundled scripts
    • No API keys, no account, runs locally

    Open source: saizul/nodejs-backend-skills on GitHub (MIT licence, by Saizul Amin).

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Frequently Asked Questions

    Environment configuration for Node.js backends - typed validation of process.env with zod at startup (fail fast, no default secrets, coerced numbers and booleans), one config module, .env hygiene (.gitignore, node --env-file, production secrets from the platform) and a checker that compares .env....

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Node.js Environment Config and .env Validation on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    Free