Audit python dependency declarations before release

From agentskillexchange/skills · View interactive version

Audit python dependency declarations before release is an AI agent skill from the GitHub repository agentskillexchange/skills. 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

How to use this skill

Skill file

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:

Requirements and caveats from upstream:

Basic usage or getting-started notes:

Documentation

Source

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.