vulturepython
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "vulturepython" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-3b6d6cfe6a17c1cb52a3943176e5d3967368ec3aec893e04d4d49e0f9a574d46. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/find-unused-python-code-before-cleanup-refactors-with-vulture before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Run dead-code detection on a Python codebase before refactoring so an agent can identify unused functions, classes, imports, and variables instead of removing them blindly.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Software, accounts and paid services
- Python 3, pip, Vulture CLI
- Testing
- Not tested
Browse files
Frontmatter
name: "在清理重构之前使用 Vulture 查找未使用的 Python 代码"
slug: "find-unused-python-code-before-cleanup-refactors-with-vulture"
version: "1.0.0"
displayName: "在清理重构之前使用 Vulture 查找未使用的 Python 代码"
summary: "在重构之前对Python代码库运行死代码检测,以便智能体能够标记未使用的函数、类、导入和变量,而不是盲目删除。"
license: "MIT"
description: "在重构之前对Python代码库运行死代码检测,以便智能体能够标记未使用的函数、类、导入和变量,而不是盲目删除。"
github_stars: 4521
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 4521在清理重构之前使用 Vulture 查找未使用的 Python 代码
Run a dead-code pass on Python repositories before refactors so agents can flag unused functions, classes, imports, and variables instead of deleting blindly.
Prerequisites
Python 3, pip, Vulture CLI
Installation
Use the upstream install or setup path that matches your environment:
- $ pip install vulture
- make some modifications.
- make it harder to read.
Requirements and caveats from upstream:
- Vulture finds unused code in Python programs. This is useful for
- Due to Python's dynamic nature, static code analyzers like Vulture are
Basic usage or getting-started notes:
-
cleaning up and finding errors in large code bases. If you run Vulture
-
$ vulture myscript.py # or
-
$ python3 -m vulture myscript.py
-
Extracted from upstream docs: https://raw.githubusercontent.com/jendrikseipp/vulture/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供在重构前使用 Vulture 检测 Python 死代码的能力,适用于代码清理场景,具有明确实用价值
Areas to improve
-
触发词不全 Reported severity: Minor
description 明确描述了使用 Vulture 进行死代码检测的场景,但缺少具体触发条件示例,存在轻微歧义
Recommendation: 补充具体触发条件示例,如 '当需要对 Python 代码库进行重构前的死代码检测时'
Areas to improve
-
缺少 When to Use/示例章节 Reported severity: Minor
文档缺少清晰的 Phase/步骤划分、端到端示例和出口条件
Recommendation: 补充 When to Use 章节和端到端示例,明确执行步骤和出口条件
Areas to improve
-
异常处理不足 Reported severity: Minor
未覆盖主要异常(如 Vulture 安装失败、Python 版本不兼容等),无确认机制
Recommendation: 补充异常处理说明,如 Vulture 安装失败时的回退方案,以及不可逆操作前的确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 32
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- img.shields.io
- pypi.python.org
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Python 3, pip, Vulture CLI
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.