agentsclimarketplace

Editable development mode installation and verification

Skill HolobiomicsLab/asb-skill-collections/collections/epigenomics/v1/skills/editable-development-mode-installation-and-verification

Curated, evidence-grounded skill and software-tool collections for scientific AI agents, generated by the AgenticScienceBuilder

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill editable-development-mode-installation-and-verification

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

  • 14 stars14 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 author says it does

Copied from the file, not written here

Use when when you are developing or contributing to a Python package (like cooltools) and need to test changes to utility functions, library integrations, or API implementations without reinstalling the package after each modification. Apply this when you must verify that a new function (e.

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

7.8 KB, ~1.4k tokens by cl100k_base, as published. Nobody here has run it

editable-development-mode-installation-and-verification

Summary

Install a Python package in editable (development) mode and verify correctness through import, unit testing, code coverage, style linting, and documentation generation. This workflow enables rapid iteration on package code while ensuring all components remain functional and compliant.

When to use

When you are developing or contributing to a Python package (like cooltools) and need to test changes to utility functions, library integrations, or API implementations without reinstalling the package after each modification. Apply this when you must verify that a new function (e.g., adaptive_coarsegrain) is correctly exposed in the package namespace, passes all unit tests, meets code style standards, and is properly documented.

When NOT to use

  • Package is already installed in production mode and users should not modify source code; use standard installation (pip install package_name) instead.
  • You are running a pre-compiled or binary package with no Python source; editable mode requires a setuptools-compatible source tree.
  • Development environment lacks build tools (gcc, Make, Sphinx) or permission to modify the installation directory; fall back to virtual environment isolation or containerization.

Inputs

  • Git repository containing Python package source code (e.g., open2c/cooltools)
  • Python environment with pip and build tools available
  • Package setup.py or pyproject.toml with dependency specifications

Outputs

  • Installed package in editable mode with symlink to source directory
  • Unit test execution report (passed/failed counts, coverage metrics)
  • Code style lint report (flake8 compliance check)
  • Built Sphinx HTML documentation with API reference
  • Confirmation that target function/utility is importable and callable

How to apply

Begin by cloning the target repository and installing it in editable mode using pip install -e . from the repository root; this creates a symlink to the development directory so changes are immediately reflected without reinstallation. Next, import the function or module of interest in a Python session to confirm it is callable and accessible from the intended namespace (e.g., from cooltools.lib import adaptive_coarsegrain). Then run the full pytest suite with pytest to execute unit tests and verify behavioral correctness. Extend pytest with the pytest-cov extension to measure code coverage and ensure the new code paths are exercised; also run pytest-flake8 to enforce code style compliance using flake8 linting rules. Finally, build the Sphinx documentation using make docs and inspect the generated API reference to confirm the function appears with its docstring and signature intact. Success is indicated when all tests pass, coverage is satisfactory, no style violations are reported, and the function is discoverable in the built documentation.

Related tools

Examples

cd /path/to/cooltools && pip install -e . && python -c "from cooltools.lib import adaptive_coarsegrain; print(adaptive_coarsegrain)" && pytest && pytest --cov=cooltools.lib && make docs

Evaluation signals

  • Function is successfully imported without ImportError from the expected namespace (e.g., from cooltools.lib import adaptive_coarsegrain)
  • All unit tests pass (exit code 0 from pytest); no test failures or errors reported
  • Code coverage for the new/modified module meets project threshold (typically ≥80%); coverage report shows the function's code paths are exercised
  • No flake8 style violations in the modified or new code; pytest-flake8 completes without warnings in the target module
  • Function signature, docstring, and description appear in the built Sphinx HTML documentation under the appropriate API section (e.g., cooltools.lib)

Limitations

  • Editable mode requires a source tree with a valid setup.py or pyproject.toml; will fail on pre-built or binary-only distributions.
  • Documentation build requires Sphinx and configured conf.py; may fail if the project's docs directory is incomplete or dependencies are missing.
  • Code coverage measurement depends on test suite comprehensiveness; high coverage does not guarantee correctness, only that code paths are executed.
  • Style checking with flake8 enforces syntactic conventions (line length, indentation, naming) but does not validate logic or algorithmic correctness.
  • Function must be explicitly exposed in the module's init.py or public API for import verification to succeed; internal utility functions may not be discoverable in the intended namespace.

Evidence

  • [other] install in "editable" (i.e. development) mode using the -e option: "install in "editable" (i.e. development) mode using the -e option"
  • [other] pytest and code coverage checking via pytest-cov extension: "We use pytest as our unit testing framework with the pytest-cov extension"
  • [other] flake8 and pytest-flake8 for code style enforcement: "We use pytest as our unit testing framework with the pytest-cov extension to check code coverage and pytest-flake8 to check code style"
  • [other] Sphinx documentation generation and API reference: "We use Numpy style docstrings and Sphinx to document this library"
  • [other] pytest execution from repository root: "you can just cd to the root of your repository and run pytest"
  • [other] Sphinx documentation build command: "To build the documentation: make docs"

What ships with it

Read from the repository

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

Keep looking

Skills are one crate of 328,083. 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.