discipline-refactor-python-package
À propos
Cette compétence restructure les paquets Python en les réorganisant en une architecture modulaire avec des répertoires `modules/` organisés. Elle transforme les structures de paquets plates en modules imbriqués avec des dispositions miroir pour les tests et la documentation. Utilisez-la lorsque vous avez besoin d'organiser des paquets Python en croissance en modules maintenables et basés sur des fonctionnalités.
Installation rapide
Claude Code
Recommandénpx skills add vamseeachanta/workspace-hub/plugin add https://github.com/vamseeachanta/workspace-hubgit clone https://github.com/vamseeachanta/workspace-hub.git ~/.claude/skills/discipline-refactor-python-packageCopiez et collez cette commande dans Claude Code pour installer cette compétence
Documentation
Python Package (+1)
Python Package
Before:
mypackage/
├── src/mypackage/
│ ├── utils.py
│ ├── models.py
│ ├── api/
│ └── data/
├── tests/
│ ├── test_utils.py
│ └── test_api.py
└── docs/
├── api.md
└── data.md
After:
mypackage/
├── src/mypackage/
│ └── modules/
│ ├── _core/
│ │ ├── __init__.py
│ │ └── utils.py
│ ├── api/
│ │ ├── __init__.py
│ │ └── routes.py
│ └── data/
│ ├── __init__.py
│ └── models.py
├── tests/
│ └── modules/
│ ├── _core/
│ │ └── test_utils.py
│ └── api/
│ └── test_routes.py
├── docs/
│ └── modules/
│ ├── api/
│ │ └── README.md
│ └── data/
│ └── README.md
└── specs/
└── modules/
└── api/
└── api-spec.md
Import Changes
# Before
from mypackage.utils import helper
from mypackage.api.routes import router
# After
from mypackage.modules._core.utils import helper
from mypackage.modules.api.routes import router
Dépôt GitHub
Compétences associées
algorithmic-art
MétaThis Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.
subagent-driven-development
DéveloppementThis skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.
executing-plans
DesignUse the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.
cost-optimization
AutreThis Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.
