Skip to main content

codingfix-from-imports

Replace "from X import Y" style imports with "import X" and update usages throughout a file

소스 정보

저장소
causify-ai/helpers
최근 소스 활동
2026년 2월 28일 18:01
감지된 SKILL.md 언어
영어
스타
146
포크
162

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
coding.fix_from_imports
description
Replace "from X import Y" style imports with "import X" and update usages throughout a file
- Replace any Python statement like `from X import Y` with the form `import X` and then replace the uses of `Y` with `X.Y` - For aliased imports `from X import Y as Z`, convert to `import X` and replace all uses of `Z` with `X.Y` - For nested module imports `from X.Y import Z`, convert to `import X.Y` and replace all uses of `Z` with `X.Y.Z` - The only ones that can stay as `from X import Y` are: ``` from __future__ import annotations from typing import Any, Dict, List, Optional, Tuple, Union, ... (any typing name) from IPython.display import display ```
GitHub에서 보기