import-organizer

Organize and sort import statements across multiple programming languages.

6|2|Updated Oct 31, 2025
One-click install
npx skills add https://github.com/Dexploarer/claudius-skills --skill import-organizer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: import-organizer
Source: https://github.com/Dexploarer/claudius-skills/tree/main/examples/beginner/simple-skills/import-organizer
Command: npx skills add https://github.com/Dexploarer/claudius-skills --skill import-organizer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Messy, unorganized import statements clutter code, make it harder to read, and can lead to merge conflicts. This Skill automatically sorts and groups imports, ensuring consistent and clean code without manual effort.

Core Features & Use Cases

  • Multi-Language Support: Organizes imports for JavaScript/TypeScript and Python, adhering to language-specific conventions.
  • Smart Grouping & Sorting: Groups imports by source (external, internal, types) and sorts them alphabetically within each group, removing duplicates.
  • Use Case: "Organize all import statements in src/App.js to follow standard JavaScript conventions."

Quick Start

Organize the imports in the file 'src/components/MyComponent.js'.

Frequently Asked Questions about import-organizer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I organize and sort import statements in my code files?

Import organization automatically groups and sorts imports by source—external, internal, and type imports—then removes duplicates and applies language-specific conventions. It reads your file, reorganizes imports alphabetically within each group, and updates the file with clean, consistent formatting.

Does import organization work with JavaScript, TypeScript, and Python?

Yes, import organization supports JavaScript, TypeScript, Python, Java, Go, Rust, and other languages. Each language follows its own conventions for grouping and sorting imports while maintaining code readability and eliminating merge conflicts.

Can import organization remove duplicate imports and clean up messy import statements?

Yes, it identifies and eliminates duplicate imports while reorganizing messy statements into clean groups. The Skill also preserves comments and applies standardized sorting, so your imports follow best practices without manual effort.

What's the best way to fix unorganized imports that cause merge conflicts?

Import organization groups imports by source and sorts them consistently, eliminating the merge conflicts that arise from unorganized, duplicated statements. Applying this across your codebase ensures everyone follows the same import structure.

How does import grouping improve code quality and readability?

Organized imports group external libraries, internal modules, and type imports separately, then sort each group alphabetically. This structure reduces cognitive load when reading code, makes dependencies immediately visible, and prevents duplication.

Can I apply import organization to a single file or entire project?

You can organize imports in individual files like `src/App.js` or `src/components/MyComponent.js`, or run the Skill across your entire project. It processes each file independently while applying consistent language-specific conventions.