Dockerfile을 빌드 속도·이미지 크기·보안·배포 안정성 관점에서 분석하고 개선안을 제안하는 스킬. "Dockerfile 점검/최적화/리뷰", "이미지 크기 줄여줘", "빌드 느려", "도커 보안 점검", "root 사용 경고" 같은 요청에 발동. Node.js· Python·Go 프로젝트의 패키지 매니저를 lockfile로 감지하여 multi-stage· 레이어 캐시·non-root 사용자·.dockerignore 등을 자동 진단한다.
$npx -y skills add basejb/skills --skill dockerfile-optimizerInstalls into the current project.
Run `npx skills use "https://github.com/basejb/skills" --skill "basejb/skills/dockerfile-optimizer"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/basejb/skills" that are relevant to the current task. Run `npx skills add "https://github.com/basejb/skills"` and select the relevant skills, then follow their instructions.