원클릭으로
lint-python
Run Python lint tools, then check custom coding rules. Severity labels in Japanese.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run Python lint tools, then check custom coding rules. Severity labels in Japanese.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Run JavaScript/React lint tools, then check custom coding rules. Severity labels in Japanese.
Run shell lint tools, then check custom coding rules. Severity labels in Japanese.
Run TypeScript/React lint tools, then check custom coding rules. Severity labels in Japanese.
Generates commit messages and checks code quality for staged changes. Prefer gcmA alias for fast use.
SOC 직업 분류 기준
| name | lint-python |
| description | Run Python lint tools, then check custom coding rules. Severity labels in Japanese. |
| allowed-tools | bash, write, edit |
Detect available tools (make, poetry, isort, autopep8, pyright, flake8, pycodestyle) and choose ONE branch:
Branch A — Makefile has lint: target:
[ -f .env ] && . ./.env; make lint 2>&1
Branch B — Poetry project ([tool.poetry] in pyproject.toml):
poetry run isort . 2>&1 || true
poetry run autopep8 --in-place --recursive . 2>&1 || true
poetry run pyright 2>&1 || true
poetry run flake8 --exclude=.venv,*/.venv/* . 2>&1 || true
Branch C — system tools only:
command -v autopep8 >/dev/null 2>&1 \
&& autopep8 --in-place --recursive . 2>&1 || true
command -v pycodestyle >/dev/null 2>&1 \
&& pycodestyle --max-line-length=79 \
$(find . -maxdepth 5 -name '*.py' \
! -path '*/.venv/*' ! -path '*/__pycache__/*') 2>&1 || true
Then review source files and scan custom rules (fix iteratively):
[高] Must fix:
typing.Dict/List/Tuple/Union (use dict[]/list[]/tuple[]/Optional[X])typing.Any — allowed when no other type exists; never omit annotations to avoid it{} for empty dict (use dict()), [] for empty list (use list())X | None syntax (use Optional[X])# ----------------------------------------------------------------------------- (79 chars)[中] Should fix:
( alone at end of line) at column 0 before -> ReturnType:from pathlib import Path (use import os.path as osp)Print summary:
==================================================
Lint complete (Python)
==================================================
Files checked : <N>
[高] Critical : <N>
[中] Important : <N>
[低] Minor : <N>
==================================================