← ClaudeAtlas

python-cli-error-outputlisted

Design Python CLI failure behavior: messages, debug display, streams, status codes, machine errors, redaction, interrupts, broken pipes, and exception mapping. Use when defining CLI-facing failures. Do not use when the request excludes Python or CLI changes. Add python-domain-exception-policy only for explicit internal taxonomy or translation work; an exception merely causing CLI output keeps this skill alone. Do not use for internal exception work or command-tree design.
genaptic/skillsets · ★ 1 · AI & Automation · score 70
Install: claude install-skill genaptic/skillsets
# Outcome Produce a concrete, reviewable result for the workflow below without overstating what was observed, executed, or verified. ## Compatibility Portable across Claude Code, Codex, and OpenCode. The optional contract helper requires Python 3.11 and validates JSON without execution by default. `--confirm-execute` runs reviewed argv arrays locally without a shell and never uses the network itself. ## Use this skill when - A CLI needs a stable mapping from domain failures to process behavior. - Internal exception taxonomy or translation boundaries and their CLI process mapping must be designed together; also use `python-domain-exception-policy`. - Diagnostics, results, progress, or tracebacks are written to the wrong stream. - Exit statuses are inconsistent or too coarse for automation. - Human and machine-readable error modes, debug output, interrupts, or broken pipes need a contract. ## Do not use this skill when - The task is exclusively internal exception taxonomy, cleanup, retries, and logging without a CLI process mapping; use `python-domain-exception-policy`. - The task is command names, options, configuration precedence, or help structure; use `python-cli-command-design`. - The task is only to implement tests for an already agreed contract; use `python-cli-testing`. ## Inputs Inspect or obtain: - Existing command transcripts, parser/framework version, and installed entry-point behavior. - Domain exception classes and which failures callers can act on.