refactor-dependencies

Community

Clean, secure Python deps in one pass.

Authorcyberpunk042
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Audit and reshape the Python dependency graph for a project, identifying unused, transitive, or overly pinned packages in pyproject.toml and requirements.txt to reduce risk and footprint.

Core Features & Use Cases

  • Audit declared vs actually-used dependencies across pyproject.toml and requirements.txt.
  • Prune unused dependencies, tighten or loosen pins, and separate dev vs runtime groups.
  • Improve security posture by isolating CVE-flagged packages and replacing transitive direct-dependents with explicit declarations.
  • Use-case: before a fleet rollout, sanitize the dependency graph to ensure stable, reproducible installs.

Quick Start

Run the dependency audit workflow to prune unused packages and tighten pins.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: refactor-dependencies
Download link: https://github.com/cyberpunk042/devops-expert-local-ai/archive/main.zip#refactor-dependencies

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.