AST-driven refactoring advisor for nominal architecture, SSOT recovery, and anti-duck-typing cleanup.
The tool emits refactoring findings backed by canonical patterns, architectural prescriptions, first moves, and stronger scaffolds where the pattern supports them.
Run locally with:
nominal-refactor-advisor path/to/python/packageBuild the Sphinx docs with:
pip install -e .[docs]
python -m sphinx -b html docs/source docs/_build/htmlThe docs are intentionally code-derived where possible:
- pattern docs are generated from
PATTERN_SPECS - detector docs are generated from the registered
IssueDetectorfamily
Start with:
docs/source/api/getting_started.rstdocs/source/api/pattern_catalog.rstdocs/source/api/detector_catalog.rst