py-refactor
Python Refactoring Orchestrator
Comprehensive refactoring workflow coordinating specialized skills to improve Python code quality.
Overview
This skill orchestrates multiple focused skills to perform systematic refactoring:
| Skill | Purpose | Status |
|---|---|---|
py-security |
Vulnerability detection and remediation | stable |
py-code-health |
Dead code and duplication removal | stable |
py-complexity |
Reduce cyclomatic/cognitive complexity | stable |
py-test-quality |
Coverage analysis and mutation testing | stable |
py-modernize |
Upgrade tooling and syntax | stable |
py-quality-setup |
Configure linters and type checkers | stable |
py-git-hooks |
Set up pre-commit hooks | stable |
Refactoring Priorities
More from l-mb/python-refactoring-skills
py-complexity
Reduce cyclomatic and cognitive complexity in Python code. Break down complex functions, simplify control flow, and track complexity trends over time.
19py-code-health
Detect and remove dead code, duplicate code, and unused imports. Consolidate similar code patterns into parametrized functions.
18py-quality-setup
Configure ruff, mypy, and basedpyright for Python 3.13 projects. Use when setting up linters and type checkers in pyproject.toml and pyrightconfig.json.
13py-modernize
Modernize Python codebases - migrate pip to uv, upgrade syntax to Python 3.13+, replace deprecated patterns, and update tooling to current best practices.
12py-test-quality
Measure and improve test coverage and test suite quality using code coverage and mutation testing. Ensures tests actually catch bugs.
11py-security
Security vulnerability detection and remediation for Python codebases. Identifies SQL injection, hardcoded secrets, weak cryptography, and other OWASP vulnerabilities.
9