Skip to content

tiran/tiran-skills

unversioned · 0c51c24122b3

Portable, agent-neutral coding skills and playbooks (Python packaging, PyTorch), auto-discovered under skills/.

ship-type-information

Ship complete, verified type information for a Python package. Add annotations to untyped code (autotyping, infer-types, pyrefly infer, MonkeyType), drop the py.typed marker (PEP 561), and generate .pyi stubs for compiled C/C++/Rust extensions (nanobind stubgen, pybind11-stubgen, mypy stubgen, pyo3-stub-gen; __text_signature__ for hand-written C). Verify with mypy, pyright (--verifytypes), ty, and pyrefly plus stubtest, then package the stubs so the built wheel actually carries them. Pairs with pybind11-to-nanobind, port-to-python-limited-api, and port-to-free-threaded-python. Use when asked to add type annotations, ship py.typed, generate or fix .pyi stubs for a C extension, make a package typed, or fix "module is untyped" / Any results downstream.

Read SKILL.md at the source

Pinned to revision 0c51c24122b3, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.