PY

python-project-ops

Standardizes Python project operations using uv for dependency management, testing, and quality control.

Install

mkdir -p .claude/skills/python-project-ops && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16617" && unzip -o skill.zip -d .claude/skills/python-project-ops && rm skill.zip

Installs to .claude/skills/python-project-ops

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use this when managing Python dependencies with uv, running tests with pytest, linting with ruff, formatting code, type checking with mypy, or executing notebooks.
163 chars · catalog description✓ has a “when” trigger
Beginner

Key capabilities

  • Manage Python dependencies with uv
  • Run tests with pytest
  • Lint code with ruff
  • Format code with ruff
  • Type check with mypy

How it works

This skill enforces the use of `uv` for dependency management, `pytest` for testing, `ruff` for linting and formatting, and `mypy` for type checking in Python projects.

Inputs & outputs

You give it
Python project operation (e.g., adding a dependency, running tests)
You get back
Python project operation completed using specified tools

When to use python-project-ops

  • install or update dependencies with uv
  • run unit tests with pytest
  • lint and format project code

About this skill

Skill: Python Project Operations

Use this skill when changing dependencies, running tests, linting, formatting, type checking, or executing notebooks.

Package Manager: uv Only

  • Use uv for all dependency installation, synchronization, addition, removal, and updates.
  • Never use pip, pip3, python -m pip, poetry, conda, pipenv, or easy_install.
  • Never manually create or edit requirements.txt.
  • Use uv add <package> when adding dependencies.
  • Use uv add --group dev <package> for dev-only dependencies.
  • Review diffs in pyproject.toml and uv.lock after dependency changes.

Python Version

  • Python 3.11.

Common Commands

uv sync                    # Install/synchronize dependencies
uv run pytest              # Run tests
uv run ruff check .        # Lint
uv run ruff format .       # Format
uv run mypy src            # Type check
uv run papermill notebooks/input.ipynb notebooks/output.ipynb  # Execute notebook
bash scripts/run_quality_checks.sh  # Run all quality checks

Workflow

  1. After modifying pyproject.toml, run uv sync.
  2. After adding code, run uv run ruff check . and uv run ruff format ..
  3. Before committing, run uv run pytest and uv run mypy src.
  4. For notebook execution in CI or automation, prefer papermill.

When not to use it

  • When using pip, poetry, conda, or pipenv for dependency management
  • When manually creating or editing requirements.txt

Limitations

  • Only `uv` is to be used for dependency management.
  • Python 3.11 is the specified version.

How it compares

This skill standardizes Python project operations to a specific set of tools and workflows, unlike using various alternative tools.

Compared to similar skills

python-project-ops side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
python-project-ops (this skill)02moReviewBeginner
qa03moNo flagsIntermediate
python-testing-patterns772moReviewIntermediate
validate-openapi-specs59moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry