rust-idioms
CommunityRust idioms and anti-patterns for safer code.
Authorgregoryraymond
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps teams spot Rust ownership and borrowing pitfalls, avoid common anti-patterns, and explain why certain patterns are preferred in code reviews.
Core Features & Use Cases
- Illustrates common anti-patterns: excessive clone, unwrap in production, Rc/Arc misuse, and unnecessary String usage.
- Provides mental models for safe Rust design and maintainable APIs.
- Supports onboarding and code-review coaching for developers coming from Java/C++/Python/JS.
Quick Start
Explain a Rust code snippet by identifying the relevant idioms and anti-patterns it exhibits.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rust-idioms Download link: https://github.com/gregoryraymond/claude-agents-and-skills/archive/main.zip#rust-idioms Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.