What problem does it solve?
This Skill provides a cohesive pattern and template for building high-quality Python command-line interfaces by leveraging UV for rapid project setup, Typer for commands, Ruff for linting, Pyright for strict typing, and Rich for polished UX. It addresses inconsistent CLI UX, brittle configurations, and slow iteration when creating admin utilities, data processors, or developer tooling.
Core Features & Use Cases
- Unified toolchain: end-to-end CLI development with UV, Typer, Ruff, Pyright, and Rich.
- Config-first workflow: robust settings via pydantic-settings with YAML defaults and .env secrets.
- Modular architecture: clear separation of CLI, core logic, and services, enabling scalable CLIs.
- Real-world scenarios: admin utilities, data processing tasks, or developer tooling that require fast, reliable CLIs.
Quick Start
- Install UV and initialize a new project with uv init my_cli
- Add Typer, Ruff, Pyright, and Rich to the project and wire them into a clean CLI
- Follow the modular pattern to structure code and maintain high UX standards