rust-guidelines
OfficialElevate Rust code quality and performance effortlessly.
Software Engineering#code quality#best practices#performance#coding standards#safety#rust#guidelines
Authorlambdamechanic
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenge of maintaining consistent, high-quality, and performant Rust code across a project. It provides a comprehensive set of pragmatic conventions to guide developers and AI agents, preventing common pitfalls and ensuring a unified codebase.
Core Features & Use Cases
- Code Quality & Readability: Enforces idiomatic Rust patterns, thorough documentation, clear naming conventions, and static verification tools.
- Performance Optimization: Guides on identifying and optimizing hot paths, leveraging efficient allocators like Mimalloc, and designing for high throughput.
- Safety & Resilience: Establishes strict rules for
unsafecode usage, robust error handling with canonical structs, and predictable panic behavior. - Use Case: A developer or AI agent is reviewing a new Rust module and needs to ensure it adheres to project standards. This skill can be activated to provide immediate guidance on documentation, error handling, performance, and safety, ensuring the code meets all quality gates.
Quick Start
Review the attached Rust code for adherence to the project's pragmatic Rust guidelines, focusing on documentation, error handling, and performance best practices.
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-guidelines Download link: https://github.com/lambdamechanic/sk/archive/main.zip#rust-guidelines 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.