界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
部署与运维 · SKILL.md

dockerfile-review

dockerfile-review

【部署与运维】Review a Dockerfile for image size, layer caching and running as root, and suggest fixes.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: dockerfile-review description: "Review a Dockerfile for image size, layer caching and running as root, and suggest fixes."

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.
我的收藏