Skip to content
akin-ozer avatar

Dockerfile Validator

Deterministic Dockerfile validation that reports severity-ranked findings with explicit fallbacks when tools are unavailable.

CCM score
58 of 100
skills.sh installs
857
GitHub stars
345
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers syntax and lint checks, security and secrets review, and best-practice and performance guidance for Dockerfiles
  • Runs scripts/dockerfile-validate.sh in fixed stages, then reads only the references that match actual findings
  • Classifies issues as Critical, High, Medium, or Low, with a concise pass summary when nothing actionable is found
  • Designed for pre-merge review and hardening before CI/CD or production, excluding Dockerfile generation and runtime debugging

Install

$ npx -y skills add akin-ozer/cc-devops-skills --skill dockerfile-validator -y

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

Files

Dockerfile Validator

Validate Dockerfiles with deterministic stages, clear severity reporting, and explicit fallbacks when tools or network access are constrained.

Trigger Phrases

Use this skill when the user asks for tasks like:

  • "validate this Dockerfile"
  • "lint/check my Dockerfile"
  • "security scan Dockerfile"
  • "optimize Docker image size/build time"
  • "review Dockerfile before merge"
  • "find issues in Dockerfile.prod/Dockerfile.dev"

Use / Do Not Use

Use this skill for:

  • Syntax and lint validation
  • Security and secrets checks
  • Best-practice and performance review
  • Dockerfile hardening before CI/CD or production

Do not use this skill for:

  • Generating a new Dockerfile from scratch (use dockerfile-generator)
  • Running containers, debugging runtime behavior, or image registry operations

Local Files In This Skill

  • Validator script: scripts/dockerfile-validate.sh
  • References:
    • references/security_checklist.md
    • references/optimization_guide.md
    • references/docker_best_practices.md
  • Example Dockerfiles: examples/*.Dockerfile

Deterministic Execution Flow (Required)

Details

Repository
github.com/akin-ozer/cc-devops-skills
Categories
DevOps & Cloud, Security
First seen
Jun 3, 2026

Questions

What is dockerfile-validator?

dockerfile-validator is an agent skill listed on Claude Marketplaces in the DevOps & Cloud category. The listing describes dockerfile-validator like this: Validate, lint, audit, or scan a Dockerfile for security and best practices.

How do I install dockerfile-validator?

Run npx -y skills add akin-ozer/cc-devops-skills --skill dockerfile-validator -y in a project to install dockerfile-validator. After that, the agent can use dockerfile-validator in that project.

Which category is dockerfile-validator in?

dockerfile-validator is in the DevOps & Cloud category on Claude Marketplaces. Other listings in that category next to dockerfile-validator include azure-diagnostics, azure-prepare and azure-deploy.

Where is the source code of dockerfile-validator?

The source code of dockerfile-validator is on GitHub at https://github.com/akin-ozer/cc-devops-skills. The akin-ozer account on GitHub publishes dockerfile-validator.

More from akin-ozer/cc-devops-skills

All 31

Similar to Dockerfile Validator

More DevOps & Cloud