AgentSkillsCN

python-modern-tooling

当您为某个项目或脚本选择合适的现代Python工具链(如uv环境搭建、质量工具、CLI、日志记录、打包方案),或在不确定该使用哪种Python工具技能时,可选用此功能。

SKILL.md
--- frontmatter
name: python-modern-tooling
description: Use when choosing the right modern Python tooling workflow for a project or script (uv setup, quality tools, CLI, logging, packaging) or when unsure which Python tooling skill applies.

Python Modern Tooling

Overview

Route requests to the narrowest skill that matches the task. Core principle: keep the umbrella lean and delegate details.

Quick Reference

NeedUse this skill
Init project, add deps, run commandspython-uv-project-setup
Lint/format/type-check/test/CIpython-quality-tooling
Build a CLI with Typerpython-cli-typer
Choose/configure logging or logurupython-logging
Build/publish packages with uvpython-packaging-uv

Routing Rules

  • If the task mentions install, dependency, run, or missing package: use python-uv-project-setup.
  • If the task mentions ruff, ty, pytest, coverage, or CI: use python-quality-tooling.
  • If the task mentions CLI, commands, Typer: use python-cli-typer.
  • If the task mentions logging, loguru, handlers, formatters: use python-logging.
  • If the task mentions packaging, build, publish, dist: use python-packaging-uv.

Example

User: "Missing fastapi and tests fail. How should I install it?"

Route to: python-uv-project-setup (dependency management and run rules).

Common Mistakes

  • Providing detailed commands here instead of routing to the focused skill.
  • Mixing multiple workflows in one response.

Red Flags

  • Suggesting pip install or direct python/pytest execution here.