Optimizes and audits Python code documentation using a systematic taxonomy to improve maintainability and logic clarity.
This skill implements a professional-grade commenting strategy based on the Antirez 9-type taxonomy, allowing Claude to intelligently add docstrings and inline comments where they add value while removing redundant or 'debt' comments. It offers two distinct modes: a Write mode for enhancing code clarity and an Audit mode for generating comprehensive documentation health reports, ensuring that your Python projects remain readable, PEP 257 compliant, and focused on the 'why' behind the code rather than just the 'what'.
Key Features
010 GitHub stars
02Smart integration with Python type hints to reduce documentation duplication
03Systematic comment classification using the Antirez 9-type taxonomy
04Automatic docstring generation following PEP 257 and Google/NumPy styles
05Detection and removal of trivial, redundant, or commented-out 'backup' code
06Comprehensive Audit reports with coverage metrics and quality scores
Use Cases
01Refurbishing legacy codebases with missing or outdated documentation
02Preparing internal libraries for public release or open-source contribution
03Automating documentation audits during code reviews or onboarding