Skip to main content
Run any Skill in Manus
with one click

refactor-idiomatic-rust

Stars87
Forks15
UpdatedMay 28, 2026 at 08:19

Refactor Rust code toward idiomatic patterns โ€” generics vs dyn, associated vs generic trait parameters, enum dispatch, extension traits, closure bounds, iterator combinators, API ergonomics (Into/AsRef/Cow), and clean error propagation. Use when the user asks to make code more idiomatic, clean up a function, choose between dispatch strategies, or tighten an API surface.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly