OpenParable
Skip to content
← Back to skills

Cross Env Setup

Development
cross-env-setup

Cross Env Setup is an Agent Skill for development published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/cli-mcp-development/skills/cross-env-setup/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cross-env-setup, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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