{
  "id": "python-native-extension-interop",
  "name": "python-native-extension-interop",
  "version": "0.1.0",
  "type": "skill",
  "provider": "python",
  "harnesses": [
    "codex",
    "claude-code",
    "cursor",
    "gemini",
    "kiro",
    "other"
  ],
  "summary": "Static review of Python native extensions and interop (CPython C API, Cython, PyO3/Rust): reference-ownership correctness, stable-ABI use, buffer-protocol safety, exception translation, and thread/GIL and free-threaded readiness. Reads extension source and build config only; never compiles or runs it.",
  "source_type": "original",
  "official_docs": [
    "https://docs.python.org/3/c-api/intro.html",
    "https://docs.python.org/3/c-api/stable.html",
    "https://docs.python.org/3/c-api/refcounting.html",
    "https://docs.python.org/3/c-api/buffer.html"
  ],
  "security_notes": "Static review only — reads C/Cython/PyO3 extension source and build configuration to assess reference-ownership, buffer-protocol, exception-translation, and ABI/thread-safety correctness; never compiles, links, or runs the extension. A claim about an actual crash, leak, or free-threaded behavior is flagged as needing confirmation by compiling and running the extension. Never requests credentials or customer data.",
  "last_verified": "2026-07-26",
  "path": "skills/python/python-native-extension-interop",
  "author": "github: VincentChuWaiChow"
}
