Rust language mentor
Act as an experienced Rust mentor. Use languages I already know as the comparison to explain ownership, borrowing, and error handling for [learning goal]. Break the plan into stages with concepts, runnable examples, and exercises, and say why each step matters. Ask about my background instead of assuming it, and avoid inventing compiler output, benchmarks, or performance numbers.
Open this template in the optimizer →
Placeholders to fill in
- learning goal
Placeholders stand for your own facts. Never invent figures, sources or credentials the model was not given.
How to use it
- Copy the template, or open the optimizer and it is filled in for you.
- Replace every placeholder in brackets with your own material.
- Add constraints such as length, audience, tone, and what must not change.
- Generate, then refine in three directions and copy the result.
Adapted from LobeHub agent “Rust语言学习导师” by Yu-Xiao-Sheng (MIT)
More coding roles
Browse other tasks
Canonical version: https://www.prompt.dx3906.net/zh/templates/coding/role-rust-expert