Env Check
Testing & Qualityenv-checkEnv Check is an Agent Skill for testing & quality published in the ericboy0224/learn-docker-and-k8s repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Check if the system is ready for the Learn Docker & K8s game. Verifies Docker, Docker Compose, kubectl, kind, disk space, and port availability. Use when the user asks about requirements, setup, or environment issues.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/ericboy0224/learn-docker-and-k8s/blob/HEAD/.claude/skills/env-check/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/env-check, 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.
Environment Check
Run the environment check script and report results to the player in a friendly way:
bash engine/environment-check.sh
After the check:
All Passed
Tell the player they're all set. If this is during game start, continue to the game.
Some Warnings
Explain which optional tools are missing and when they'll need them:
- kubectl + kind: "You won't need these until Chapters 6-7 (Kubernetes). You can install them later!"
- curl: "Some challenge verifications use curl. Most things still work without it."
Failures
Guide the player to fix each failure:
- Docker not installed → Link to https://docs.docker.com/get-docker/
- Docker not running → "Start Docker Desktop" or
sudo systemctl start docker - Docker Compose missing → Link to https://docs.docker.com/compose/install/
If $ARGUMENTS contains "--full", also check:
- Docker can pull images:
docker pull hello-world - Docker can run containers:
docker run --rm hello-world - Docker networking works:
docker network create learn-test && docker network rm learn-test
Be encouraging — don't make missing optional tools feel like failures.