Claude Skill

Audit Python dependency declarations for unused, missing, and transitive imports before release

Use Deptry when an agent needs to verify that a Python project's declared dependencies still match the imports the code actually uses. The agent scans the codebase, flags unused direct dependencies, missing declarations, and transitive imports that only work by accident, then tur

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Virus-scanned Reviewed automatically before listing.

Full trust report

Download agentskillexchange-skills-skills_audit-python-dependency-declarations-before-release-07beb56.zip · 1 KB
Part of agentskillexchange/skills — 249 skills

Install

skills CLI npx skills add https://github.com/agentskillexchange/skills/tree/main/skills/audit-python-dependency-declarations-before-release
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install agentskillexchange-skills@llmmart
Git git clone https://github.com/agentskillexchange/skills.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole agentskillexchange/skills collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Audit Python dependency declarations for unused, missing, and transitive imports before release

Use Deptry when an agent needs to verify that a Python project's declared dependencies still match the imports the code actually uses. The agent scans the codebase, flags unused direct dependencies, missing declarations, and transitive imports that only work by accident, then turns the findings into cleanup commits or release blockers.

Prerequisites

Python plus Deptry configured against the target repository

Installation

Use the upstream install or setup path that matches your environment:

  • uv add --dev deptry
  • pip install deptry

Requirements and caveats from upstream:

  • Supported Python versions
  • deptry is a command line tool to check for issues with dependencies in a Python project, such as unused or missing
  • using Poetry, pip, PDM, uv,

Basic usage or getting-started notes:

Documentation

Source

Files (skills)
  • SKILL.md 2.3 KB
    ---
    name: "Audit Python dependency declarations for unused, missing, and transitive imports before release"
    slug: "audit-python-dependency-declarations-before-release"
    description: "Use Deptry when an agent needs to verify that a Python project's declared dependencies still match the imports the code actually uses. The agent scans the codebase, flags unused direct dependencies, missing declarations, and transitive imports that only work by accident, then turns the findings into cleanup commits or release blockers."
    github_stars: 1359
    verification: "security_reviewed"
    source: "https://github.com/osprey-oss/deptry"
    author: "Osprey OSS"
    publisher_type: "Open Source Project"
    category: "Code Quality & Review"
    framework: "Multi-Framework"
    tool_ecosystem:
      github_repo: "osprey-oss/deptry"
      github_stars: 1359
    ---
    
    # Audit Python dependency declarations for unused, missing, and transitive imports before release
    
    Use Deptry when an agent needs to verify that a Python project's declared dependencies still match the imports the code actually uses. The agent scans the codebase, flags unused direct dependencies, missing declarations, and transitive imports that only work by accident, then turns the findings into cleanup commits or release blockers.
    
    ## Prerequisites
    
    Python plus Deptry configured against the target repository
    
    ## Installation
    
    Use the upstream install or setup path that matches your environment:
    - uv add --dev deptry
    - pip install deptry
    
    Requirements and caveats from upstream:
    - [![Supported Python versions](https://img.shields.io/pypi/pyversions/deptry)](https://pypi.org/project/deptry/)
    - _deptry_ is a command line tool to check for issues with dependencies in a Python project, such as unused or missing
    - using [Poetry](https://python-poetry.org/), [pip](https://pip.pypa.io/), [PDM](https://pdm-project.org/), [uv](https://docs.astral.sh/uv/),
    
    Basic usage or getting-started notes:
    - To add _deptry_ to your project, run one of the following commands:
    - shell
    - poetry add --dev deptry
    
    - Source: https://github.com/osprey-oss/deptry
    - Extracted from upstream docs: https://raw.githubusercontent.com/osprey-oss/deptry/HEAD/README.md
    
    ## Documentation
    
    - https://deptry.com/
    
    ## Source
    
    - [Agent Skill Exchange](https://agentskillexchange.com/skills/audit-python-dependency-declarations-before-release/)
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.

Related