A compact contract for CLIs that humans can use (good UX) and machines can trust (predictable behavior, stable output).
Use when designing, implementing, or reviewing command-line tools, especially CLIs that need reliable automation behavior, stable machine-readable output, safe mutation semantics, or good terminal UX.
When building or reviewing a CLI:
- First classify it by capability/risk dimensions: