format_rust
CommunityClippy-aligned Rust that stays clean.
Software Engineering#refactoring#rust#code formatting#clippy#borrowing#string handling#result option idioms
Authortheafh
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you write or edit Rust code so it conforms to clippy-aligned best practices, improving clarity, safety, and maintainability while reducing warning noise.
Core Features & Use Cases
- Clippy-driven improvements: chooses the simplest correct Rust patterns that naturally satisfy clippy, turning warnings into actionable refinement.
- Rust idioms for Results and Options: uses direct
Resultflow and idiomaticOptionpredicates likeis_some_andto keep control flow clear. - Maintainable code structure: encourages small single-purpose functions, necessary imports only, borrow-scope clarity, and grouped function signatures via structs/config types.
Use case: You have a Rust module that builds but produces clippy warnings; apply this Skill to refactor it into idiomatic, warning-clean code with clearer data flow and safer string/borrowing behavior.
Quick Start
Ask the AI to apply the format_rust guidelines to the Rust file you’re editing and return a clippy-aligned revision.
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: format_rust Download link: https://github.com/theafh/ai-modules/archive/main.zip#format-rust 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.