Individual skill
dockerfile-fix
Fix Dockerfile issues identified by batch_verify.sh. Reads verify_result.txt to diagnose import failures, version conflicts, and missing dependencies, then repairs the Dockerfile and updates packages.json. May also fix scripts (Script-First Rule) when packages are unavailable.
naturegym/.claude/skills/dockerfile-fix/SKILL.md
Source commit f92b849bc8d64944184a19c32f084f640246b668
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Not checked yet
- Last checked
- Nov 4, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 137
- Repository last updated
- Nov 8, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 14,762 bytes
Read excerpt
# Dockerfile Fix Skill
Fix Dockerfile issues discovered by runtime verification (batch_verify.sh). This skill diagnoses actual import failures, version conflicts, and missing dependencies from `verify_result.txt`, then repairs the Dockerfile, updates `packages.json`, and optionally fixes scripts when packages are unavailable.
## Input
User provides:
1. **task_package_path**: Path to the task package directory (containing `problem/`, `evaluation/`, `environment/`)
2. **dockerfile_name** (optional): Name of the Dockerfile to fix. Default: `Dockerfile.v3`. Can also be `Dockerfile` or any other name.
## Prerequisites
The following files must exist in `{task_package_path}/environment/`:
- `verify_result.txt` — output from batch_verify.sh, with status "has failures" or "build failed"