Skill / SKILL.md

Rust Concurrency

rewrite-rs/skills

Pick the concurrency model from the workload shape — rayon for data parallelism, scoped threads for borrowed stack data, channels for handoff, shared state last — and use the weakest correct atomic ordering. Use when writing or reviewing threaded Rust, when Mutex, RwLock, atomics, or manual Send/Sync appear, when a deadlock or data race is suspected, or when the user asks how to parallelize Rust code.
2 views 29 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Pick the concurrency model from the workload shape — rayon for data parallelism, scoped threads for borrowed stack data, channels for handoff, shared state last — and use the weakest correct atomic ordering. Use when writing or reviewing threaded Rust, when Mutex, RwLock, atomics, or manual Send/Sync appear, when a deadlock or data race is suspected, or when the user asks how to parallelize Rust code.

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/rust-concurrency directory with your client’s skill installer.

  • skills/rust/rust-concurrency

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/rust/rust-concurrency

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
ef7c60acc70e8e8a8e694381ebf1a57aec43c4851ba1757d89f47676b426d750
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills