Designs or reviews CLIs so coding agents can run them reliably: non-interactive flags, layered --help with examples, stdin/pipelines, fast actionable errors, idempotency, dry-run, and predictable structure. Use when building a CLI, adding commands, writing --help, or when the user mentions agents, terminals, or automation-friendly CLIs.
95
93%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Human-oriented CLIs often block agents: interactive prompts, huge upfront docs, and help text without copy-pasteable examples. Prefer patterns that work headlessly and compose in pipelines.
Bad: mycli deploy → ? Which environment? (use arrow keys)
Good: mycli deploy --env staging
mycli, then mycli deploy --help. Do not print the entire manual on every run.--help that works--help.--help includes Examples with real invocations. Examples do more than prose for pattern-matching.Options:
--env Target environment (staging, production)
--tag Image tag (default: latest)
--force Skip confirmation
Examples:
mycli deploy --env staging
mycli deploy --env production --tag v1.2.3
mycli deploy --env staging --forcecat config.json | mycli config import --stdin).mycli deploy --env staging --tag $(mycli build --output tag-only).Error: No image tag specified.
mycli deploy --env staging --tag <image-tag>
Available tags: mycli build list --output tags--dry-run (or equivalent) so agents can preview plans before committing.--yes / --force to skip confirmations while keeping the safe default for humans.resource + verb: if mycli service list exists, mycli deploy list and mycli config list should follow the same shape.deployed v1.2.3 to staging
url: https://staging.myapp.com
deploy_id: dep_abc123
duration: 34s--help, stdin/pipeline story, error messages with invocations, idempotency, dry-run, confirmation bypass flags, consistent command structure, structured success output.7dd9fea
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.