Client Interface Guidelines
Overview
Apply this skill as the default gate for agent-native CLI/client tools.
Optimize for machine reliability first. Treat operator inspection as a secondary debugging and status layer, not as a co-equal interface mode.
Workflow
- Read
references/00-how-to-use-this-skill.md. - Start with
references/09-agent-first-contract.md. - Apply
references/10-agent-must-should-checklist.md. - Validate using
references/11-agent-test-matrix-template.md. - Use
references/12-delivery-route-selection.mdwhen a CLI chooses between local device, remote beta, cloud build, or other delivery routes. - Use
references/02to07for detailed guidance. - Optionally run
references/08-quick-review-checklist.mdfor full coverage.
Reference Files
references/00-how-to-use-this-skill.mdreferences/01-philosophy.mdreferences/02-basics-help-docs.mdreferences/03-output-errors.mdreferences/04-arguments-interactivity-subcommands.mdreferences/05-robustness-future-signals.mdreferences/06-configuration-environment.mdreferences/07-naming-distribution-analytics.mdreferences/08-quick-review-checklist.mdreferences/09-agent-first-contract.mdreferences/10-agent-must-should-checklist.mdreferences/11-agent-test-matrix-template.mdreferences/12-delivery-route-selection.md
Non-Negotiables
- Stable machine-readable contract and schema versioning.
- Non-interactive operation with
--no-inputsupport. - Structured errors with stable codes and mapped exit codes.
- Strict stdout/stderr separation.
- Secure secret handling with no flag/env secret input.
- Additive interface evolution with explicit deprecation path.
- JSON is the default behavioral contract unless there is a strong reason otherwise.