Dockerfile Best Practices
ListedProvides best practices guidance and assistance for software development workflows.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add tanut-pen/agent-skill --skill dockerfile-best-practices -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
tanut-pen
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill failed 3 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
No undeclared network calls: failed
Contacts 1 host that is neither well-known infrastructure nor declared in the skill's frontmatter: internal.api.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
raw.githubusercontent.comsource hostinternal.apiundeclaredWhat it found
- agent-skills/skills/dockerfile-bestpractics/references/secrets-guide.md:69contacts internal.api
curl -H "Authorization: Bearer $SECRET" https://internal.api/resource
No credential access: failed
Touches credential material in 5 places.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
What it found (3 of 5)
- agent-skills/skills/dockerfile-bestpractics/SKILL.md:443npm auth token
docker build --secret id=npmrc,src=$HOME/.npmrc . - agent-skills/skills/dockerfile-bestpractics/references/secrets-guide.md:34npm auth token
docker build --secret id=npmrc,src=$HOME/.npmrc . - agent-skills/skills/dockerfile-bestpractics/references/secrets-guide.md:89SSH private keys or config
ssh-add ~/.ssh/id_ed25519
No pipe-to-shell installers: failed
Runs code fetched at install time in 1 place.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
What it found
- agent-skills/skills/dockerfile-bestpractics/SKILL.md:334remote script piped into a shell
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/local/bin
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
Pinned to a commit: passed
Scanned tanut-pen/agent-skill at 19d5706cf2.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 19d5706cf2
- Scanned
- 5 files, 1,277 lines
About this skill
Provides best practices guidance and assistance for software development workflows.