Back to skills
SKILL.md
Ffi Pyo3 Maturin
ASecurityBuild or modify the Rust↔Python FFI using PyO3+maturin. Use for binding builds, smoke tests, and boundary validation workflow.
- 666 stars
- 0 votes
- 0 copies
- 3 views
- Added February 8, 2026
Works with
Security analysis
100/100npx -y skills add majiayu000/claude-skill-registry --skill ffi-pyo3-maturin --agent claude-codeAre you the author of Ffi Pyo3 Maturin?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/majiayu000-ffi-pyo3-maturin)---
name: ffi-pyo3-maturin
description: Build or modify the Rust↔Python FFI using PyO3+maturin. Use for binding builds, smoke tests, and boundary validation workflow.
---
# PyO3 + maturin FFI Workflow
## Build
- `cd packages/python_viterbo && uv run maturin develop --manifest-path ../rust_viterbo/Cargo.toml`
## Test
- `cd packages/python_viterbo && uv run pytest -q tests/smoke`
## Contract and expectations
- See: `packages/rust_viterbo/docs/ffi-contract.md`
- Keep wrappers thin and convert types near the boundary.
- Validate inputs at the boundary, return structured errors.
- Avoid breaking Python-facing APIs without coordination.
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.