ahtavarasmus

Rust Import Cleaner — Development agent for Claude Code

Development community

Use this agent when the user wants to remove unused imports from Rust code to eliminate compiler warnings.

How to install Rust Import Cleaner

Installs to ~/.claude/agents/ahtavarasmus-lightfriend-rust-import-cleaner.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/ahtavarasmus/lightfriend/HEAD/.claude/agents/rust-import-cleaner.md -o ~/.claude/agents/ahtavarasmus-lightfriend-rust-import-cleaner.md

Restart Claude Code, or start a new session, for it to be picked up.

What Rust Import Cleaner does


name: rust-import-cleaner description: Use this agent when the user wants to remove unused imports from Rust code to eliminate compiler warnings. This agent should be invoked proactively after code refactoring, when compilation produces unused import warnings, or when the user explicitly requests import cleanup. Examples:\n\n\nContext: User has just refactored a handler and wants to clean up the codebase.\nuser: "I just refactored the auth handlers, can you check for any unused impo

Alternatives in Development

  • Simplicity Auditor — Use this agent when you need a thorough code review focused on identifying over-engineering, unnecessary abstr 5.2k ★
  • Build Checker — Verifies compilation status 512 ★
  • Clean Code Refactor — Use this agent when you need to refactor existing code, rewrite a module for better maintainability, decompose 358 ★

Full documentation available on GitHub

View Source Repository