pyo3-wheel-release
Skill4 starsChanged 2 months agoApache-2.0View on GitHub
Use explicitly for PyO3/maturin wheels, source distributions, Python ABI compatibility, stubs, native interpreter matrices, and artifact release checks. Not ordinary pure-Python installation or permission to publish.
In this repository81 other files it gives its agents.
- agent-cli-designSkill
- agent-tool-boundariesSkill
- behavior-first-implementationSkill
- bounded-prototypeSkill
- bounded-pr-sliceSkill
- building-fdd-validationSkill
- context-efficiencySkill
- cross-language-contractsSkill
- cross-platform-agent-instructionsSkill
- design-interviewSkill
- diagnosis-loopSkill
- domain-languageSkill
- edge-cloud-syncSkill
- handoff-continuitySkill
- immutable-pr-reviewSkill
- memory-context-hygieneSkill
- module-designSkill
- orchestrateSkill
- owner-decision-gateSkill
- parallel-portfolioSkill
- pr-gate-loopSkill
- pyo3-async-lifecycleSkill
- pyo3-buffer-performanceSkill
- pyo3-free-threadingSkill
- pyo3-ownership-errorsSkill
- python-api-typingSkill
- python-async-concurrencySkill
- python-ci-releaseSkill
- python-data-boundariesSkill
- python-packaging-environmentsSkill
- python-performanceSkill
- python-pytestSkill
- python-reviewSkill
- python-test-designSkill
- python-threading-workersSkill
- python-workflowSkill
- react-components-stateSkill
- react-performanceSkill
- repository-groundingSkill
- rust-api-designSkill
- rust-async-concurrencySkill
- rust-build-diagnosticsSkill
- rust-ci-releaseSkill
- rust-memory-layoutSkill
- rust-nextestSkill
- rust-numerics-simdSkill
- rust-performanceSkill
- rust-protocol-codecsSkill
- rust-python-bindingsSkill
- rust-reviewSkill
- rust-storage-durabilitySkill
- rust-test-designSkill
- rust-unsafe-ffiSkill
- rust-workflowSkill
- rust-workspace-dependenciesSkill
- shadcn-react-componentsSkill
- shadcn-svelte-componentsSkill
- simplify-existing-codeSkill
- source-verificationSkill
- svelte-components-runesSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Read Cargo.toml, pyproject.toml, the actual lock/toolchain, maturin version, workspace exclusions, and existing release policy.
- Distinctive: line 33
Read ABI and wheel checks.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PyO3 Wheels and ABI
Read Cargo.toml, pyproject.toml, the actual lock/toolchain, maturin version, workspace exclusions, and existing release policy. Identify the Python distribution name separately from the import module name and Rust crate name. Keep published version metadata consistent with the chosen source of truth.
Define the compatibility promise
Separate minimum supported Python, tested versions, interpreter implementation, ordinary versus free-threaded build, ABI flavor, OS/architecture, libc/deployment target, and CPU feature baseline. Classifiers do not prove compatibility and requires-python does not prove all allowed versions have usable wheels. Do not drop an existing Python floor or add prerelease support without a product decision.
Use version-matched ABI guidance. Current PyO3 distinguishes ordinary abi3, version-specific free-threaded wheels for Python 3.14t, and abi3t for Python 3.15+ across GIL-enabled/free-threaded variants. These are not interchangeable. The backend, dependency APIs, selected interpreter, and actual wheel tags must agree. A Cargo feature named abi3 does not make every emitted artifact ABI-stable.
Stable-ABI compatibility is not numerical, thread-safety, NumPy C-API, or OS compatibility. Verify native dependency support independently. Do not copy a generic CI matrix using emulation, QEMU, cross-compilation, or a universal target when this workflow calls for native builds and tests. Use appropriate native hosts/containers and clearly state untested platforms.
Build and inspect
Use the repository's maturin configuration and explicit interpreter with the intended Rust release profile. Inspect module naming, extension initialization, included Python files, stubs, package data, licenses, shared-library dependencies, and ABI/platform tags. A developer's installed tool being newer than build-system.requires can hide a too-low build-backend floor; test the isolated build requirements that consumers will actually use.
Build the sdist and reconstruct a wheel from it in a clean directory. Watch for path dependencies outside the source artifact, untracked/generated files, workspace-only assumptions, and stale artifacts selected by a broad wildcard. Select the explicit artifact produced by the intended build.
Exercise an installed consumer
Install into a clean environment, use a scratch working directory, verify module.file, and run public imports, exceptions, async/context-manager behavior, and representative operations. Do not let uv/project synchronization replace the wheel with an editable source install. Test the minimal runtime dependency set, not only a fully populated development environment.
Verify.pyi layout and actual type-checker discovery; a py.typed file in the source does not establish installed typing support. Exercise top-level and registered submodule imports. For free-threaded artifacts, record GIL state after normal imports and test concurrency separately. Keep Rust unit tests/doctests and Python artifact tests distinct.
Report artifacts and environments actually exercised, metadata/API differences, rejected assumptions, and release gaps. No publication, tagging, or workflow expansion occurs without explicit authorization.
Read ABI and wheel checks.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

