rust-auto-fixer

Community

Auto-fix Rust code via compilation.

AuthorDevelata
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automates detection and correction of Rust compilation errors by running cargo check on user-provided code and applying targeted fixes.

Core Features & Use Cases

  • Automated compile-and-fix loop: runs cargo check, analyzes errors, and iteratively applies fixes up to 3 attempts.
  • Automatic dependency detection based on use statements, with enhanced defaults for common crates.
  • Rustfmt formatting on successful compilation to ensure clean output.
  • Use case: Validate and repair code generated by an AI assistant or draft Rust snippets that wouldn't compile.

Quick Start

Provide your Rust code snippet and let the tool run cargo check to auto-detect dependencies, fix errors, and produce a compiled, formatted result.

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-auto-fixer
Download link: https://github.com/Develata/Deve-Skills/archive/main.zip#rust-auto-fixer

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.