rust-coding

Community

Master Rust coding conventions.

Authorhuiali
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers write idiomatic, maintainable, and high-quality Rust code by enforcing best practices in naming, formatting, error handling, and API design.

Core Features & Use Cases

  • Idiomatic Code: Learn and apply Rust-specific naming conventions (snake_case, CamelCase, SCREAMING_SNAKE_CASE) and conversion method patterns (as_, to_, into_).
  • Code Quality: Integrate clippy and rustfmt for linting and formatting checks, ensuring consistency and catching potential issues early.
  • API Design: Understand principles for ergonomic APIs, such as accepting &str and slices, and using newtypes for domain semantics.
  • Use Case: When writing a new Rust module, use this Skill to ensure your function and type names are clear, your code is formatted correctly, and common pitfalls like unnecessary clone() calls are avoided.

Quick Start

Use the rust-coding skill to review a Rust code snippet for idiomatic conventions and potential issues.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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-coding
Download link: https://github.com/huiali/rust-skills/archive/main.zip#rust-coding

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.