Loading...
Loading...
Use this skill whenever designing, building, or reviewing a command-line tool that AI agents or automation will invoke — covers non-interactive flags, layered --help with examples, stdin/pipeline composition, actionable errors, idempotency, dry-run, destructive-action safety, and predictable command structure. Trigger even if the user doesn't explicitly say "agent-friendly" — apply whenever they are writing `--help` text, adding a new subcommand, designing error messages, or reviewing a CLI's UX.
npx skill4agent add pproenca/dot-skills cli-for-agents--help| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Non-interactive Operation | CRITICAL | |
| 2 | Help Text Design | HIGH | |
| 3 | Error Messages | HIGH | |
| 4 | Destructive Action Safety | HIGH | |
| 5 | Input Handling | HIGH | |
| 6 | Output Format | MEDIUM-HIGH | |
| 7 | Idempotency & Retries | MEDIUM-HIGH | |
| 8 | Command Structure | MEDIUM | |
help-examples-in-helphelp-interact-flags-firstinteract-detect-ttyisatty()interact-no-arrow-menusinteract-no-input-flag--no-inputinteract-no-timed-promptsinteract-no-hang-on-stdinhelp-examples-in-help--helphelp-per-subcommand--helphelp-no-flag-requiredhelp-layered-discoveryhelp-flag-summaryhelp-suggest-next-stepserr-exit-fast-on-missing-requirederr-actionable-fixerr-stderr-not-stdouterr-non-zero-exit-codeserr-include-example-invocationerr-no-stack-traces-by-default--debugsafe-dry-run-flag--dry-runsafe-force-bypass-flag--yes--forcesafe-confirm-by-typing-namesafe-no-prompts-with-no-input--no-inputsafe-idempotent-cleanupsafe-crash-only-recoveryinput-accept-stdin-dash-input-flags-over-positionalinput-stdin-for-secretsinput-env-var-fallbackinput-no-prompt-fallbackoutput-json-flag--jsonoutput-ndjson-streamingoutput-bounded-by-default--limit--alloutput-machine-ids-on-successoutput-respect-no-colorNO_COLORoutput-no-decorative-onlyoutput-one-record-per-lineidem-retry-safeidem-create-or-skipidem-stable-output-on-skipidem-state-reconciliationidem-stable-identifiersstruct-resource-verbstruct-flag-order-independentstruct-no-hidden-subcommand-catchallstruct-standard-flag-names--help--version--verbose--quietinteract-help-err-safe-input-output-idem-struct---no-input</dev/nullmycli --help--help---dry-run--yes--forceservice listdeploy listconfig listdeploydeploy_id| File | Description |
|---|---|
| references/_sections.md | Category definitions and ordering |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |