python-refactoring
Installation
SKILL.md
Python Refactoring Triggers
What I Do
Provide guidelines for when to refactor Python code based on size limits and complexity thresholds.
Size Limits
Module Size (>250 lines)
# When a single .py file exceeds 250 lines:
# OPTION 1: Split into multiple modules
# module/
# __init__.py # Public API
# core.py # Core functionality
# helpers.py # Helper functions
# validators.py # Validation logic