convert-cpp-rust - Convert C++ code into idiomatic Rust
Converts C++ code to idiomatic Rust through type and idiom mappings, ownership-aware error handling, generics, and FFI strategies.
Tags
Updated: 2026-12-05Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Analyze C++ lifetimes
- Map C++ types
- Translate C++ idioms
- Handle exceptions with Result
- Apply ownership and borrowing
- Integrate C++ and Rust via cxx
- Translate templates to generics
- Test behavioral equivalence
Inputs
- C++ source code
- C++ project
Outputs
- Idiomatic Rust code
- C++/Rust FFI code
Requirements
- meta-convert-dev skill
