<< All versions
Skill v1.0.0
currentAutomated scan100/100ao92265/claude-code-playbook/check-env
──Details
PublishedOctober 22, 2026 at 11:30 PM
Content Hashsha256:53a5ad42194ad31c...
Git SHA44976b59bdfe
──Files
Files (1 file, 2.0 KB)
SKILL.md2.0 KBactive
SKILL.md · 55 lines · 2.0 KB
version: "1.0.0" name: check-env description: > Pre-flight environment check before starting dev work. Use when starting a new session or before spinning up dev servers. Checks Docker, ports, .env files, Node.js, and git status. Triggers: "check env", "check environment", "pre-flight check", "check my setup".
Do NOT use this skill for: code changes, debugging logic, writing tests, or mid-session work where infrastructure is already confirmed running. metadata: user-invocable: true slash-command: /check-env proactive: false
Check Environment
Pre-flight environment check before starting dev work. Run this at the start of a session to avoid wasting time on infrastructure issues.
Steps
- Check for running Docker containers that might conflict:
docker psto list running containers- Flag any containers using common ports (3000, 3001, 5432, 1433, 8080)
- Check for port conflicts on common dev ports:
lsof -i :3000,3001,5432,1433,8080 2>/dev/nullto find processes using these ports- Report what's using each occupied port
- Verify environment files exist:
- Check for
.envor.env.localin the current project - Warn if missing but don't expose contents
- Check Docker daemon is running (if project uses Docker):
docker info > /dev/null 2>&1to verify Docker is available
- Check Node.js and npm/yarn availability:
node --versionandnpm --version
- Verify git status and credentials:
git statusto show current branch and any uncommitted changesgh auth statusto verify GitHub credentials work- Test push access:
git ls-remote origin HEADto confirm remote connectivity
- Check available memory for builds:
- Report current Node.js version and default heap size
- Recommend
NODE_OPTIONS='--max-old-space-size=4096'if project has large builds
- Report a clean summary of findings with any issues flagged clearly.
Important
- Do NOT start fixing issues automatically — report them and ask what to do
- Do NOT expose .env file contents