idiomatic rust skills

28 tagged idiomatic rust, measured the same way as everything else here.

Browse within: ai-coding-skills 28rust 28rust-lang 28

port-from-c

01

rewrite-rs/skills

Skill Claude CodeCodex

Port C into Rust — recovering the ownership, lifetime, nullability, and length that C never recorded, mapping pointers to references and slices, tag-plus-union to enums, return codes and errno to Result, and linking Rust into the existing build with bindgen and cbindgen. Use when porting, rewriting, or migrating C, a…

1 15d ago A 127 tokens original BSD-3-Clause

port-from-cpp

02

rewrite-rs/skills

Skill Claude CodeCodex

Port C++ into Rust — RAII and smart pointers onto ownership, templates onto generics and traits, exceptions onto Result, the STL onto Rust collections, and the traps (move semantics, implicit conversions, undefined behaviour, iterator invalidation). Use when porting, rewriting, or migrating C++, a C++ library, or a…

1 15d ago A 119 tokens original BSD-3-Clause

port-from-java

03

rewrite-rs/skills

Skill Claude CodeCodex

Port Java into Rust — class hierarchies onto enums and composition, exceptions onto Result, collections and streams onto Rust equivalents, and the traps (UTF-16 strings, silent integer wraparound, null, equals/hashCode contracts). Use when porting, rewriting, or migrating Java, a JVM service, a Spring or Jakarta…

1 15d ago A 105 tokens original BSD-3-Clause