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
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.shin 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 -yInstalls 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.mdreferences/optimization_guide.mdreferences/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- Bash Script Validator811
- Dockerfile Generator804
- Gitlab Ci Validator793
- K8s Yaml Validator786
- Helm Validator783
- Bash Script Generator774
- Jenkinsfile Validator769
- Terragrunt Validator764
- K8s Yaml Generator755
- Github Actions Validator752
- Azure Pipelines Generator750
- Gitlab Ci Generator746
- Terraform Generator745
- Github Actions Generator744
- Terraform Validator742
- Azure Pipelines Validator740
- Helm Generator737
- Makefile Validator730
- Makefile Generator715
- Promql Generator715
- Promql Validator706
- Logql Generator700
- Fluentbit Generator696
- Fluentbit Validator693
Similar to Dockerfile Validator
More DevOps & Cloudmakefile-validatorSkillakin-ozer/cc-devops-skills730 installsDeterministic Makefile validation that layers GNU make syntax checks, mbake formatting, and custom security rules.
Docker Configuration ValidatorSkillrknall/claude-skills356 installsValidates Dockerfiles and Docker Compose files for syntax, security, multi-stage builds, and modern Compose rules.
gitlab-ci-validatorSkillakin-ozer/cc-devops-skills793 installsValidator for .gitlab-ci.yml that runs syntax, best-practice, and security gates with a strict merge mode.
docker-validationPluginrknall/claude-skills94 starsComprehensive Docker and Docker Compose validation following best practices and security standards. Validates Dockerfiles, multi-stage builds, modern Compose sy
docker-developmentSkillalirezarezvani/claude-skills745 installsOpinionated Docker workflow for optimizing, composing, and hardening Dockerfiles and compose files.
config-scanSkilljwynia/agent-skills373 installsSecurity scanner for config files, Dockerfiles, Kubernetes manifests, Terraform, and application settings.