Agent skill · software engineering · aiskillstore

python-cli-patterns

CLI application patterns for Python. Triggers on: cli, command line, typer, click, argparse, terminal, rich, console, terminal ui.

Why this skill is useful

Provides specific patterns and examples for building modern CLI applications with Typer and Rich that the AI wouldn't reliably generate on its own.

What it needs

Requires rich, typer installed locally. About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Python CLI Patterns Modern CLI development with Typer and Rich. Basic Typer App Command Groups Rich Output Error Handling Quick Reference Feature Typer Syntax --------- -------------- Required arg name: str Optional arg name: str = "default" Option typer.Option(default, "--flag", "-f") Argument typer.Argument(..., help="...") Boolean flag verbose: bool = False Enum choice color: Color = Color.red Rich Feature Usage -------------- ------- Table Table() + addcolumn/row Progress track(items) Colors [red]text[/red] Panel Panel("content", title="Title") Additional Resources ./references/typer-patterns.md - Advanced Typer patterns ./references/rich-output.md - Rich tables, progress, formatting ./references/configuration.md - Config files, environment variables Assets ./assets/cli-template.py - Full CLI application template --- See Also Related Skills: python-typing-patterns - Type hints for CLI arguments python-observability-patterns - Logging for CLI applications Complementary Skills: python-env - Package CLI for distribution

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/python-cli-patterns

View the source on GitHub

Browse the @skills marketplace