a5c-ai/babysitter / library/specializations/cli-mcp-development/skills/cross-env-setup
cross-env-setup
VerifiedConfigure cross-env for cross-platform environment variable setting in npm scripts and CLI commands.
SKILL.md
View on GitHub---
name: cross-env-setup
description: Configure cross-env for cross-platform environment variable setting in npm scripts and CLI commands.
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
graph:
domains: [domain:software-engineering]
specializations: [specialization:cli-mcp-development]
skillAreas: [skill-area:cli-design, skill-area:mcp-server-implementation, skill-area:cross-platform-desktop]
roles: [role:backend-engineer, role:platform-engineer]
workflows: [workflow:feature-development]
topics: [topic:developer-experience]
---
# 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
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |