rewrite-python-docs

Installation
SKILL.md

Rewrite Python Docs

Use source code as the source of truth. Treat existing docs, docstrings, tests, and examples only as weak hints.

Guidelines

  • Inspect pyproject.toml, zensical.toml, noxfile.py, .config/mise/, public exports, source code, and tests before editing.
  • Run scripts/gen-ref-pages.py to regenerate reference pages under docs/reference/. The script will output a navigation table that can be copy-pasted into zensical.toml.
  • Files to update:
    • docstrings in source code
    • docs/ (excluding generated docs/reference/)
    • description in pyproject.toml and zensical.toml
    • inventories in zensical.toml if needed
  • DO NOT EDIT:
    • generated reference pages under docs/reference/
  • Existing docs, docstrings, tests, examples may be rough, missing, incomplete or misleading, it only serves as weak hint.
  • Favor bold, comprehensive rewrites over minor or incremental edits.
  • Keep docs concise, fluent, example-first.
  • Source code is the source of truth.
Related skills
Installs
56
Repository
liblaf/skills
First Seen
Apr 21, 2026