What problem does it solve? Designing CLI commands that serve both humans and AI agents is error-prone: machine output contracts drift, exit codes become inconsistent, prompts hang non-interactive callers, and destructive operations lack clear authorization gates. This Skill provides the canonical authoring rules, hard gates, and a pre-ship checklist so every ns CLI command ships with a stable, bounded, recoverable contract for both audiences. ## Core Features & Use Cases - Hard design gates: Enforces framework parser usage, stdout/stderr separation, coarse stable exit codes (ok=0, negative=1, failure/usageError=2), and a camelCase discriminated machine envelope published via --json-schema. - Danger tier discipline: Classifies commands into four tiers (read-only through high blast radius) with distinct --yes/-y confirmation versus --force/-f precondition-override semantics, plus TTY-gated prompting rules. - Reference library: Ships detailed references for the Clinkr API map with ADR rationale, human-tier UX rules, agent/exec-tier machine contract rules, danger tiers, and a pre-ship checklist. - Use Case: When adding a new ns CLI command or reviewing an existing one, load this Skill to verify the result envelope, exec subgroup placement, output bounding, and confirmation flow before shipping. ## Quick Start Ask the agent to review the design of a new ns CLI command against the ns-cli-design checklist before shipping it.