dockerfile-review SKILL.md skillA

dockerfile-review from zhuyansen/agent-skills-hub is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add zhuyansen/agent-skills-hub/dockerfile-review@git:20261010.859e8f6

Pins git:20261010.859e8f6 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
zhuyansen/agent-skills-hub
Path
ops/skillmgr-runs/in/input/library/dockerfile-review/SKILL.md
Versions recorded
1
Latest version
git:20261010.859e8f6, committed Oct 10, 2026
Size
765 bytes
Repository stars
461
License
MIT

Review a Dockerfile for image size, layer caching and running as root, and suggest fixes.

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 Review

Review a Dockerfile for image size, layer caching and running as root, and suggest fixes.

## When to use
Use this skill when the user asks for it by name or describes this task. Do not use it for unrelated work.

## Steps
1. Read the input the user points to. If none is given, ask for the file or text.
2. Do the task described above, step by step, and keep the user's own wording where it matters.
3. Show the result, then a short list of what you changed or found, so the user can check it.

## Notes
- Keep changes small and reversible.
- Say plainly when the input is incomplete instead of guessing.

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add zhuyansen/agent-skills-hub/dockerfile-review@sha256:1fcb9e945bb798c7

The line at the top of this page pins the label git:20261010.859e8f6, 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_zwthpqxlgpur5yjq.svg)](https://markdownregistry.com/a/art_zwthpqxlgpur5yjq)

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

Versions

The registry has recorded 1 version of this file, committed on Oct 10, 2026.

versioncommittedcommitsizeaudit
git:20261010.859e8f6 latest2026-10-10 859e8f6 765 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 (765 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

zhuyansen/agent-skills-hub · 461 stars · license MIT · pushed 2026-10-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_zwthpqxlgpur5yjq
GET https://markdownregistry.com/api/v1/resolve?ref=zhuyansen/agent-skills-hub/dockerfile-review
GET https://markdownregistry.com/api/v1/blob/1fcb9e945bb798c75379cd222329181d59728441a0f864408d8b6630414b5346

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 zhuyansen/agent-skills-hub

CLAUDE.md CLAUDE.md file
zhuyansen/agent-skills-hub · CLAUDE.md
git:20260918.081399b · audit A · 461 stars
llms.txt@frontend/public llms.txt file
zhuyansen/agent-skills-hub · frontend/public/llms.txt
git:20260910.ed86110 · audit A · 461 stars
accessibility-check SKILL.md skill
zhuyansen/agent-skills-hub · ops/skillmgr-runs/in/input/library/accessibility-check/SKILL.md · Check an HTML page for missing alt text, low contrast, unlabeled inputs and heading order.
git:20261010.859e8f6 · audit A · 461 stars
api-docs-writer SKILL.md skill
zhuyansen/agent-skills-hub · ops/skillmgr-runs/in/input/library/api-docs-writer/SKILL.md · Write reference documentation for an HTTP endpoint from its handler code: parameters, responses, errors.
git:20261010.859e8f6 · audit A · 461 stars
changelog-writer SKILL.md skill
zhuyansen/agent-skills-hub · ops/skillmgr-runs/in/input/library/changelog-writer/SKILL.md · Write a CHANGELOG entry from the commits since the last tag, grouped into added, changed and fixed.
git:20261010.859e8f6 · audit A · 461 stars
cron-explainer SKILL.md skill
zhuyansen/agent-skills-hub · ops/skillmgr-runs/in/input/library/cron-explainer/SKILL.md · Explain a cron expression in words and list its next five run times.
git:20261010.859e8f6 · audit A · 461 stars
csv-cleaner SKILL.md skill
zhuyansen/agent-skills-hub · ops/skillmgr-runs/in/input/library/csv-cleaner/SKILL.md · Clean messy CSV files: fix headers, trim whitespace, normalise dates and drop duplicate rows before analysis.
git:20261010.859e8f6 · audit A · 461 stars
dependency-updater SKILL.md skill
zhuyansen/agent-skills-hub · ops/skillmgr-runs/in/input/library/dependency-updater/SKILL.md · Plan dependency upgrades: which packages are behind, which have breaking changes, in what order.
git:20261010.859e8f6 · audit A · 461 stars
env-var-auditor SKILL.md skill
zhuyansen/agent-skills-hub · ops/skillmgr-runs/in/input/library/env-var-auditor/SKILL.md · List the environment variables a codebase reads and flag ones missing from the example env file.
git:20261010.859e8f6 · audit A · 461 stars
git-commit-message SKILL.md skill
zhuyansen/agent-skills-hub · ops/skillmgr-runs/in/input/library/git-commit-message/SKILL.md · Write a commit message from the staged diff: a short summary line and a body explaining why.
git:20261010.859e8f6 · audit A · 461 stars
i18n-extractor SKILL.md skill
zhuyansen/agent-skills-hub · ops/skillmgr-runs/in/input/library/i18n-extractor/SKILL.md · Find hard-coded user-facing strings in a frontend codebase and move them to a translation file.
git:20261010.859e8f6 · audit A · 461 stars
json-schema-maker SKILL.md skill
zhuyansen/agent-skills-hub · ops/skillmgr-runs/in/input/library/json-schema-maker/SKILL.md · Infer a JSON Schema from example JSON documents, marking which fields are required.
git:20261010.859e8f6 · audit A · 461 stars

Every file in zhuyansen/agent-skills-hub

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