CLI application patterns for Python. Triggers on: cli, command line, typer, click, argparse, terminal, rich, console, terminal ui.
Install with Tessl CLI
npx tessl i github:NeverSight/skills_feed --skill python-cli-patterns83
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillValidation for skill structure
Typer app setup and Rich table output
Uses Typer framework
0%
100%
Typer app with name param
0%
100%
Typer app with help param
0%
100%
add_completion=True
0%
0%
typer.Argument usage
0%
100%
typer.Option usage
0%
100%
Rich Table with styled columns
100%
100%
console.print for table
100%
100%
Rich color markup
100%
100%
Error handling with typer.Exit
0%
100%
if __name__ == '__main__' entrypoint
0%
100%
Without context: $0.6590 · 2m 21s · 35 turns · 41 in / 8,815 out tokens
With context: $0.4356 · 1m 28s · 24 turns · 277 in / 4,953 out tokens
Command groups and Rich Panel output
Uses Typer framework
0%
100%
Command groups with add_typer
0%
100%
Sub-Typer with help
0%
100%
Subcommands decorated properly
60%
100%
Rich Panel usage
0%
100%
Rich Console instance
0%
100%
Rich color markup
0%
100%
Boolean flag parameter
100%
100%
Error handling with typer.Exit
0%
100%
typer.echo or console output for simple messages
100%
100%
if __name__ == '__main__' entrypoint
100%
100%
Without context: $0.4867 · 1m 40s · 26 turns · 33 in / 5,917 out tokens
With context: $0.5119 · 1m 38s · 28 turns · 32 in / 5,817 out tokens
Progress tracking and Enum choice parameters
Uses Typer framework
0%
100%
Enum for mode parameter
0%
100%
track() for progress
0%
100%
track() has description param
0%
100%
Rich color markup success
0%
100%
Rich color markup error
0%
100%
Error handling with typer.Exit
0%
100%
Console instance used
0%
100%
typer.Option with short and long flag
0%
100%
typer.Argument for required input
0%
100%
if __name__ == '__main__' entrypoint
50%
100%
Without context: $0.2308 · 56s · 19 turns · 23 in / 3,346 out tokens
With context: $0.4832 · 1m 35s · 30 turns · 32 in / 5,120 out tokens
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.