clean-code-rust

Community

Refactor Rust for clarity and safety.

Authorwnz99
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you improve Rust code that is correct but hard to read, maintain, or extend, especially when ownership, borrowing, or error handling makes the design feel heavier than it should.

Core Features & Use Cases

  • Targeted Refactoring: Simplifies local Rust code without expanding scope or changing intended behavior.
  • API and Ownership Clarity: Reduces unnecessary clones, clarifies borrowing boundaries, and improves type shape when it genuinely helps the domain.
  • Maintainability Reviews: Flags overgrown functions, confusing control flow, weak error surfaces, and accidental complexity in crates or libraries.
  • Use Case: Use this Skill when a Rust module works but would benefit from a cleaner API, clearer state transitions, or more idiomatic error handling before the codebase becomes harder to evolve.

Quick Start

Ask the agent to review your Rust code for readability and maintainability improvements while preserving behavior and crate conventions.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: clean-code-rust
Download link: https://github.com/wnz99/claude-skills/archive/main.zip#clean-code-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 537,000+ vetted skills library on demand.