Skill / SKILL.md

Idiomatic Rust

rewrite-rs/skills

Write Rust that reads like Rust — iterator pipelines over index loops, From/Into over ad-hoc converters, derives over hand-written impls, newtypes over bare primitives. Use when writing new Rust, when reviewing Rust that reads like a translation from another language, when reaching for a classic design pattern (strategy, command, visitor) or a try/finally cleanup in Rust, when naming a constructor, accessor, iterator, or error type, or when the user asks how to make Rust code more idiomatic or less repetitive.
2 views 29 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Write Rust that reads like Rust — iterator pipelines over index loops, From/Into over ad-hoc converters, derives over hand-written impls, newtypes over bare primitives. Use when writing new Rust, when reviewing Rust that reads like a translation from another language, when reaching for a classic design pattern (strategy, command, visitor) or a try/finally cleanup in Rust, when naming a constructor, accessor, iterator, or error type, or when the user asks how to make Rust code more idiomatic or less repetitive.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/rewrite-rs/skills' skill-source

Use the complete skill-source/skills/rust/idiomatic-rust directory with your client’s skill installer.

  • skills/rust/idiomatic-rust

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/rust/idiomatic-rust

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
fc49282b36f072aa9dac3fa562ac5c303be0dd359803888d7f1b10a61d00e0e6
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills