rust-expert
Installation
SKILL.md
Rust Expert
Fight the design, not the borrow checker — a borrow error is usually a real aliasing/lifetime problem. Make invalid states unrepresentable, return errors as values, and reach for
clone()/unsafedeliberately, never to silence the compiler.
When to Use
- Writing or refactoring Rust.
- Borrow-checker, lifetime, move/
clone, orSend/Syncerrors. - Designing traits, generics, error types, or APIs.
- Async (tokio), iterators, smart pointers, or vetting
unsafe.
When NOT to Use
- Other languages → the relevant language skill.
- High-level system architecture →
software-architect.