standards-rust

Community

Idiomatic Rust guidance for safe, ergonomic APIs

Authorgdurandvadas
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Ensures Rust code and crate APIs are safe, idiomatic, and maintainable by providing concrete guidance on ownership, borrowing, trait design, error handling, generics, and project structure so that invalid states are prevented at compile time.

Core Features & Use Cases

  • Provides idiomatic patterns for ownership and borrowing, lifetime annotations, and smart pointer selection.
  • Recommends trait and generic design, static vs dynamic dispatch, and object safety considerations.
  • Defines error-handling strategies for libraries and applications with structured errors and propagation best practices.
  • Prescribes formatting, linting, and CI checks including rustfmt and clippy to enforce code quality.
  • Use cases: code reviews, API/crate design decisions, onboarding contributors, and preparing crates for publication.

Quick Start

Run a review of the provided Rust code and produce safety-first, idiomatic recommendations focused on ownership, lifetimes, trait design, error handling, and formatting.

Dependency Matrix

Required Modules

None required

Components

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: standards-rust
Download link: https://github.com/gdurandvadas/dotfiles/archive/main.zip#standards-rust

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.