Environment Setup Checker
Validate that the development environment is correctly configured. Checks runtime versions (Node.js, Python, Git), installed dependencies, lock files, .env variables, and TypeScript availability.
Parameters
| Parameter | Required | Description |
|-----------|----------|-------------|
| projectPath | No | Path to the project (defaults to .) |
Checks Performed
- Node.js - Version installed, warns if < 18
- npm - Available
- Python - Available (optional, warns if missing)
- Git - Available
- node_modules - Dependencies installed
- package-lock.json - Lock file present
- .env variables - Compares .env against .env.example
- TypeScript - Compiler available if tsconfig.json exists
Example
bash config/skills/agent/env-setup-checker/execute.sh '{"projectPath":"."}'
Output
{
"passed": 6,
"failed": 0,
"warnings": 1,
"healthy": true,
"checks": [
{"name": "Node.js", "status": "pass", "detail": "v20.10.0"},
{"name": "npm", "status": "pass", "detail": "10.2.3"},
...
]
}