rust-conventions
CommunityWrite idiomatic Rust with confidence.
Software Engineering#documentation#ownership#rust#clippy#borrowing#error-handling#coding-conventions
Authorjsamuelsen11
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Rust projects often suffer from inconsistent conventions, verbose boilerplate, and subtle safety pitfalls. This skill codifies idiomatic Rust patterns, ownership and borrowing best practices, and robust error handling guidance to help teams write reliable, maintainable code.
Core Features & Use Cases
- Enforces ownership and borrowing best practices to minimize unnecessary cloning and improve performance.
- Provides guidance on error handling with thiserror for libraries and anyhow for applications.
- Standardizes module organization, documentation rules, and naming conventions to improve readability and maintainability.
- Use Case: refactor a Rust project to align with community guidelines and pass Clippy with minimal changes.
Quick Start
Review the conventions document and start refactoring a Rust project to align with idiomatic patterns.
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-conventions Download link: https://github.com/jsamuelsen11/claude-config/archive/main.zip#rust-conventions 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.