rust-best-practices
✓Rust coding best practices based on Microsoft Pragmatic Rust Guidelines. ALWAYS invoke before writing or modifying Rust code. Covers error handling, API design, performance, and idiomatic patterns.
Installation
SKILL.md
Based on Microsoft Pragmatic Rust Guidelines and Rust community standards.
| unwrap() everywhere | ? operator with proper error types | | clone() to satisfy borrow checker | Restructure code, use references | | Box | Concrete error types with thiserror | | String for all text | &str, Cow , or domain types | | Manual Drop for cleanup | RAII with struct destructors | | unsafe without justification | Safe abstractions first |
| Arc > overuse | Message passing, channels | | Blocking in async context | spawnblocking for CPU work |
Rust coding best practices based on Microsoft Pragmatic Rust Guidelines. ALWAYS invoke before writing or modifying Rust code. Covers error handling, API design, performance, and idiomatic patterns. Source: majiayu000/claude-arsenal.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/majiayu000/claude-arsenal --skill rust-best-practices- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is rust-best-practices?
Rust coding best practices based on Microsoft Pragmatic Rust Guidelines. ALWAYS invoke before writing or modifying Rust code. Covers error handling, API design, performance, and idiomatic patterns. Source: majiayu000/claude-arsenal.
How do I install rust-best-practices?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/majiayu000/claude-arsenal --skill rust-best-practices Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/majiayu000/claude-arsenal
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01