public/codex/skills/languages/python/SKILL.md
Python rules for scripts, services, CLIs, and typed data boundaries: type hints, pathlib, f-strings, dataclasses or TypedDict, specific exceptions, resource safety, and no index-based loops.
npx skillsauth add jungho-git/jllm pythonInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this rule when:
.py filesPython changes should keep typed boundaries explicit and resource handling safe.
uv: uv run --no-project --python "%PYTHON_HOME%/python.exe" python.python only when checking compatibility or when an external tool requires it.uv python install cpython3.14.pathlib.Path over os.path.dataclass or TypedDict over unstructured dicts for structured data.except:; catch specific exceptions.with statements for resources.for i in range(len(items)); use direct iteration, enumerate(), or zip().None where a typed value is expected unless the signature says so.Optional[T] or T | None and check before use.PascalCase for classes, snake_case for functions and variables, and UPPER_SNAKE_CASE for constants.if x: return.None handlingtesting
Required phase order for non-trivial tasks: Plan, Explore, Implement, Verify, Finalize. Use for multi-step work, scoped exploration, re-planning, validation, and final synthesis.
development
Final response format: Korean-first, concise Process / Checks / Issues / Updates, optional Usage, with only actual changes, actual validation, real blockers, changed files, and measured token data when available.
development
Smallest complete change rule: preserve local code shape, extend existing patterns, avoid speculative extraction or cleanup, and include required coupled updates for correctness.
development
Code comment policy: numbered one-line `―` dividers for touched declarations and logical sections, paired outer blocks only for long regions, concise purpose comments, and no comment churn.