python-dead-code

Community

Eliminate unused Python code.

Authoracaprino
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers identify and remove dead or unused code in Python projects, improving code quality, reducing maintenance overhead, and preventing potential bugs.

Core Features & Use Cases

  • Detects Unused Code: Identifies unused imports, variables, functions, and classes.
  • Framework Aware: Handles false positives common in frameworks like Django, FastAPI, and pytest.
  • CI/CD Integration: Easily integrates into GitHub Actions or pre-commit hooks for automated checks.
  • Use Case: Before deploying a new version of your Python application, use this Skill to ensure no leftover, unused code is present, making the codebase cleaner and more efficient.

Quick Start

Use the python-dead-code skill to scan the current directory for unused Python code.

Dependency Matrix

Required Modules

vultureruff

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: python-dead-code
Download link: https://github.com/acaprino/anvil-toolset/archive/main.zip#python-dead-code

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.