auditing

Audit Dockerfile and docker-compose.yml configurations against security and production readiness checklists.

1|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/jugrajsingh/skillgarden --skill auditing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auditing
Source: https://github.com/jugrajsingh/skillgarden/tree/main/plugins/dockercraft/skills/auditing
Command: npx skills add https://github.com/jugrajsingh/skillgarden --skill auditing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the auditing of Dockerfiles and docker-compose.yml files, ensuring they adhere to security, performance, and production readiness best practices.

Core Features & Use Cases

  • Comprehensive Auditing: Checks for security vulnerabilities (e.g., non-root users, secrets in ENV), performance optimizations (e.g., multi-stage builds, cache mounts), and production readiness (e.g., HEALTHCHECK, restart policies).
  • Agent-Assisted Review: Dispatches a dedicated dockerfile-reviewer agent for in-depth analysis of Dockerfiles.
  • Automated Fixes: Offers options to automatically fix identified issues based on severity.
  • Use Case: Before deploying a new microservice, run this Skill to ensure its Docker configuration is secure, efficient, and ready for a production environment.

Quick Start

Run the auditing skill to check the Dockerfile and docker-compose.yml in the current directory.

Frequently Asked Questions about auditing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit Docker configurations for security and production readiness?

You can audit Docker configurations for security and production readiness by running this Skill against your Dockerfile and docker-compose.yml files. It checks for non-root users, secrets in ENV, multi-stage builds, cache mounts, HEALTHCHECK, and restart policies.

What are common security vulnerabilities to check in a Dockerfile?

Common security vulnerabilities to check in a Dockerfile include running containers as root and storing secrets in ENV variables. This Skill identifies these issues and provides automated fixes to enforce non-root users and secure secret management.

How do I optimize Docker performance with multi-stage builds and cache mounts?

To optimize Docker performance with multi-stage builds and cache mounts, this Skill reviews your Dockerfile and provides actionable recommendations. It identifies missing performance optimizations and offers options to automatically apply fixes based on severity.

Can I automatically fix Dockerfile issues identified during an audit?

Yes, you can automatically fix Dockerfile issues identified during an audit. This Skill provides user interaction for fix application, allowing you to selectively apply automated fixes for security, performance, and production readiness issues based on their severity.

Does this Docker auditing tool support glob patterns for file discovery?

Yes, this Docker auditing tool supports glob patterns for file discovery. You can use glob patterns to locate and audit multiple Dockerfile and docker-compose.yml configurations across your project directories before deployment.

What production readiness checks should a docker-compose.yml include?

Production readiness checks a docker-compose.yml should include involve HEALTHCHECK definitions and restart policies. This Skill audits your docker-compose.yml configurations against these checklists to ensure your services are ready for a production environment.