Agent skill
setting up a development environment
Set up a development environment for writing and testing code.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/setting-up-a-development-environment
SKILL.md
Setting Up a Development Environment
Use a reproducible, project-local environment and install NiMARE in editable mode so code changes are immediately available when running tests or examples.
Creating or reusing an environment
-
Prefer a local virtual environment (e.g.,
.venv) in the repository root; reuse it if it already exists. -
Use a supported Python version (
>=3.10) consistent withdocs/installation.rst. -
If no
.venvexists, create and activate one:bashpython3 -m venv .venv source .venv/bin/activate -
When installing dependencies, try
uv pip install ...first to keep installs fast and deterministic. -
If
uvis unavailable or fails, fall back to.venv/bin/python -m pip install ....
Installing NiMARE for development
-
Install NiMARE in editable mode with all extras so tests and docs can run:
bashuv pip install -e .[all] -
If that fails or
uvis not installed, use:bash.venv/bin/python -m pip install -e .[all] -
Confirm the environment by importing NiMARE and running a small command, for example:
bashpython -c "import nimare; print(nimare.__version__)"
Didn't find tool you were looking for?