docker
Use when the user wants to build, run, compose, or deploy containers. Covers Dockerfiles, docker compose, images, volumes, networks, and basic Kubernetes manifests.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- docker
- triggers
- [ "user" ]
- description
- Use when the user wants to build, run, compose, or deploy containers. Covers Dockerfiles, docker compose, images, volumes, networks, and basic Kubernetes manifests.
03 SKILL.md 正文
Docker
Container build, run, and compose workflows.
When to use
- Adding or fixing a Dockerfile.
- Running the stack with
docker compose. - Image is too large or has security issues.
- Need a basic Kubernetes manifest.
- Running a destructive or risky task that should be isolated from the host.
Core protocol
- Read existing setup. Dockerfile, compose files, .dockerignore.
- Build image.
docker build -t <tag> . - Run container. Verify ports, env vars, volumes.
- Optimize. Multi-stage builds, layer caching, non-root user.
- Scan image. Check for known CVEs if a scanner is available.
- Compose stack. Bring up services and run integration tests.
Dev container for destructive work
For tasks that could be destructive (file system, DB, network, credentials), run the agent inside a container or dev container rather than directly on the host:
- Build the project image with
docker buildor use an existing.devcontainer/devcontainer.json. - Run the agent with the project mounted read-only or inside the container.
- This limits blast radius and prevents accidental host modification.
See also
deploy— release and rollback orchestration.docker— container build, run, and compose.
Output rule
- After changes, run
docker buildanddocker compose up(ordocker run) and report status.
04 同仓库更多 Skills
montador-de-ideias
Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening/optimization, and high-impact contact surfaces.
git-github-adaptive-engineering
Use when any task touches git history, GitHub issues/PRs/releases/CI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit/PR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug/finish skills.
adaptive-agenda-calendar-routine-engine
Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions/gcal/wrapper.py.
demo
Use when demonstrating a skill in a fixture project.
duplicate-skill
Use when testing duplicate skill name detection.
duplicate-skill
Use when testing duplicate skill name detection.