agentsclimarketplace

Package dependency management

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v1/skills/package-dependency-management

Use when you need to set up a cloned or downloaded scientific Python package for local development, testing, or execution. Specifically, use it when: (1) you have a package repository with a pyproject.toml or setup.py that declares dev dependencies;From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill package-dependency-management

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as CC-BY-4.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

6.2 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it

package-dependency-management

Summary

Install and manage Python package dependencies in development mode, ensuring all required tooling and test infrastructure are available for reproducible builds and local validation. This skill is essential when setting up a scientific Python package for development, testing, or reproducible analysis.

When to use

Apply this skill when you need to set up a cloned or downloaded scientific Python package for local development, testing, or execution. Specifically, use it when: (1) you have a package repository with a pyproject.toml or setup.py that declares dev dependencies; (2) you need to run the full test suite locally before analysis or contribution; (3) you want to ensure all development tools (testing, linting, formatting) are installed alongside the package itself.

When NOT to use

  • When you need only the released/stable version of the package for end-user analysis—use pip install biosynfoni instead of editable mode.
  • When the package is already installed and all tests have passed in a prior session—reinstalling is redundant unless dependencies have changed.
  • When working in a CI/CD environment (GitHub Actions, etc.) that handles dependency installation automatically—check the workflow YAML instead of installing locally.

Inputs

  • Python package repository (with pyproject.toml or setup.py declaring [dev] extras)
  • pip package manager
  • pytest configuration (pytest.ini or pyproject.toml [tool.pytest.ini_options])

Outputs

  • Installed package in editable mode (symlinked to repository)
  • Installed development dependencies (pytest, black, etc.)
  • Test suite execution report (stdout/stderr; exit code 0 on success)

How to apply

Navigate to the package repository root directory and install the package in editable (development) mode using pip with the dev dependency group: pip install -e .[dev]. This approach installs the package in-place, allowing live code changes to be reflected immediately, and simultaneously installs all test runners (pytest), formatters (black), and other development dependencies declared in the [dev] extras. Once installed, validate the installation by executing the complete test suite using pytest tests/ from the repository root. All tests must pass before proceeding with package usage or analysis workflows; any test failures indicate incomplete or incompatible dependencies.

Related tools

  • pip (Package installer and dependency resolver; used to install the package and all [dev] dependencies in editable mode via pip install -e .[dev])
  • pytest (Test runner; executes the test suite declared in tests/ to validate installation and package functionality)
  • black (Code formatter; installed as part of [dev] dependencies to enforce consistent code style before contribution or release) — https://github.com/psf/black
  • biosynfoni (The package being installed and tested) — https://github.com/lucinamay/biosynfoni

Examples

pip install -e .[dev] && pytest tests/

Evaluation signals

  • pytest exit code is 0 (all tests pass) after running pytest tests/
  • Package is importable in Python: from biosynfoni import Biosynfoni succeeds without ImportError
  • Package code changes are immediately reflected in the installed environment (editable mode is active)
  • All declared dependencies (RDKit, numpy, etc.) are present and satisfy version constraints
  • black formatting check passes on the codebase with no style errors (or black --check returns exit code 0)

Limitations

  • Installation requires Python 3.9 or later; earlier Python versions will fail dependency resolution or import.
  • RDKit is a compiled dependency that may require system-level chemistry libraries (e.g., boost); installation can fail on systems without appropriate build tools.
  • Development mode installation leaves the package tightly coupled to the repository; moving or deleting the repo breaks the installation.
  • The [dev] extras group is only available if the package declares it in pyproject.toml or setup.py; packages without dev dependencies will fail with error: [dev] is not a valid extra or equivalent.

Evidence

  • [other] Install the package in development mode using pip with dev dependencies via pip install -e .[dev]: "Install the package in development mode using pip with dev dependencies via pip install -e .[dev]"
  • [other] Execute the complete test suite using pytest on the tests/ directory with pytest tests/: "Execute the complete test suite using pytest on the tests/ directory with pytest tests/"
  • [other] Run the following command from the root of the project to install the project for development: "Run the following command from the root of the project to install the project for development"
  • [other] You can also run the tests locally with the following command: "You can also run the tests locally with the following command"
  • [readme] Biosynfoni requires Python 3.9 or later. RDKit is installed as a dependency when installing Biosynfoni.: "Biosynfoni requires Python 3.9 or later. RDKit is installed as a dependency when installing Biosynfoni."
  • [readme] To install the package, you can use pip: pip install biosynfoni: "To install the package, you can use pip: pip install biosynfoni"

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.