import-organizer — Claude Code plugin: organize and sort imports
The import-organizer plugin automatically organizes, sorts, and cleans up import statements in your code. Saves time on manual refactoring and keeps imports consistent across files.
Apache-2.0 ★ 2,858 updated 2026-05-12
/plugin marketplace add rohitg00/awesome-claude-code-toolkit
/plugin install import-organizer@claude-code-toolkitWhat import-organizer does
import-organizer handles the tedious work of tidying import statements. It groups imports by type, sorts them alphabetically, and removes unused lines. Helpful when a file has accumulated many imports and their order has become chaotic.
The plugin runs directly in Claude Code as an editor integration. You can apply it to a single file or across your entire project. The result is clean, readable code that follows a predictable import order.
What it helps with
- remove duplicate import statements
- sort imports into a standard order
- delete unused imports from a file
- standardize import formatting across multiple files
Example prompts for the agent
- Organize the imports in this file
- Clean up imports and remove unused ones
- Sort all imports throughout the project
How to install import-organizer
Plugin marketplace
/plugin marketplace add rohitg00/awesome-claude-code-toolkit/plugin install import-organizer@claude-code-toolkitStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about import-organizer
How do I install import-organizer in Claude Code?
Run two commands in sequence: /plugin marketplace add rohitg00/awesome-claude-code-toolkit, then /plugin install import-organizer@claude-code-toolkit.
What does import-organizer do?
It organizes your imports by sorting them, removing duplicates and unused statements. Your code becomes cleaner and easier to scan.
Does import-organizer work with all programming languages?
The plugin is built for JavaScript and TypeScript. Check the repository for details on support for other languages.
Source text
import-organizer · Apache-2.0
Organize, sort, and clean import statements
© rohitg00 · Apache-2.0 · rohitg00/awesome-claude-code-toolkit