Codex Chan Rust Async Review for Mutex Guard Scope
Review ownership, await boundaries and shared state using Chan's Rust conventions.
中文Install in Codex
Open Chan in Codex with the repository's pinned Rust toolchain and the async path being reviewed.
- Review `.agents/skills/rustacean/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.agents/skills/rustacean/` in your project and save the reviewed file as `.agents/skills/rustacean/SKILL.md`.
- Start Codex from that project's root, then type `$rustacean` and select the matching skill.
Example task
Review the illustrative list snapshot operation.
{"guard":"labels mutex","value":"clone labels","next":"format asynchronously","holdsAcrossAwait":true}What to check
Take the snapshot in a short scope and require `guard=dropped before await` before asynchronous formatting.
Original SKILL.md on GitHub · Updated
Frequently asked question
Should internal Rust methods be public?
Match visibility to the actual callers. Give public symbols a clear purpose and documentation.