remove-deadcode-py

Installation
SKILL.md

Remove Dead Code (Python)

删除 Python 项目中的未用代码。检测靠工具,定罪靠证据,删除分小批,不追求一次清零。

本 skill 是全仓清理的按需入口,不做任务收尾(收尾走 cleanup)。方法思路受 code-yeongyu/oh-my-openagent 的 remove-deadcode 启发(未复制文本),工具行为以 vulture/Ruff/deptry 官方文档为准。非 Python 生态的全仓扫描不在本 skill 范围:JS/TS 用 knip,Go 用 go tool deadcode,Rust 用 cargo-machete。

流程

Installs
3
GitHub Stars
3
First Seen
Sep 17, 2026