arduino-cli-foundation
Baseline Arduino CLI command usage, output shaping, and shell integration. Use when requests involve general `arduino-cli` guidance, command discovery, shared global flags (`--json`, logging, config p
SKILL.mdskills/arduino-cli-foundation/SKILL.md
GitHubWorkflow
- Detect whether the request needs human output or automation-safe output.
- Apply global flags consistently:
--json,--config-file,--config-dir,--additional-urls, and log flags. - Prefer short, copyable command examples with explicit flags.
- Return verification commands after any change-oriented action.
Command Coverage
arduino-cli helparduino-cli versionarduino-cli completion bash|zsh|fish|powershell
Output Rules
- Use
--jsonfor pipelines and scripts. - Use text output for interactive diagnosis.
- Increase to
--log-level debugonly when troubleshooting.
ICL Examples (Captured 2026-02-14)
- Command discovery and version check.
arduino-cli --config-dir /tmp/arduino_cli_suite_icl_data version
arduino-cli --config-dir /tmp/arduino_cli_suite_icl_data help
Observed output included Version: 1.4.1 and the top-level command set (board, compile, upload, monitor, profile, sketch).
2. Shell completion generation for automation shells.
arduino-cli --config-dir /tmp/arduino_cli_suite_icl_data completion bash | sed -n '1,8p'
Observed output began with # bash completion V2 for arduino-cli.