python-docstring-enhancer
Installation
SKILL.md
Python Docstring Enhancer
Document the behavior a reader cannot reliably infer from names, types, and code structure. Preserve runtime behavior and the repository's existing docstring convention.
Quick Start
- Read repository instructions, the target Python, neighboring documented
code, and docstring/lint configuration such as
pyproject.toml. - Identify public surfaces and non-obvious behavior in the requested scope.
- Add the smallest docstrings or comments that explain the contract, rationale, invariant, side effect, or failure behavior.
- Do not change executable code, signatures, annotations, or formatting beyond what the documentation edit requires unless the user requested a refactor.
- Parse the changed files and run the repository's focused documentation, lint, type, or test checks when available.