概要
The Idiomatic Rust skill is designed to assist developers in porting legacy C code to Rust without falling into the trap of 'writing C in Rust.' It provides architectural guidance on moving logic into struct methods, using the newtype pattern to prevent unit errors, and replacing ambiguous boolean flags with expressive enums. By treating the original C source as a behavioral specification rather than a template, this skill ensures that ported projects like pikru remain maintainable, safe, and true to Rust's unique design philosophy.