What it does
Alef automates generating language bindings for Rust libraries from a single configuration file (alef.toml). It extracts APIs, emits typed stubs and scaffolding, orchestrates multi-language builds, and produces e2e test fixtures. Alef supports 16 backends (Python, TypeScript/Node, WASM, Ruby, PHP, Go, Java, C#, Kotlin, Elixir, R, Swift, Dart, Zig, C) and includes commands for verify, build, test, and publishing.
When to use it
- Initialising or migrating an existing Rust crate to produce polyglot bindings (alef init, alef migrate).
- Regenerating bindings after changing Rust APIs (alef generate, alef verify).
- Setting up CI checks to fail on stale generated outputs (alef verify --exit-code).
- Building and publishing language-specific packages produced by the generator.
What's included
- Scripts: none bundled in the skill (installation instructions provided).
- References: configuration docs, CLI reference, e2e testing, language backend guides, adapter patterns, and troubleshooting notes under references/.
- Instructions: quick-start commands (init, generate, build, test, verify, publish), configuration examples for alef.toml and migration guidance.
Compatible agents
Tools-capable agents that can run cargo, shell commands, and edit repo files (CI/automation bots, developer assistants with shell access).
Not yet audited
This skill has not been reviewed by our automated audit pipeline yet.