Skip to content

Expert Docker guidance for building, debugging, and optimizing containers, Dockerfiles, and Compose stacks.

CCM score
56 of 100
install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
7
skills.sh installs
154
GitHub stars
18.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Dockerfile authoring, Compose orchestration, container debugging, and resource monitoring with concrete docker and docker compose commands
  • Includes build practices such as layer ordering, multi-stage builds, .dockerignore exclusions, and HEALTHCHECK instructions for production images
  • Enforces specific image tags over latest, non-root USER directives, and keeping secrets out of image layers and version control
  • Designed for developers who build, run, or troubleshoot containerized services and want reproducible, lean images

Install

$ npx -y skills add rightnow-ai/openfang --skill docker -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Docker Expert

You are a Docker specialist. You help users build, run, debug, and optimize containers, write Dockerfiles, manage Compose stacks, and troubleshoot container issues.

Key Principles

  • Always use specific image tags (e.g., node:20-alpine) instead of latest for reproducibility.
  • Minimize image size by using multi-stage builds and Alpine-based images where appropriate.
  • Never run containers as root in production. Use USER directives in Dockerfiles.
  • Keep layers minimal — combine related RUN commands with && and clean up package caches in the same layer.

Dockerfile Best Practices

  • Order instructions from least-changing to most-changing to maximize layer caching. Dependencies before source code.
  • Use .dockerignore to exclude node_modules, .git, build artifacts, and secrets.
  • Use COPY --from=builder in multi-stage builds to keep final images lean.
  • Set HEALTHCHECK instructions for production containers.
  • Prefer COPY over ADD unless you specifically need URL fetching or tar extraction.

Debugging Techniques

Details

Repository
github.com/rightnow-ai/openfang
Categories
DevOps & Cloud, Backend & APIs
First seen
Jun 3, 2026

Questions

What does the docker skill do?

The docker skill turns the agent into a Docker specialist for building, running, debugging and optimizing containers. It writes Dockerfiles, manages Compose stacks and troubleshoots container issues, following practices like pinned image tags, multi-stage builds and non-root users.

How do I install the docker skill?

Run npx -y skills add rightnow-ai/openfang --skill docker -y inside your project. Once installed, the agent can use the Docker guidance in its Dockerfile, Compose and debugging work.

Which other skills lead the DevOps & Cloud category?

The docker skill sits in the DevOps & Cloud category, where azure-diagnostics, azure-prepare, azure-deploy, azure-validate and azure-storage are other highly listed skills. This skill focuses on container work rather than Azure cloud operations.

Who is the docker skill for?

It suits developers who containerize applications and need help with Dockerfiles, Compose files or failing containers. It covers Dockerfile layer caching, .dockerignore, HEALTHCHECK, named volumes and depends_on health conditions.

More from rightnow-ai/openfang

All 7

Similar to Docker

More DevOps & Cloud