Use Rich for readable terminal output, tables, status, logging, JSON, and other renderables without over-styling.
Use this skill when building or reviewing Python terminal output that
should be more readable than plain print() while still staying practical
on real terminals.
Console for an applicationlog(), inspect(), and pretty-printed dataConsole.
Console instance.Console.print() for everyday output and light markup.status() while work is in progress.log(), inspect(), or print_json() for debugging and
diagnostics.out() when you explicitly want low-level output without Rich's
wrapping or markup behavior.color_system when you have a specific reason.justify= and overflow= intentionally, not by habit.log_locals=True is useful for short-lived debugging.print_json() and inspect() are often faster than writing custom
dump helpers.from rich.console import Console
console = Console()
from rich.console import Console
from rich.table import Table
console = Console()
table = Table(show_header=True, header_style="bold magenta")
table.add_column("Name")
table.add_column("Status")
table.add_row("build", "ok")
table.add_row("tests", "running")
console.print(table)
from rich.console import Console
console = Console()
with console.status("Working..."):
do_work()
from rich import inspect
from rich.console import Console
console = Console()
console.log("Loaded configuration", log_locals=True)
inspect(config, methods=True)
console.print_json('{"status": "ok"}')
When refining this skill or reviewing advice produced with it:
Console instance unless there is
a good reason to construct one ad hoc