What problem does it solve?
This Skill addresses the complexity of large, monolithic Python packages by providing a structured methodology to decompose them into smaller, independent, and more manageable projects.
Core Features & Use Cases
- Dependency Modeling: Analyzes and visualizes package dependencies to identify coupling points.
- Architecture Design: Guides the design of new project boundaries and public APIs.
- Phased Refactoring: Implements a step-by-step refactoring process within the monorepo to prepare for the split.
- Structural Split Execution: Moves code into new project directories while preserving Git history.
- Verification: Ensures each new project is independently installable and testable.
- Use Case: A large internal Python library has become difficult to maintain. Use this Skill to break it down into several smaller, focused libraries, each with its own lifecycle and dependencies.
Quick Start
Run the pythonpackagesevere skill on the current directory to decompose the Python package.