# 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.

- Skill name: `cross-env-setup`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/cli-mcp-development/skills/cross-env-setup/SKILL.md
- Repository: a5c-ai/babysitter (1,548 GitHub stars when collected)

## SKILL.md

# 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

```json
{
  "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

---

Source: https://www.openparable.com/skill/development/cross-env-setup (OpenParable). Cite the canonical URL above.
