From ai-eng-plugin-dev
Guides designing CLIs that work reliably with coding agents: non-interactive flags, actionable errors, idempotency, dry-run, layered help.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-eng-plugin-dev:cli-for-agentsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
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.
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 --force
cat 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.npx claudepluginhub p/v1truv1us-ai-eng-plugin-dev-plugins-ai-eng-plugin-devGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Reference for writing and editing skills with predictable behavior, covering invocation models, description writing, and information hierarchy.
2plugins reuse this skill
First indexed Jul 8, 2026