PyO3 conventions for exposing a Rust core to Python: pyclass/pymethods, PyErr/PyResult error mapping, GIL release, properties, maturin builds, and pytest. Load when generating or reviewing PyO3 Python bindings for a Rust library.
$npx -y skills add goldziher/ai-rulez --skill pyo3-bindingsInstalls into the current project.
Run `npx skills use "https://github.com/goldziher/ai-rulez" --skill "goldziher/ai-rulez/pyo3-bindings"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/goldziher/ai-rulez" that are relevant to the current task. Run `npx skills add "https://github.com/goldziher/ai-rulez"` and select the relevant skills, then follow their instructions.