code-review-python
2
总安装量
2
周安装量
#68546
全站排名
安装命令
npx skills add https://github.com/ssiumha/dots --skill code-review-python
Agent 安装分布
opencode
2
gemini-cli
2
claude-code
2
github-copilot
2
codex
2
kimi-cli
2
Skill 文档
Python Type Safety Review
Python ì½ëì íì íí¸ì íì ìì ì±ì ê²ì¦íë ì²´í¬ë¦¬ì¤í¸.
Checks
Critical
- Any overuse:
typing.Anyë¨ì©ì¼ë¡ íì ìì ì± ë¬´ë ¥í - Type ignore abuse:
# type: ignoreì ë¹í ì¬ì ìì´ ì¬ì© - Untyped public APIs: public í¨ì/ë©ìëì íì ì´ë ¸í ì´ì ëë½
High
- Missing function signatures: íë¼ë¯¸í°/ë°í íì ëë½
- Missing return types:
-> ReturnTypeì´ë ¸í ì´ì ìì - Generic collections:
list,dictëìlist[T],dict[K, V]ì¬ì© - Optional handling: nullable ê°ì
Optional[T]ëëT | None미ì¬ì©
Medium
- Incomplete annotations: typed/untyped íë¼ë¯¸í° í¼ì¬
- Type compatibility: í ë¹ ì íì ë¶ì¼ì¹
- Import issues:
typing모ë import ëë½
Detection Patterns
# Critical
Any # typing.Any ì¬ì©
# type: ignore # íì
ìë¬ ìµì
def public_func(data): # íì
ìë public í¨ì
# High
def func(x): # íë¼ë¯¸í° íì
ëë½
def func() -> None: # ë°í íì
íì¸
list, dict # Generic 미ì¬ì© (3.9+ 기ì¤)
Output
code-reviewer 리뷰 ê²°ê³¼ì Issues ì¹ì
ì íµí©:
[Critical/High/Medium] íì¼:ë¼ì¸ – íì´í 문ì â ìì ìì