skills/rich/SKILL.md
Terminal UX with Rich -- console setup, tables, panels, progress, logging, tracebacks, live updates. Load when building polished CLI output.
npx skillsauth add oornnery/.agents richInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use when CLI needs better structure, readability, feedback.
Use for terminal presentation and interaction design.
python when implementing CLI in Pythonreferences/console.md -- console setup, panels, tables, rules, markup, output boundariesreferences/progress.md -- status, progress bars, live updates, final summariesreferences/logging.md -- RichHandler, tracebacks, stderr, failure presentationassets/main.py -- runnable CLI example with table, status, progress, error outputConsole for user-facing outputlogging for operational eventsstderr=Trueprint() with Rich outputfrom rich.console import Console
console = Console()
error_console = Console(stderr=True)
Keep near CLI entrypoint, not scattered ad hoc console instances.
Use Table for compact comparison, status, inventory output.
Use Panel and Rule to separate sections only when it improves scanning.
track() for single simple loopProgress() when multiple tasks or richer status neededSyntax when showing code snippetsJSON when pretty-printing structured payloads for humansUse RichHandler when logs part of interactive CLI experience.
from rich.logging import RichHandler
logging.basicConfig(
level="INFO",
format="%(message)s",
handlers=[RichHandler(rich_tracebacks=True)],
)
Use Live when screen should update in place:
Prefer Live only when evolving state matters. Static output usually easier to debug and copy.
development
--- name: verification description: Discover and run project validation gates: format, lint, typecheck, LSP diagnostics, tests, build, static security checks, dependency audits, and RTK output handling. Use before claiming work is complete, when fixing broken checks, or when setting up a validation plan. --- # Verification Use this skill to prove changes with the strongest practical checks the repo already supports. ## Discovery Order 1. Read task aliases: `package.json`, `pyproject.toml`, `
tools
Build, review, or validate standalone Python scripts run with uv inline metadata. Use for one-file automation, operational scripts, script dependencies, shebangs, idempotency, safety, representative runs, and promoting scripts to packages.
development
Build, review, or validate Python packages and libraries where public API stability, packaging metadata, imports, examples, changelogs, build output, and compatibility matter.
tools
Build, review, or validate Python command-line applications and terminal tools. Use for argparse, Typer, Rich, Textual-adjacent CLI UX, stdout/stderr contracts, exit codes, automation-friendly flags, help output, and CLI tests.