python

Manage Python projects with uv, ruff, mypy, and pytest.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/hsiangjenli/skills --skill python-hsiangjenli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python
Source: https://github.com/hsiangjenli/skills/tree/main/.agents/skills/python
Command: npx skills add https://github.com/hsiangjenli/skills --skill python-hsiangjenli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill streamlines the entire modern Python development lifecycle, from project initialization and dependency management to code quality checks and documentation.

Core Features & Use Cases

  • Project Initialization: Quickly set up new Python projects with uv init.
  • Dependency Management: Efficiently add, remove, and sync dependencies using uv.
  • Code Quality: Enforce consistent code style and catch errors with ruff and mypy.
  • Testing & Coverage: Integrate pytest and coverage for robust testing.
  • Documentation: Generate numpy-style docstrings for clear code documentation.
  • Use Case: When starting a new Python project, use this skill to set up a clean environment, add essential development tools, and establish a consistent coding standard from the outset.

Quick Start

Initialize a new Python project named 'my-new-app' with Python 3.11.

Frequently Asked Questions about python

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to set up a modern Python development workflow with uv and ruff?

A modern Python development workflow utilizes uv for project initialization and dependency management, ruff for linting and formatting, mypy for type checking, and pytest for testing to ensure code quality from the outset.

How do I initialize a new Python project and manage dependencies using uv?

To initialize a new Python project, use the uv init command to quickly set up the environment. Manage dependencies efficiently by using uv to add, remove, and sync project packages.

How does ruff work with mypy for code quality assurance in Python?

Ruff works with mypy for code quality by enforcing consistent code style and catching syntax errors, while mypy performs static type checking to catch type-related errors before runtime.

Can I use pytest and coverage for testing within this Python workflow?

Yes, you can integrate pytest and coverage for robust testing within this Python workflow. This combination facilitates running test suites and measuring code coverage to ensure comprehensive test validation.

Does this Python workflow support pre-commit hooks for automated checks?

Yes, this Python workflow supports integration with pre-commit hooks. This enables automated execution of ruff, mypy, and pytest checks locally before committing changes to maintain code quality.

How do I generate numpy-style docstrings for Python project documentation?

This workflow facilitates generating numpy-style docstrings for clear code documentation. This ensures standardized formatting for function parameters, returns, and exceptions throughout the project.