polyglot-bindings

Official

Build language bindings for Rust.

Authorkreuzberg-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides patterns and guidance for creating and maintaining language bindings around a Rust core library, simplifying cross-language development.

Core Features & Use Cases

  • Type Mapping: Handles conversion between Rust types and host language types.
  • Error Handling: Manages conversion of Rust Results into host language exceptions.
  • Memory Management: Integrates Rust's memory management with host language garbage collection or reference counting.
  • Concurrency Adaptation: Bridges Rust's concurrency models (like Tokio) with host language runtimes.
  • Use Case: A Rust library for high-performance image processing needs to be accessible from Python. This Skill's patterns ensure a smooth, idiomatic Python API is created, handling all the underlying complexities.

Quick Start

Use the polyglot-bindings skill to generate a Python binding for a Rust function that calculates prime numbers.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: polyglot-bindings
Download link: https://github.com/kreuzberg-dev/html-to-markdown/archive/main.zip#polyglot-bindings

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.