smith-python

Enforces Python development standards including pytest, ruff, uv, and strict typing across projects.

1|Updated Nov 25, 2025
One-click install
npx skills add https://github.com/tianjianjiang/smith --skill smith-python
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smith-python
Source: https://github.com/tianjianjiang/smith/tree/main/smith-python
Command: npx skills add https://github.com/tianjianjiang/smith --skill smith-python

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Python development often suffers from inconsistent import organization, missing type hints, and ad-hoc testing setups, leading to brittle code and slow onboarding.

Core Features & Use Cases

  • Standardizes import organization and type hints across Python projects.
  • Enforces pytest-based testing patterns and reliable virtual environment usage.
  • Streamlines environment configuration and packaging for reproducible development.

Quick Start

Apply Python development standards to your current project and start enforcing tests, linting, and environment settings.

Frequently Asked Questions about smith-python

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

FAQPage Schema
How do I enforce strict type hints and absolute imports in a Python project?

This skill enforces Python development standards by requiring type hints on all functions and mandating absolute imports to standardize code organization across projects.

What is the best way to standardize pytest testing patterns and virtual environment usage?

The best way is to enforce function-based pytest tests and execute commands through a virtual environment runner like poetry run or uv run to ensure reliable environment usage.

Does this Python development standardization approach support uv and ruff for linting?

Yes, this approach enforces Python development standards using uv and ruff to apply consistent linting, packaging, and environment configuration across projects.

Can I use function-based tests with structured logging in my Python codebase?

Yes, these Python development standards explicitly require function-based pytest tests and structured logging to ensure code reliability and consistent execution.

Why does my Python project need a virtual environment runner like poetry run or uv run?

A virtual environment runner like poetry run or uv run is required to ensure reproducible development, testing, and packaging by standardizing environment configuration across Python projects.

How do I configure environment variables and import organization for Python packaging?

You can configure environment variables and import organization by applying development standards that streamline environment configuration and enforce absolute imports for Python packaging.