dockerfile-validator SKILL.md skillA

dockerfile-validator from hybridlabor-api/bdb-dev-optimized-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add hybridlabor-api/bdb-dev-optimized-agent-skills/dockerfile-validator@git:20260930.08ad51d

Pins git:20260930.08ad51d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
hybridlabor-api/bdb-dev-optimized-agent-skills
Path
skills/global_config/dockerfile-validator/SKILL.md
Versions recorded
1
Latest version
git:20260930.08ad51d, committed Sep 30, 2026
Size
9,329 bytes
Repository stars
6
License
Apache-2.0

Validate, lint, audit, or scan a Dockerfile for security and best practices.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 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)
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add hybridlabor-api/bdb-dev-optimized-agent-skills/dockerfile-validator@sha256:c03737a474c0e1ff

The line at the top of this page pins the label git:20260930.08ad51d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_shb6t66msaxqo365.svg)](https://markdownregistry.com/a/art_shb6t66msaxqo365)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Sep 30, 2026.

versioncommittedcommitsizeaudit
git:20260930.08ad51d latest2026-09-30 08ad51d 9,329 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9329 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

hybridlabor-api/bdb-dev-optimized-agent-skills · 6 stars · license Apache-2.0 · pushed 2026-10-15 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_shb6t66msaxqo365
GET https://markdownregistry.com/api/v1/resolve?ref=hybridlabor-api/bdb-dev-optimized-agent-skills/dockerfile-validator
GET https://markdownregistry.com/api/v1/blob/c03737a474c0e1ff1311332c1a27df4b3d0c8877fc7b1018e019d22a94e76314

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from hybridlabor-api/bdb-dev-optimized-agent-skills

AGENTS.md@.agents AGENTS.md file
hybridlabor-api/bdb-dev-optimized-agent-skills · .agents/AGENTS.md
git:20261014.3309422 · audit F · 6 stars
CLAUDE.md@.claude CLAUDE.md file
hybridlabor-api/bdb-dev-optimized-agent-skills · .claude/CLAUDE.md
git:20260812.a95c52d · audit A · 6 stars
000_global_rules Cursor rule
hybridlabor-api/bdb-dev-optimized-agent-skills · .cursor/rules/000_global_rules.mdc · Global BDB Agent Rules
git:20261010.c132afe · audit A · 6 stars
999_memb_context Cursor rule
hybridlabor-api/bdb-dev-optimized-agent-skills · .cursor/rules/999_memb_context.mdc · memB Auto-Injected Knowledge Base
git:20260812.a95c52d · audit A · 6 stars
bdb_agents Cursor rule
hybridlabor-api/bdb-dev-optimized-agent-skills · .cursor/rules/bdb_agents.mdc · BDB Multi-Agent Team Specifications
git:20261011.d58d642 · audit F · 6 stars
startcycle Cursor rule
hybridlabor-api/bdb-dev-optimized-agent-skills · .cursor/rules/startcycle.mdc · Autonomous Multi-Agent Development Pipeline (/startcycle)
git:20260827.92dbe37 · audit A · 6 stars
ui-ux-godmode Cursor rule
hybridlabor-api/bdb-dev-optimized-agent-skills · .cursor/rules/ui-ux-godmode.mdc
git:20260812.b03e3c4 · audit B · 6 stars
AGENTS.md AGENTS.md file
hybridlabor-api/bdb-dev-optimized-agent-skills · AGENTS.md
git:20261010.bed714d · audit A · 6 stars
CLAUDE.md CLAUDE.md file
hybridlabor-api/bdb-dev-optimized-agent-skills · CLAUDE.md
git:20261006.c5efca7 · audit A · 6 stars
launch-rhino SKILL.md skill
hybridlabor-api/bdb-dev-optimized-agent-skills · mcps/RhinoMCP/cc-plugin/skills/launch-rhino/SKILL.md · Start a single Rhino MCP session. Accepts a version argument (e.g. `8`, `WIP`) and an optional explicit port. Walks…
git:20260727.48beb34 · audit A · 6 stars
launch-rhinos SKILL.md skill
hybridlabor-api/bdb-dev-optimized-agent-skills · mcps/RhinoMCP/cc-plugin/skills/launch-rhinos/SKILL.md · Spin up N Rhino MCP sessions in parallel and fan out one agent per Rhino. Use when the user wants multiple Rhinos…
git:20260727.48beb34 · audit A · 6 stars
CLAUDE.md@mcps/davinci-mcp-professional CLAUDE.md file
hybridlabor-api/bdb-dev-optimized-agent-skills · mcps/davinci-mcp-professional/CLAUDE.md
git:20260727.48beb34 · audit A · 6 stars

Every file in hybridlabor-api/bdb-dev-optimized-agent-skills

Other files named dockerfile-validator

dockerfile-validator SKILL.md skill
pantheon-org/tekhne · skills/infrastructure/dockerfile/validator/SKILL.md · Validates, lints, and secures Dockerfiles by running syntax checking, detecting security vulnerabilities, validating…
git:20261001.6ed2a6a · audit A · 10 stars
dockerfile-validator SKILL.md skill
hybridlabor-api/aos · skills/global_config/dockerfile-validator/SKILL.md · Validate, lint, audit, or scan a Dockerfile for security and best practices.
git:20260930.08ad51d · audit A · 6 stars

Browse by kind, by grade A, or by owner.