[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DRVA3GAQ7P933GRCHZB89X":3,"skill-same:01M6DRVA3GAQ7P933GRCHZB89X":126},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":51},"01M6DRVA3GAQ7P933GRCHZB89X","dockerfile-validator",null,"Validate, lint, audit, or scan a Dockerfile for security and best practices.","AntifragileTech\u002Fantifragile-claude-code","AntifragileTech","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F174357194?v=4","01M6DQCYMK4CDSQQAN0ZC72NTV","01M6DQCYS9YPW1WKMQ5TJMPQ43",9,"MIT","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002FSKILL.md",[],[18,19,20,21,22,23,24,25],"dockerfile","dockerfile validator","security","validate","lint","best practices","audit","scan","2026-11-10 10:12:30",false,"---\nname: dockerfile-validator\ndescription: Validate, lint, audit, or scan a Dockerfile for security and best practices.\n---\n\n# Dockerfile Validator\n\nValidate Dockerfiles with deterministic stages, clear severity reporting, and explicit fallbacks when tools or network access are constrained.\n\n## Trigger Phrases\n\nUse this skill when the user asks for tasks like:\n- \"validate this Dockerfile\"\n- \"lint\u002Fcheck my Dockerfile\"\n- \"security scan Dockerfile\"\n- \"optimize Docker image size\u002Fbuild time\"\n- \"review Dockerfile before merge\"\n- \"find issues in Dockerfile.prod\u002FDockerfile.dev\"\n\n## Use \u002F Do Not Use\n\nUse this skill for:\n- Syntax and lint validation\n- Security and secrets checks\n- Best-practice and performance review\n- Dockerfile hardening before CI\u002FCD or production\n\nDo not use this skill for:\n- Generating a new Dockerfile from scratch (use `dockerfile-generator`)\n- Running containers, debugging runtime behavior, or image registry operations\n\n## Local Files In This Skill\n\n- Validator script: `scripts\u002Fdockerfile-validate.sh`\n- References:\n  - `references\u002Fsecurity_checklist.md`\n  - `references\u002Foptimization_guide.md`\n  - `references\u002Fdocker_best_practices.md`\n- Example Dockerfiles: `examples\u002F*.Dockerfile`\n\n## Deterministic Execution Flow (Required)\n\nRun these steps in order. Do not skip steps unless a documented fallback branch applies.\n\n### 1. Preflight and Path Setup\n\nAssume repo root as working directory:\n\n```bash\ncd \u002Fpath\u002Fto\u002Frepo\nSKILL_DIR=\"devops-skills-plugin\u002Fskills\u002Fdockerfile-validator\"\nTARGET_DOCKERFILE=\"Dockerfile\"   # replace when user provides a path\n```\n\nValidate inputs before running tools:\n\n```bash\ntest -f \"$SKILL_DIR\u002Fscripts\u002Fdockerfile-validate.sh\"\ntest -f \"$TARGET_DOCKERFILE\"\n```\n\nIf either check fails, stop and report the exact missing path.\n\n### 2. Read the Target Dockerfile Explicitly\n\nUse explicit file-read commands (not abstract \"Read tool\" wording):\n\n```bash\nsed -n '1,220p' \"$TARGET_DOCKERFILE\"\n```\n\nIf needed for long files:\n\n```bash\nsed -n '220,440p' \"$TARGET_DOCKERFILE\"\n```\n\n### 3. Run Validation Script\n\nPrimary command:\n\n```bash\nbash \"$SKILL_DIR\u002Fscripts\u002Fdockerfile-validate.sh\" \"$TARGET_DOCKERFILE\"\n```\n\nOptional captured run for structured reporting:\n\n```bash\nbash \"$SKILL_DIR\u002Fscripts\u002Fdockerfile-validate.sh\" \"$TARGET_DOCKERFILE\" | tee \u002Ftmp\u002Fdockerfile-validator.out\n```\n\n### 4. Classify Findings by Severity (Standard)\n\nUse this standard severity model:\n\n- `Critical`\n  - Hardcoded secrets\u002Fcredentials\n  - Explicit root runtime with high-risk context\n  - High-impact security policy failures\n- `High`\n  - Checkov failures for container hardening\n  - hadolint errors likely to cause insecure\u002Funreliable builds\n  - Missing or unsafe runtime-user posture (`USER`)\n- `Medium`\n  - `:latest` image tags, missing pinning, cache-cleanup misses\n  - Build cache inefficiency and layered install anti-patterns\n- `Low`\n  - Style\u002Finfo guidance and non-blocking optimization suggestions\n\n### 5. No-Issue Fast Path (Required)\n\nIf validation has no actionable findings:\n- Return a concise pass summary.\n- Do **not** open reference files.\n- Do **not** generate fix diffs.\n\nUse fast path when all are true:\n- Script reports overall pass.\n- No security failures.\n- No error\u002Fwarning findings requiring user action.\n\n### 6. Reference Loading Rules (Only When Findings Exist)\n\nOnly read references that match actual findings. Read each required file once.\n\nIssue-to-reference mapping:\n\n| Issue category | Trigger examples | Read this file |\n|---|---|---|\n| Secrets, root user, exposed sensitive ports, hardening gaps | `CKV_DOCKER_*`, hardcoded token\u002Fpassword, root runtime | `references\u002Fsecurity_checklist.md` |\n| Image size, layer count, multi-stage opportunities, cache efficiency, `.dockerignore` gaps | too many `RUN`, single-stage with build deps, cache misses | `references\u002Foptimization_guide.md` |\n| Tag pinning, instruction usage, COPY vs ADD, WORKDIR\u002FCMD\u002FENTRYPOINT conventions | `:latest`, unpinned packages, instruction-level best practices | `references\u002Fdocker_best_practices.md` |\n\nExplicit read commands:\n\n```bash\nsed -n '1,220p' \"$SKILL_DIR\u002Freferences\u002Fsecurity_checklist.md\"\nsed -n '1,220p' \"$SKILL_DIR\u002Freferences\u002Foptimization_guide.md\"\nsed -n '1,220p' \"$SKILL_DIR\u002Freferences\u002Fdocker_best_practices.md\"\n```\n\nFor targeted extraction:\n\n```bash\nrg -n \"USER|secrets|EXPOSE|HEALTHCHECK\" \"$SKILL_DIR\u002Freferences\u002Fsecurity_checklist.md\"\nrg -n \"multi-stage|cache|layer|dockerignore\" \"$SKILL_DIR\u002Freferences\u002Foptimization_guide.md\"\nrg -n \"FROM|COPY|ADD|WORKDIR|CMD|ENTRYPOINT|latest\" \"$SKILL_DIR\u002Freferences\u002Fdocker_best_practices.md\"\n```\n\n### 7. Produce Standard Report Output\n\nUse this template for every non-fast-path run:\n\n```markdown\n## Dockerfile Validation Report\n- Target: \u003Cpath>\n- Command: `bash \u003Cskill-script> \u003Ctarget>`\n- Overall result: PASS | FAIL | PARTIAL (fallback)\n\n### Critical\n- \u003Cissue or `None`>\n\n### High\n- \u003Cissue or `None`>\n\n### Medium\n- \u003Cissue or `None`>\n\n### Low\n- \u003Cissue or `None`>\n\n### Recommended Fixes\n- \u003Cspecific code-level fix per actionable issue>\n\n### References Used\n- \u003Clist only files actually read>\n\n### Fallbacks Used\n- `None` or exact fallback branch + reason\n```\n\n### 8. Offer Fix Application\n\nAfter reporting:\n- Ask whether to apply fixes.\n- If user approves, patch the Dockerfile and rerun validation.\n\n## Fallback Behavior (Explicit)\n\nWhen the primary script cannot complete, use deterministic fallback branches and report them.\n\n### Fallback A: Python\u002FTool Install Constraint\n\nCondition:\n- Script exits with tool-install failure (for example Python missing, package install blocked, or restricted environment).\n\nAction:\n1. Report primary failure and why.\n2. Run manual minimum checks:\n\n```bash\n# Basic syntax signal (if Docker is available)\nDOCKERFILE_DIR=\"$(dirname \"$TARGET_DOCKERFILE\")\"\ndocker build --no-cache -f \"$TARGET_DOCKERFILE\" \"$DOCKERFILE_DIR\"\n\n# High-value static checks\ngrep -nEi \"^[[:space:]]*FROM[[:space:]]+.*:latest\" \"$TARGET_DOCKERFILE\" || true\ngrep -nEi \"^[[:space:]]*(ENV|ARG)[[:space:]].*(password|secret|token|api[_-]?key)[[:space:]]*=\" \"$TARGET_DOCKERFILE\" || true\ngrep -nEi \"^[[:space:]]*USER[[:space:]]+(root|0(:0)?)$\" \"$TARGET_DOCKERFILE\" || true\ngrep -nEi \"^[[:space:]]*HEALTHCHECK[[:space:]]+\" \"$TARGET_DOCKERFILE\" || true\n```\n\n3. Classify output with `PARTIAL` result and clearly label skipped checks.\n\n### Fallback B: hadolint Not Available but Docker Available\n\nUse hadolint container image:\n\n```bash\ndocker run --rm -i hadolint\u002Fhadolint \u003C \"$TARGET_DOCKERFILE\"\n```\n\n### Fallback C: No Docker, No hadolint\u002Fcheckov\n\nRun only manual regex-based checks (Fallback A step 2), clearly mark as `PARTIAL`, and state which scanners were skipped.\n\n## Quick Command Set\n\n### Validate one Dockerfile\n\n```bash\ncd \u002Fpath\u002Fto\u002Frepo\nbash devops-skills-plugin\u002Fskills\u002Fdockerfile-validator\u002Fscripts\u002Fdockerfile-validate.sh Dockerfile\n```\n\n### Validate alternate file\n\n```bash\ncd \u002Fpath\u002Fto\u002Frepo\nbash devops-skills-plugin\u002Fskills\u002Fdockerfile-validator\u002Fscripts\u002Fdockerfile-validate.sh Dockerfile.prod\n```\n\n### Validate skill examples\n\n```bash\ncd \u002Fpath\u002Fto\u002Frepo\u002Fdevops-skills-plugin\u002Fskills\u002Fdockerfile-validator\nbash scripts\u002Fdockerfile-validate.sh examples\u002Fgood-example.Dockerfile\nbash scripts\u002Fdockerfile-validate.sh examples\u002Fsecurity-issues.Dockerfile\n```\n\n### Run regression checks (CI entrypoint)\n\n```bash\ncd \u002Fpath\u002Fto\u002Frepo\nbash devops-skills-plugin\u002Fskills\u002Fdockerfile-validator\u002Fscripts\u002Ftest_validate.sh\n```\n\nOptional strict mode for CI environments that must enforce ShellCheck:\n\n```bash\nSTRICT_SHELLCHECK=true bash devops-skills-plugin\u002Fskills\u002Fdockerfile-validator\u002Fscripts\u002Ftest_validate.sh\n```\n\n## Progressive Disclosure Rules\n\n- Always read the target Dockerfile first.\n- Do not read any reference files unless findings require them.\n- Read only the matching reference file(s) from the issue-to-reference mapping.\n- Do not reread the same reference unless new issue categories appear.\n\n## Done Criteria\n\nConsider this skill execution complete only when all conditions below are satisfied:\n\n- Trigger matched a Dockerfile validation\u002Flint\u002Fsecurity\u002Foptimization request.\n- Target Dockerfile path was explicitly verified.\n- Validation command (or explicit fallback) was executed.\n- Findings were reported using severity buckets (`Critical`, `High`, `Medium`, `Low`).\n- Reference usage matched issue categories and was explicitly listed.\n- No-issue fast path skipped unnecessary reference reads.\n- If fixes were applied, validation was rerun and final status reported.\n\n## Resources\n\n- Script: `scripts\u002Fdockerfile-validate.sh`\n- CI\u002Fregression entrypoint: `scripts\u002Ftest_validate.sh`\n- Security reference: `references\u002Fsecurity_checklist.md`\n- Optimization reference: `references\u002Foptimization_guide.md`\n- Best-practices reference: `references\u002Fdocker_best_practices.md`\n- Examples: `examples\u002Fgood-example.Dockerfile`, `examples\u002Fbad-example.Dockerfile`, `examples\u002Fsecurity-issues.Dockerfile`, `examples\u002Fpython-optimized.Dockerfile`, `examples\u002Fgolang-distroless.Dockerfile`\n\n## Source Links\n\n- [Docker Build Best Practices](https:\u002F\u002Fdocs.docker.com\u002Fbuild\u002Fbuilding\u002Fbest-practices\u002F)\n- [Dockerfile Reference](https:\u002F\u002Fdocs.docker.com\u002Freference\u002Fdockerfile\u002F)\n- [Checkov Dockerfile Scanning](https:\u002F\u002Fwww.checkov.io\u002F7.Scan%20Examples\u002FDockerfile.html)\n- [hadolint](https:\u002F\u002Fgithub.com\u002Fhadolint\u002Fhadolint)\n","# Dockerfile Validator\n\nValidate Dockerfiles with deterministic stages, clear severity reporting, and explicit fallbacks when tools or network access are constrained.\n\n## Trigger Phrases\n\nUse this skill when the user asks for tasks like:\n- \"validate this Dockerfile\"\n- \"lint\u002Fcheck my Dockerfile\"\n- \"security scan Dockerfile\"\n- \"optimize Docker image size\u002Fbuild time\"\n- \"review Dockerfile before merge\"\n- \"find issues in Dockerfile.prod\u002FDockerfile.dev\"\n\n## Use \u002F Do Not Use\n\nUse this skill for:\n- Syntax and lint validation\n- Security and secrets checks\n- Best-practice and performance review\n- Dockerfile hardening before CI\u002FCD or production\n\nDo not use this skill for:\n- Generating a new Dockerfile from scratch (use `dockerfile-generator`)\n- Running containers, debugging runtime behavior, or image registry operations\n\n## Local Files In This Skill\n\n- Validator script: `scripts\u002Fdockerfile-validate.sh`\n- References:\n  - `references\u002Fsecurity_checklist.md`\n  - `references\u002Foptimization_guide.md`\n  - `references\u002Fdocker_best_practices.md`\n- Example Dockerfiles: `examples\u002F*.Dockerfile`\n\n## Deterministic Execution Flow (Required)\n\nRun these steps in order. Do not skip steps unless a documented fallback branch applies.\n\n### 1. Preflight and Path Setup\n\nAssume repo root as working directory:\n\n```bash\ncd \u002Fpath\u002Fto\u002Frepo\nSKILL_DIR=\"devops-skills-plugin\u002Fskills\u002Fdockerfile-validator\"\nTARGET_DOCKERFILE=\"Dockerfile\"   # replace when user provides a path\n```\n\nValidate inputs before running tools:\n\n```bash\ntest -f \"$SKILL_DIR\u002Fscripts\u002Fdockerfile-validate.sh\"\ntest -f \"$TARGET_DOCKERFILE\"\n```\n\nIf either check fails, stop and report the exact missing path.\n\n### 2. Read the Target Dockerfile Explicitly\n\nUse explicit file-read commands (not abstract \"Read tool\" wording):\n\n```bash\nsed -n '1,220p' \"$TARGET_DOCKERFILE\"\n```\n\nIf needed for long files:\n\n```bash\nsed -n '220,440p' \"$TARGET_DOCKERFILE\"\n```\n\n### 3. Run Validation Script\n\nPrimary command:\n\n```bash\nbash \"$SKILL_DIR\u002Fscripts\u002Fdockerfile-validate.sh\" \"$TARGET_DOCKERFILE\"\n```\n\nOptional captured run for structured reporting:\n\n```bash\nbash \"$SKILL_DIR\u002Fscripts\u002Fdockerfile-validate.sh\" \"$TARGET_DOCKERFILE\" | tee \u002Ftmp\u002Fdockerfile-validator.out\n```\n\n### 4. Classify Findings by Severity (Standard)\n\nUse this standard severity model:\n\n- `Critical`\n  - Hardcoded secrets\u002Fcredentials\n  - Explicit root runtime with high-risk context\n  - High-impact security policy failures\n- `High`\n  - Checkov failures for container hardening\n  - hadolint errors likely to cause insecure\u002Funreliable builds\n  - Missing or unsafe runtime-user posture (`USER`)\n- `Medium`\n  - `:latest` image tags, missing pinning, cache-cleanup misses\n  - Build cache inefficiency and layered install anti-patterns\n- `Low`\n  - Style\u002Finfo guidance and non-blocking optimization suggestions\n\n### 5. No-Issue Fast Path (Required)\n\nIf validation has no actionable findings:\n- Return a concise pass summary.\n- Do **not** open reference files.\n- Do **not** generate fix diffs.\n\nUse fast path when all are true:\n- Script reports overall pass.\n- No security failures.\n- No error\u002Fwarning findings requiring user action.\n\n### 6. Reference Loading Rules (Only When Findings Exist)\n\nOnly read references that match actual findings. Read each required file once.\n\nIssue-to-reference mapping:\n\n| Issue category | Trigger examples | Read this file |\n|---|---|---|\n| Secrets, root user, exposed sensitive ports, hardening gaps | `CKV_DOCKER_*`, hardcoded token\u002Fpassword, root runtime | `references\u002Fsecurity_checklist.md` |\n| Image size, layer count, multi-stage opportunities, cache efficiency, `.dockerignore` gaps | too many `RUN`, single-stage with build deps, cache misses | `references\u002Foptimization_guide.md` |\n| Tag pinning, instruction usage, COPY vs ADD, WORKDIR\u002FCMD\u002FENTRYPOINT conventions | `:latest`, unpinned packages, instruction-level best practices | `references\u002Fdocker_best_practices.md` |\n\nExplicit read commands:\n\n```bash\nsed -n '1,220p' \"$SKILL_DIR\u002Freferences\u002Fsecurity_checklist.md\"\nsed -n '1,220p' \"$SKILL_DIR\u002Freferences\u002Foptimization_guide.md\"\nsed -n '1,220p' \"$SKILL_DIR\u002Freferences\u002Fdocker_best_practices.md\"\n```\n\nFor targeted extraction:\n\n```bash\nrg -n \"USER|secrets|EXPOSE|HEALTHCHECK\" \"$SKILL_DIR\u002Freferences\u002Fsecurity_checklist.md\"\nrg -n \"multi-stage|cache|layer|dockerignore\" \"$SKILL_DIR\u002Freferences\u002Foptimization_guide.md\"\nrg -n \"FROM|COPY|ADD|WORKDIR|CMD|ENTRYPOINT|latest\" \"$SKILL_DIR\u002Freferences\u002Fdocker_best_practices.md\"\n```\n\n### 7. Produce Standard Report Output\n\nUse this template for every non-fast-path run:\n\n```markdown\n## Dockerfile Validation Report\n- Target: \u003Cpath>\n- Command: `bash \u003Cskill-script> \u003Ctarget>`\n- Overall result: PASS | FAIL | PARTIAL (fallback)\n\n### Critical\n- \u003Cissue or `None`>\n\n### High\n- \u003Cissue or `None`>\n\n### Medium\n- \u003Cissue or `None`>\n\n### Low\n- \u003Cissue or `None`>\n\n### Recommended Fixes\n- \u003Cspecific code-level fix per actionable issue>\n\n### References Used\n- \u003Clist only files actually read>\n\n### Fallbacks Used\n- `None` or exact fallback branch + reason\n```\n\n### 8. Offer Fix Application\n\nAfter reporting:\n- Ask whether to apply fixes.\n- If user approves, patch the Dockerfile and rerun validation.\n\n## Fallback Behavior (Explicit)\n\nWhen the primary script cannot complete, use deterministic fallback branches and report them.\n\n### Fallback A: Python\u002FTool Install Constraint\n\nCondition:\n- Script exits with tool-install failure (for example Python missing, package install blocked, or restricted environment).\n\nAction:\n1. Report primary failure and why.\n2. Run manual minimum checks:\n\n```bash\n# Basic syntax signal (if Docker is available)\nDOCKERFILE_DIR=\"$(dirname \"$TARGET_DOCKERFILE\")\"\ndocker build --no-cache -f \"$TARGET_DOCKERFILE\" \"$DOCKERFILE_DIR\"\n\n# High-value static checks\ngrep -nEi \"^[[:space:]]*FROM[[:space:]]+.*:latest\" \"$TARGET_DOCKERFILE\" || true\ngrep -nEi \"^[[:space:]]*(ENV|ARG)[[:space:]].*(password|secret|token|api[_-]?key)[[:space:]]*=\" \"$TARGET_DOCKERFILE\" || true\ngrep -nEi \"^[[:space:]]*USER[[:space:]]+(root|0(:0)?)$\" \"$TARGET_DOCKERFILE\" || true\ngrep -nEi \"^[[:space:]]*HEALTHCHECK[[:space:]]+\" \"$TARGET_DOCKERFILE\" || true\n```\n\n3. Classify output with `PARTIAL` result and clearly label skipped checks.\n\n### Fallback B: hadolint Not Available but Docker Available\n\nUse hadolint container image:\n\n```bash\ndocker run --rm -i hadolint\u002Fhadolint \u003C \"$TARGET_DOCKERFILE\"\n```\n\n### Fallback C: No Docker, No hadolint\u002Fcheckov\n\nRun only manual regex-based checks (Fallback A step 2), clearly mark as `PARTIAL`, and state which scanners were skipped.\n\n## Quick Command Set\n\n### Validate one Dockerfile\n\n```bash\ncd \u002Fpath\u002Fto\u002Frepo\nbash devops-skills-plugin\u002Fskills\u002Fdockerfile-validator\u002Fscripts\u002Fdockerfile-validate.sh Dockerfile\n```\n\n### Validate alternate file\n\n```bash\ncd \u002Fpath\u002Fto\u002Frepo\nbash devops-skills-plugin\u002Fskills\u002Fdockerfile-validator\u002Fscripts\u002Fdockerfile-validate.sh Dockerfile.prod\n```\n\n### Validate skill examples\n\n```bash\ncd \u002Fpath\u002Fto\u002Frepo\u002Fdevops-skills-plugin\u002Fskills\u002Fdockerfile-validator\nbash scripts\u002Fdockerfile-validate.sh examples\u002Fgood-example.Dockerfile\nbash scripts\u002Fdockerfile-validate.sh examples\u002Fsecurity-issues.Dockerfile\n```\n\n### Run regression checks (CI entrypoint)\n\n```bash\ncd \u002Fpath\u002Fto\u002Frepo\nbash devops-skills-plugin\u002Fskills\u002Fdockerfile-validator\u002Fscripts\u002Ftest_validate.sh\n```\n\nOptional strict mode for CI environments that must enforce ShellCheck:\n\n```bash\nSTRICT_SHELLCHECK=true bash devops-skills-plugin\u002Fskills\u002Fdockerfile-validator\u002Fscripts\u002Ftest_validate.sh\n```\n\n## Progressive Disclosure Rules\n\n- Always read the target Dockerfile first.\n- Do not read any reference files unless findings require them.\n- Read only the matching reference file(s) from the issue-to-reference mapping.\n- Do not reread the same reference unless new issue categories appear.\n\n## Done Criteria\n\nConsider this skill execution complete only when all conditions below are satisfied:\n\n- Trigger matched a Dockerfile validation\u002Flint\u002Fsecurity\u002Foptimization request.\n- Target Dockerfile path was explicitly verified.\n- Validation command (or explicit fallback) was executed.\n- Findings were reported using severity buckets (`Critical`, `High`, `Medium`, `Low`).\n- Reference usage matched issue categories and was explicitly listed.\n- No-issue fast path skipped unnecessary reference reads.\n- If fixes were applied, validation was rerun and final status reported.\n\n## Resources\n\n- Script: `scripts\u002Fdockerfile-validate.sh`\n- CI\u002Fregression entrypoint: `scripts\u002Ftest_validate.sh`\n- Security reference: `references\u002Fsecurity_checklist.md`\n- Optimization reference: `references\u002Foptimization_guide.md`\n- Best-practices reference: `references\u002Fdocker_best_practices.md`\n- Examples: `examples\u002Fgood-example.Dockerfile`, `examples\u002Fbad-example.Dockerfile`, `examples\u002Fsecurity-issues.Dockerfile`, `examples\u002Fpython-optimized.Dockerfile`, `examples\u002Fgolang-distroless.Dockerfile`\n\n## Source Links\n\n- [Docker Build Best Practices](https:\u002F\u002Fdocs.docker.com\u002Fbuild\u002Fbuilding\u002Fbest-practices\u002F)\n- [Dockerfile Reference](https:\u002F\u002Fdocs.docker.com\u002Freference\u002Fdockerfile\u002F)\n- [Checkov Dockerfile Scanning](https:\u002F\u002Fwww.checkov.io\u002F7.Scan%20Examples\u002FDockerfile.html)\n- [hadolint](https:\u002F\u002Fgithub.com\u002Fhadolint\u002Fhadolint)\n",{"name":5,"description":7},"master","c73386b305dec167db7654e0e6feacb462d4f9dc","assets\u002Fskills\u002Fdevops\u002Fdockerfile-validator",1,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code","https:\u002F\u002Fgithub.com\u002FAntifragileTech","2026-10-02 14:22:14",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add AntifragileTech\u002Fantifragile-claude-code --skill dockerfile-validator",{"tool":44,"command":45},"bunx","bunx skills add AntifragileTech\u002Fantifragile-claude-code --skill dockerfile-validator",{"tool":47,"command":48},"pnpm","pnpm dlx skills add AntifragileTech\u002Fantifragile-claude-code --skill dockerfile-validator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002FSKILL.md",true,[52,58,62,66,70,74,78,82,88,92,96,100,106,110,114,118,122],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},".gitignore","OTHER","其他",122,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002F.gitignore",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"examples\u002F.dockerignore.example",364,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002Fexamples\u002F.dockerignore.example",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"examples\u002Fbad-example.Dockerfile",1017,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002Fexamples\u002Fbad-example.Dockerfile",{"path":67,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":68,"sourceHtmlUrl":69},"examples\u002Fgolang-distroless.Dockerfile",1340,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002Fexamples\u002Fgolang-distroless.Dockerfile",{"path":71,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":72,"sourceHtmlUrl":73},"examples\u002Fgood-example.Dockerfile",1504,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002Fexamples\u002Fgood-example.Dockerfile",{"path":75,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":76,"sourceHtmlUrl":77},"examples\u002Fpython-optimized.Dockerfile",1264,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002Fexamples\u002Fpython-optimized.Dockerfile",{"path":79,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":80,"sourceHtmlUrl":81},"examples\u002Fsecurity-issues.Dockerfile",916,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002Fexamples\u002Fsecurity-issues.Dockerfile",{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"index.json","REFERENCE","参考文档",543,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Flinux-fs-ext4-journal-recover\u002Findex.json",{"path":89,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fdocker_best_practices.md",7276,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002Freferences\u002Fdocker_best_practices.md",{"path":93,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Foptimization_guide.md",9464,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002Freferences\u002Foptimization_guide.md",{"path":97,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fsecurity_checklist.md",6129,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002Freferences\u002Fsecurity_checklist.md",{"path":101,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":104,"sourceHtmlUrl":105},"scripts\u002Fdockerfile-validate.sh","SCRIPT","脚本",23405,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002Fscripts\u002Fdockerfile-validate.sh",{"path":107,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":108,"sourceHtmlUrl":109},"scripts\u002Ftest_validate.sh",1148,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002Fscripts\u002Ftest_validate.sh",{"path":111,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":112,"sourceHtmlUrl":113},"tests\u002Ffixtures\u002Fcopy-before-yarn-lock-read.Dockerfile",120,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002Ftests\u002Ffixtures\u002Fcopy-before-yarn-lock-read.Dockerfile",{"path":115,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":116,"sourceHtmlUrl":117},"tests\u002Ffixtures\u002Fcopy-before-yarn.Dockerfile",87,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002Ftests\u002Ffixtures\u002Fcopy-before-yarn.Dockerfile",{"path":119,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":120,"sourceHtmlUrl":121},"tests\u002Ffixtures\u002Ffrom-platform-nonroot.Dockerfile",260,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002Ftests\u002Ffixtures\u002Ffrom-platform-nonroot.Dockerfile",{"path":123,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":124,"sourceHtmlUrl":125},"tests\u002Ftest_regression.sh",4043,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdevops\u002Fdockerfile-validator\u002Ftests\u002Ftest_regression.sh",[127,140,153,166,179,192],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":26},"01M6DT9Q6VYA615SCXR757TZZ7","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwriting-skills\u002FSKILL.md",[],[134,135,136,137,138,139],"writing skills","writing","use","editing","work","deployment",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":26},"01M6DT9GFHDNY90P41WGAE1TV0","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwriting-plans\u002FSKILL.md",[],[147,148,135,149,150,136,151,152],"plans","writing plans","requirements","task","code","spec",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":26},"01M6DT9C6PFGD86WS3HY7YE3XG","docs:write-concisely","Apply writing rules to any documentation that humans will read. Makes your writing clearer, stronger, and more professional.","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwrite-concisely\u002FSKILL.md",[],[160,161,162,163,164,165,135],"docs:write concisely","write","docs","read","Rules","documentation",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":26},"01M6DT98AWQ27P0N1CG97WAG66","kaizen:why","Iterative Five Whys root cause analysis drilling from symptoms to fundamentals","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwhy\u002FSKILL.md",[],[168,173,174,175,176,177,178],"why","kaizen","issue","five whys","analysis","root cause analysis",{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":26},"01M6DT93EH25NAX19R3WGE1P53","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fverification-loop\u002FSKILL.md",[],[186,187,188,189,151,190,191],"verification loop","verification","loop","sessions","claude code sessions","system",{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":196,"categories":197,"keywords":198,"publishedAt":26},"01M6DT90GW7Z7VCN98P9DVYSNC","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fverification-before-completion\u002FSKILL.md",[],[199,187,200,138,136,201,202,203],"verification before completion","commands","evidence","claim","complete"]