FD hatchling
Provides Hatchling build backend guidance for Python packaging — use when configuring pyproject.toml metadata, build targets (wheel, sdist, binary), file selection with git-style globs, build hooks, metadata hooks, version management (code/regex/env sources), editable installs, the hatch-vcs plugin, plugin development, build environment setup (UV/pip/Cython), setuptools migration, or troubleshooting Hatchling errors. Covers PEP 517/518/621/660 standards and context variable interpolation.
Provides Hatchling build backend guidance for Python packaging — use when configuring pyproject.toml metadata, build targets (wheel, sdist, binary), file…
As a process D 35/100 · Unfinished process — References files that are not bundled: references/project-metadata/index.md, references/wheel-target/index.md, references/sdist-target/index.md
What is at stake
The skill contains fragments that, in the wrong hands, cost money or data. Below: what the installer risks and what the author should do.
The skill contains commands that delete files, rewrite disks or execute code fetched from the network. The agent may run them without asking if it believes the instructions require it.
Replace destructive commands with safe equivalents that ask for confirmation, scope them to one folder, and stop piping curl into a shell: pin a version and a checksum.
How to improve
- Address the high-severity findings: each costs 18 safety points. If one is a false positive, add the rule id to guard.allow in spec.yaml.
- The text references files that are not there: add them or drop the references.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 22
-
high Dangerous commands
cmd-install-from-urlreferences/build-environment/environment-isolation.md:247Installs a package from an untrusted URL / archiveRUN pip install /tmp/*.whl && rm /tmp/*.whl
-
high Dangerous commands
cmd-install-from-urlreferences/build-environment/environment-isolation.md:286Installs a package from an untrusted URL / archivepip install dist/*.whl
-
high Dangerous commands
cmd-install-from-urlreferences/build-environment/environment-isolation.md:312Installs a package from an untrusted URL / archive- pip install dist/*.whl
-
high Dangerous commands
cmd-install-from-urlreferences/build-system/dev-mode.md:389Installs a package from an untrusted URL / archivepip install dist/*.whl
-
high Dangerous commands
cmd-pipe-to-shellreferences/build-targets/binary-builder.md:299Downloads and executes remote code from an unrecognised host (pipe to shell)curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
-
high Dangerous commands
cmd-install-from-urlreferences/cli-building/building-sdist.md:284Installs a package from an untrusted URL / archivepip install dist/*.tar.gz
-
high Dangerous commands
cmd-install-from-urlreferences/cli-building/local-install.md:199Installs a package from an untrusted URL / archivepip install dist/*.whl
-
high Dangerous commands
cmd-install-from-urlreferences/cli-building/output-customization.md:301Installs a package from an untrusted URL / archivepip install $(BUILD_DIR)/test/*.whl
-
high Dangerous commands
cmd-install-from-urlreferences/cli-building/output-customization.md:402Installs a package from an untrusted URL / archivepip install build/test/*.whl
-
high Dangerous commands
cmd-install-from-urlreferences/core-concepts/development-vs-distribution.md:210Installs a package from an untrusted URL / archivepip install dist/mypr…whl
-
high Dangerous commands
cmd-install-from-urlreferences/core-concepts/development-vs-distribution.md:223Installs a package from an untrusted URL / archivepip install dist/mypr….gz
-
high Dangerous commands
cmd-install-from-urlreferences/core-concepts/development-vs-distribution.md:413Installs a package from an untrusted URL / archivetest_env/bin/pip install dist/*.whl
-
high Dangerous commands
cmd-install-from-urlreferences/core-concepts/development-vs-distribution.md:417Installs a package from an untrusted URL / archivetest_env/bin/pip install dist/*.tar.gz
-
high Dangerous commands
cmd-install-from-urlreferences/core-concepts/wheel-vs-sdist.md:49Installs a package from an untrusted URL / archivepip install mypr…whl
-
high Dangerous commands
cmd-install-from-urlreferences/core-concepts/wheel-vs-sdist.md:83Installs a package from an untrusted URL / archivepip install mypr….gz
-
high Dangerous commands
cmd-install-from-urlreferences/core-concepts/wheel-vs-sdist.md:184Installs a package from an untrusted URL / archive# Anyone can install with: pip install mypr…whl
-
high Dangerous commands
cmd-install-from-urlreferences/core-concepts/wheel-vs-sdist.md:499Installs a package from an untrusted URL / archivepip install dist/*.whl
-
high Dangerous commands
cmd-install-from-urlreferences/error-handling/build-validation.md:393Installs a package from an untrusted URL / archivepip install dist/*.whl
Medium and low: 4
-
medium Dangerous commands
cmd-privilegereferences/build-system/output-directory.md:273Privilege escalation / world-writable permissionssudo chown $USER:$USER dist/
-
medium Dangerous commands
cmd-install-from-urlreferences/cli-building/building-all-targets.md:348Installs a package from an untrusted URL / archive (detector / deny-list definition)2. **Test installation from both formats**: `pip install dist/*.tar.gz` and `pip install dist/*.whl`
detector -
low Exfiltration
read-dotenvreferences/build-system/environment-variables.md:350Reads a .env filesource .env.development
-
low Exfiltration
read-dotenvreferences/build-system/environment-variables.md:364Reads a .env filesource .env.production
Files scanned: 80. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
missing-refreference to a missing file: references/project-metadata/index.md - warning
missing-refreference to a missing file: references/wheel-target/index.md - warning
missing-refreference to a missing file: references/sdist-target/index.md - warning
missing-refreference to a missing file: references/target-config/index.md - warning
missing-refreference to a missing file: references/file-selection/index.md - warning
missing-refreference to a missing file: references/version-management/index.md - warning
missing-refreference to a missing file: references/metadata-hooks/index.md - warning
missing-refreference to a missing file: references/plugins/index.md - warning
missing-refreference to a missing file: references/integration/index.md - warning
missing-refreference to a missing file: references/special-config/index.md - warning
missing-refreference to a missing file: references/standards/index.md - warning
missing-refreference to a missing file: references/release-notes/index.md - note
edit-residuethe text marks something as outdated (lines 6, 31): check that old rules are not kept next to new ones — the full check reads the text for contradictions
Process rating: all ten parameters 35/100
- 0Tools and files. 12 referenced file(s) missing: references/project-metadata/index.md, references/wheel-target/index.md, references/sdist-target/index.md
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 0Failures and branches. Linear process with no failure handling
- 0Progress reporting. Says nothing while it works
- 20When it triggers. No condition that starts the skill
- 100Steps. 27 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 985 tokens
- 100Running it twice. No mutating operations
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Output format is not stated: the model decides each time
- +4No input/output examples
- +1No license
- +2Single-language instructions
- +3Description length 493: enough signal without eating the budget
- +4Structure: 12 headings
- +3Step-by-step instructions: 27 items
Quality base 70; lint remarks subtract, signals add up to 100. Result: 68.