refactor-codebase

Community

End-to-end Rust codebase refactoring automation.

Authorcychen2021
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Comprehensive Rust codebase refactoring and maintenance to improve architecture, reduce duplication, and enhance module organization, combining automated formatting, linting, and documentation checks.

Core Features & Use Cases

  • Structural analysis and refactoring to optimize architecture and extract shared helpers.
  • Automated fixes: formatting with cargo fmt, applying compiler fixes with cargo fix, and clippy linting.
  • Documentation and verification: cargo doc and cargo test to ensure API/docs alignment and test stability, with guidance for periodic maintenance.

Quick Start

Run the refactoring script to execute all automated checks end-to-end.

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: refactor-codebase
Download link: https://github.com/cychen2021/claude-skills/archive/main.zip#refactor-codebase

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.