Rust Import Cleaner banner
ahtavarasmus ahtavarasmus

Rust Import Cleaner

Development community

Description

--- 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<example>\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

Installation

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.

Full documentation available on GitHub

View Source Repository