| Rule ID | Reason | Suggestion | Confidence |
|---|
environments.managers.conda_env_remove | Permanently removes a Conda environment and all installed packages | Use conda env export to save the environment specification first | High |
environments.managers.conda_clean_all | Removes all cached packages, tarballs, and index caches | Use conda clean --dry-run --all to preview what will be removed | Medium |
environments.managers.pip_uninstall | Uninstalls Python packages which may break dependent packages | Use pip show <package> to review dependents before uninstalling | Medium |
environments.managers.virtualenv_remove | Removes a Python virtual environment directory | Backup with pip freeze > requirements.txt before deleting the environment | Medium |
environments.managers.mamba_env_remove | Permanently removes a Mamba/Conda environment and all installed packages | Use mamba env export to save the environment specification first | High |
environments.managers.uv_cache_clean | Removes the entire uv package cache | Use uv cache dir to inspect the cache location first | Medium |
environments.managers.micromamba_env_remove | Permanently removes a Micromamba environment and all installed packages | Use micromamba env export to save the environment specification first | High |
environments.managers.poetry_env_remove | Removes a Poetry virtual environment | Use poetry env info to review the environment first | Medium |
environments.managers.pipenv_rm | Removes the Pipenv virtual environment | Ensure Pipfile.lock is committed so the environment can be recreated | Medium |
environments.managers.spack_uninstall_all | Uninstalls all Spack packages, potentially removing shared dependencies | Uninstall specific packages by name; review with spack find first | High |