Agent Skills: Cross-Env Setup

Configure cross-env for cross-platform environment variable setting in npm scripts and CLI commands.

UncategorizedID: a5c-ai/babysitter/cross-env-setup

Install this agent skill to your local

pnpm dlx add-skill https://github.com/a5c-ai/babysitter/tree/HEAD/plugins/babysitter/skills/babysit/process/specializations/cli-mcp-development/skills/cross-env-setup

Skill Files

Browse the full folder contents for cross-env-setup.

Download Skill

Loading file tree…

plugins/babysitter/skills/babysit/process/specializations/cli-mcp-development/skills/cross-env-setup/SKILL.md

Skill Metadata

Name
cross-env-setup
Description
Configure cross-env for cross-platform environment variable setting in npm scripts and CLI commands.

Cross-Env Setup

Configure cross-env for cross-platform environment variables.

Capabilities

  • Set up cross-env in package.json
  • Configure environment variable scripts
  • Handle platform-specific vars
  • Integrate with npm scripts

Generated Patterns

{
  "scripts": {
    "dev": "cross-env NODE_ENV=development tsx watch src/index.ts",
    "build": "cross-env NODE_ENV=production tsc",
    "test": "cross-env NODE_ENV=test vitest",
    "start:prod": "cross-env NODE_ENV=production node dist/index.js"
  },
  "devDependencies": {
    "cross-env": "^7.0.3"
  }
}

Target Processes

  • cross-platform-cli-compatibility
  • configuration-management-system
  • cli-application-bootstrap