AGENT SKILL

isort

Use this skill when the user wants to sort Python imports, organize imports alphabetically, fix import order, or clean up Python imports.

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

01 前言 Front Matter

name
isort
description
Use this skill when the user wants to sort Python imports, organize imports alphabetically, fix import order, or clean up Python imports.

03 SKILL.md 正文

isort Plugin

Python import sorter.

Commands

Sort

  • isort sort check — Check import sorting (dry run)
  • isort sort write — Sort imports in-place

Usage Examples

  • "Sort imports in this Python file"
  • "Check if imports are sorted correctly"
  • "Organize imports in the whole project"
  • "Fix import ordering"

Installation

pip install isort

Examples

# Sort imports in-place
isort .

# Check only
isort --check-only .

# Show diff
isort --check-only --diff .

# Profile for black compatibility
isort --profile black .

# Force single line
isort --force-single-line-imports .

04 同仓库更多 Skills