AGENT SKILL

pdm

Use this skill when the user wants to manage Python packages, install dependencies, build Python packages, publish to PyPI, or use PEP 582 package management.

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

01 前言 Front Matter

name
pdm
description
Use this skill when the user wants to manage Python packages, install dependencies, build Python packages, publish to PyPI, or use PEP 582 package management.

03 SKILL.md 正文

pdm Plugin

Python package and dependency manager supporting PEP 582.

Commands

Package Management

  • pdm install run — Install dependencies from pyproject.toml
  • pdm add run — Add package dependency
  • pdm build run — Build package for distribution
  • pdm publish run — Publish package to PyPI

Usage Examples

  • "Install project dependencies with pdm"
  • "Add requests as a dependency"
  • "Build this package"
  • "Publish to PyPI"

Installation

pip install pdm

Examples

# Install dependencies
pdm install

# Add dependency
pdm add requests

# Add dev dependency
pdm add --dev pytest

# Build package
pdm build

# Publish to PyPI
pdm publish

# Run script in pdm environment
pdm run python -c "print('hello')"

04 同仓库更多 Skills