Automated summary
Resolves the complete install-time dependency tree of a Python package for a specific Python version, honoring environment markers, using uv or pip.
Strengths
- Returns the full deduplicated set of resolved transitive dependencies rather than just direct metadata deps
- Resolves against a chosen Python version so environment markers are applied correctly
- Prefers uv pip compile and falls back automatically to pip install --dry-run --report
- Plain sorted name==version output that is easy to feed into container-size or supply-chain checks
Limitations
- Requires network access to PyPI and cannot run offline
- Excludes build-time dependencies (setuptools, CMake, Cython) and dev/test extras
- Results reflect the local resolution environment and may differ from resolutions performed on other platforms
Use it when you need the full resolved list of packages a Python dependency will pull in, such as estimating a container image footprint.
Avoid it when you only need direct dependencies, build-time requirements, or license analysis, which other skills cover.
Security analysis
CautionThe skill legitimately needs shell execution and PyPI network access to resolve dependency trees. The operations are non-destructive and scoped to dependency resolution, but executing a bundled script and resolving third-party packages carries normal supply-chain and local-execution risk.
- •Runs a bundled helper script (`scripts/resolve_full_deps.py`) via `python3`, so the script contents determine actual behavior.
- •Uses Bash plus network access to PyPI and invokes `uv`/`pip` resolution in a temporary environment; package metadata resolution can download artifacts and may execute build backends for source distributions.
- •No destructive commands, secret exfiltration, obfuscated payloads, or safety-disabling instructions are present.
Examples
Give me the full transitive dependency tree for requests 2.32.3, with versions.List all install requirements for vllm resolved for Python 3.11 and tell me how many transitive deps there are.What packages would get installed with numpy, and are there any heavy or unexpected entries I should worry about for a slim container image?name: python-full-deps description: Resolve the full install-time dependency tree for a Python package. Use when the user needs all transitive dependencies, full dependency list, or install requirements resolved for a specific Python version with environment markers. allowed-tools: Bash Read compatibility: Requires network access to PyPI. Requires uv (preferred) or pip >= 22.2 (fallback).
Python Full Dependency Tree
Resolve and return the complete set of packages that would be installed for a given Python package (entire transitive dependency tree), resolved for a specific Python version so environment markers are respected.
When to use
- User asks for "full dependency tree", "all dependencies", "transitive dependencies", or "install requirements" of a Python package.
- User needs the full picture of install-time dependencies (not just direct deps from metadata).
- User wants to understand the total footprint of a package in a container image or environment.
- Complement to
python-packaging-complexitywhen the full resolved tree is needed beyond direct metadata.
When NOT to use
- User only needs direct (first-level) dependencies -- use
python-packaging-complexityinstead, which reads PyPI metadata without resolution. - User is asking about build-time dependencies (e.g. setuptools, CMake, Cython) -- those are not included in install-time resolution.
- User is asking about dev/test dependencies (e.g. pytest, mypy) -- those are extras, not default install deps.
- User is asking about license, source, or build complexity analysis -- use the corresponding
python-packaging-*skills.
Inputs
| Parameter | Required | Default | Description |
|-----------------|----------|---------|-------------------------------------|
| package name | Yes | — | PyPI project name (e.g. vllm) |
| package version | No | latest | e.g. 0.4.0 |
| Python version | No | 3.12 | e.g. 3.11, 3.12 |
Instructions
When a user asks about the full dependency tree, all transitive dependencies, or install requirements for a Python package:
-
Run the helper script with the package name and optional version/Python version:
python3 scripts/resolve_full_deps.py <package> [version] [python_version]The script automatically tries
uv pip compilefirst (fast, supports cross-version resolution). Ifuvis not installed, it falls back topip install --dry-run --reportin a temporary venv. -
Present the output to the user:
- Output is sorted alphabetically and deduplicated.
- Each line is
name==versionwith PEP 503 normalized names. - Warnings/errors go to stderr and should be relayed to the user.
-
Provide context based on the results:
- Total number of transitive dependencies.
- Notable packages in the tree (e.g.
torch,numpy,cudarelated packages). - If the user is assessing container image size or supply-chain risk, highlight the dependency count and any heavy packages.
Output format
Return a sorted, unique set of normalized dependencies. Include version unless the user asked for names only.
- One dependency per line:
name==version - Or as a list:
["package-a==1.0.0", "package-b==2.1.0"]
Example
$ python3 scripts/resolve_full_deps.py requests 2.32.3
certifi==2024.8.30
charset-normalizer==3.4.1
idna==3.10
requests==2.32.3
urllib3==2.3.0
Interpretation: requests 2.32.3 pulls in 4 transitive dependencies (5 total including itself).
Error handling
uvnot found: The script automatically falls back to pip. If the user sees a stderr warning about this, suggest installing uv for faster resolution.- Package not found on PyPI: The script exits with a non-zero code and an error on stderr. Verify the package name spelling and whether a specific version exists.
- Network errors / timeouts: Both
uvandpipneed network access to PyPI. If resolution times out (150s), suggest retrying or checking network connectivity. - pip version too old: The
--reportflag requires pip >= 22.2. If the fallback fails with an unrecognized argument error, advise upgrading pip.
Integration with other skills
python-packaging-complexity: Use that skill first to get direct dependencies and build complexity, then use this skill to get the full transitive tree. Together they give a complete picture.python-packaging-license-checker/python-packaging-license-finder: After getting the full dep list from this skill, feed individual packages into the license skills to audit the entire tree.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/python-full-dependency-tree-resolution-mmlj2o9n/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/python-full-dependency-tree-resolution-mmlj2o9n' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/python-full-dependency-tree-resolution-mmlj2o9n/download' --output '.skill-downloads/python-full-dependency-tree-resolution-mmlj2o9n/SKILL.md.part' && mv '.skill-downloads/python-full-dependency-tree-resolution-mmlj2o9n/SKILL.md.part' '.skill-downloads/python-full-dependency-tree-resolution-mmlj2o9n/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Environment declared by the author: Requires network access to PyPI. Requires uv (preferred) or pip >= 22.2 (fallback).
Tools declared by the author (check availability in your agent): Bash Read
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/python-full-dependency-tree-resolution-mmlj2o9n/SKILL.md' && test -s '.skill-downloads/python-full-dependency-tree-resolution-mmlj2o9n/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/python-full-deps' && cp -R '.skill-downloads/python-full-dependency-tree-resolution-mmlj2o9n' '.claude/skills/python-full-deps'Cursor
test -f '.skill-downloads/python-full-dependency-tree-resolution-mmlj2o9n/SKILL.md' && test -s '.skill-downloads/python-full-dependency-tree-resolution-mmlj2o9n/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/python-full-deps' && cp -R '.skill-downloads/python-full-dependency-tree-resolution-mmlj2o9n' '.cursor/skills/python-full-deps'Codex
test -f '.skill-downloads/python-full-dependency-tree-resolution-mmlj2o9n/SKILL.md' && test -s '.skill-downloads/python-full-dependency-tree-resolution-mmlj2o9n/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/python-full-deps' && cp -R '.skill-downloads/python-full-dependency-tree-resolution-mmlj2o9n' '.agents/skills/python-full-deps'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/python-full-dependency-tree-resolution-mmlj2o9n'openskills read 'python-full-dependency-tree-resolution-mmlj2o9n'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/python-full-dependency-tree-resolution-mmlj2o9n/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.