python-modern-tooling
Scannednpx machina-cli add skill narumiruna/agent-skills/python-modern-tooling --openclawPython Modern Tooling
Overview
Route requests to the narrowest skill that matches the task. Core principle: keep the umbrella lean and delegate details.
Quick Reference
| Need | Use this skill |
|---|---|
| Init project, add deps, run commands | python-uv-project-setup |
| Lint/format/type-check/test/CI | python-quality-tooling |
| Build a CLI with Typer | python-cli-typer |
| Choose/configure logging or loguru | python-logging |
| Build/publish packages with uv | python-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 installor directpython/pytestexecution here.
Source
git clone https://github.com/narumiruna/agent-skills/blob/main/skills/python-modern-tooling/SKILL.mdView on GitHub Overview
Python Modern Tooling routes requests to the narrowest skill that matches the task. Core principle: keep the umbrella lean and delegate details to specialized skills. It helps you pick the right workflow—project setup, quality tooling, CLI with Typer, logging, or packaging—without guessing which skill applies.
How This Skill Works
The skill analyzes the task for keywords and maps it to a focused tool via routing rules (e.g., install/run/deps -> python-uv-project-setup; lint/CI -> python-quality-tooling; CLI/Typer -> python-cli-typer; logging -> python-logging; packaging -> python-packaging-uv). It does not execute commands itself but routes to the appropriate narrow skill so the right expert handles execution.
When to Use It
- Init a new project, manage dependencies, or run setup commands.
- Lint, format, type-check, test, or configure CI.
- Build a CLI using Typer.
- Configure logging or choose between loguru and standard handlers.
- Build or publish packages with uv (packaging, distribution).
Quick Start
- Step 1: Identify the task keywords (install, lint, CLI, logging, packaging).
- Step 2: Let Python Modern Tooling route to the most specific skill.
- Step 3: Follow the focused skill's guidance for implementation.
Best Practices
- Route to the most specific skill instead of mixing tasks.
- Mention clear keywords to trigger the correct mapping.
- Avoid including concrete commands here; let the focused skill handle them.
- Reference the relevant skill by name (e.g., python-uv-project-setup, python-quality-tooling).
- When unsure, start with a minimal task and let routing decide.
Example Use Cases
- User: I need to set up a new Python project and install dependencies.
- User: I want to run linting, type checks, and CI configuration.
- User: I need to build a CLI with Typer.
- User: I want to configure logging with Loguru.
- User: I need to build and publish a package with uv.