dockerlisted
Install: claude install-skill Miyamura-sudo/product-builder-starter
# 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.
---
## Behavioral Classification
**Type**: Autonomous Execution
**Directive**: EXECUTE, DON'T ASK
This skill enforces Docker-first development automatically. When you request npm/node operations, commands are executed inside Docker without asking for permission.
**Enforcement Behavior**:
- Blocks host-machine npm/node commands
- Suggests or transforms commands to use `docker exec`
- Automatically checks container status before operations
---
## Quick Start
For new projects, see **[setup.md](setup.md)** for the complete first-time setup guide.
**Minimal setup**:
```bash
# 1. Start container
docker compose --profile dev up -d
# 2. Verify running
docker ps --filter "name=my-project"
# 3. Run commands in container
docker exec my-project-dev-1 npm install
docker exec my-project-dev-1 npm test
docker exec my-project-dev-1 npm run build
```
---
## ENFORCEMENT RULES
### BLOCKED: Never Run on Host
**These commands are BLOCKED on the host machine:**
```
npm install, npm ci, npm run, npm test, npm exec
npx <anything>
yarn add, yarn install, yarn run
pnpm add, pnpm install, pnpm run
node <script>
tsx <script>
bun <script>
```
**Why?** Installing packages on the host:
- Pollutes the host machine with project-specific dependencies
- Creates version conflicts between projects
- Mak