docker
Installation
SKILL.md
Docker Development Skill
Execute all package installations and code execution inside Docker containers. This keeps the host machine clean and ensures consistent environments across projects.
Core Principle
NEVER run npm, node, npx, or project scripts directly on the host machine.
Instead, use docker exec or ensure the container is running the dev server.
Pre-Flight Check (MANDATORY)
Before running ANY npm/node command, Claude Code MUST verify the container is running.
Run this check first:
docker ps --filter "name=<project-name>" --format "table {{.Names}}\t{{.Status}}\t{{.Ports}}"