arduino-cli-skill
/arduino-cli-skill
Use when users need Arduino CLI commands for board discovery, library installation, compilation, upload, or serial-port troubleshooting on Windows, macOS, or Linux. Use it as the CLI branch of a broader workflow when the project also involves Arduino IDE, PlatformIO, vendor tools, hardware, power, or deployment.
- Author
- wedsamuel1230 ↗
- Repository
- embedded-engineering-skills ↗
- Licence
- MIT
- Last repository change
- 15.10.2026
Assessment and security
- Files in this package
- 6
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 15.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/workflow-windows.ps1
What it does and when to use it
Use when users need Arduino CLI commands for board discovery, library installation, compilation, upload, or serial-port troubleshooting on Windows, macOS, or Linux. Use it as the CLI branch of a broader workflow when the project also involves Arduino IDE, PlatformIO, vendor tools, hardware, power, or deployment.
Original author description
Use when users need Arduino CLI commands for board discovery, library installation, compilation, upload, or serial-port troubleshooting on Windows, macOS, or Linux. Use it as the CLI branch of a broader workflow when the project also involves Arduino IDE, PlatformIO, vendor tools, hardware, power, or deployment.
How it works
- Resources
- Workflow
- Compatibility And Proof Boundary
- Quick Start
- Verification
- Shared Output Contract
SKILL.md preview
---
name: arduino-cli-skill
description: Use when users need Arduino CLI commands for board discovery, library installation, compilation, upload, or serial-port troubleshooting on Windows, macOS, or Linux. Use it as the CLI branch of a broader workflow when the project also involves Arduino IDE, PlatformIO, vendor tools, hardware, power, or deployment.
metadata: {triggers: "Arduino CLI, board discovery, compile, upload, serial port"}
---
# Arduino CLI Skill
Provide cross-platform `arduino-cli` workflows and command references.
## Resources
- `references/commands.md` - board, core, library, compile, and upload commands
- `references/serial-ports.md` - OS-specific serial port discovery
- `rules/common-pitfalls.md` - common command mistakes and recovery guidance
- `examples/README.md` - runnable command sequences
- `../../docs/board-support/uno-r4-family.md` - Uno R4 Minima and Uno R4 WiFi support notes
## Workflow
1. Identify the user's platform and target board.
2. Open `references/serial-ports.md` if the task depends on port discovery.
3. Open `references/commands.md` for the exact command family you need.
4. Check `rules/common-pitfalls.md` before suggesting upload or compile fixes.
5. If the target is Uno R4 family and the problem touches WiFi, firmware bridge,
or OTA-related setup, open `../../docs/board-support/uno-r4-family.md`.
6. Prefer `arduino-cli` JSON output when the result will be parsed or reused.
## Compatibility And Proof Boundary
Record `arduino-cli version`, the core/index version, FQBN, libraries, host OS,
and port before changing commands. Check library architecture support and board
package compatibility. A successful `compile` is build proof only; an accepted
upload is upload proof and does not establish hardware or system success. For
IDE, PlatformIO, or vendor-specific commands, route to the appropriate branch
instead of silently translating them.
## Quick Start
```bash
arduino-cli board list
arduino-cli core list
arduino-cli compile --fqbn arduino:avr:uno path/to/sketch
arduino-cli upload -p /dev/ttyACM0 --fqbn arduino:avr:uno path/to/sketch
```
## Verification
- Confirm the `fqbn` matches the target board.
- Confirm the selected serial port exists before upload.
- Prefer command output over remembered defaults when troubleshooting.
See `references/commands.md` and `references/serial-ports.md` for detailed examples.
## Shared Output Contract
Use [the shared Arduino skill contract](../../docs/arduino-skill-contract.md):
state assumptions, required tools and versions, implementation steps,
tests/evidence by proof stage, known limitations, and recovery/security notes.
Files in this package (6)
- SKILL.md 3 KB
- examples/README.md 1 KB
- references/commands.md 1 KB
- references/serial-ports.md 1 KB
- rules/common-pitfalls.md 1 KB
- scripts/workflow-windows.ps1 2 KB
Versions
The database has no other skills named arduino-cli-skill.
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version 594e797ac80d (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 90arduino-workflow-router
Route Arduino and embedded-system requests across Arduino IDE, Arduino CLI, PlatformIO, and vendor-specific tools. Use when a request combines firmware, board constraints, electronics, power, networking, calibration, enclosure, upload, debugging, OTA, or maintenance, or when the… - 100arduino-developer
Implement or fix Arduino sketches and libraries using the project-declared board, Arduino Core, version, and tooling. Use for Arduino IDE/CLI or configured PlatformIO work when invoking arduino-developer. - 100error-message-explainer
Explain Arduino and embedded compiler, upload, boot, power, and runtime errors in plain English. Use when a user shares an error or failure from Arduino IDE, Arduino CLI, PlatformIO, or a vendor-specific tool. Separate build, upload, hardware, and system evidence and give a… - 93m5stack-arduino-cli
Set up, diagnose, flash, and support development for M5Stack boards with Arduino CLI on Windows. Use when Codex needs to install ESP32 board support, detect the correct COM port, explain why `arduino-cli board list` shows `Unknown`, attach a board/FQBN to a sketch, compile or… - 90platformio
Use when working in a PlatformIO project (platformio.ini present) or when asked to build, flash, monitor, test, or debug firmware for ESP32, Arduino, STM32, RP2040, or any board PlatformIO supports. Drives the platformio MCP tools in the right order and reads their results correctly. - 95esp-pio-handling
PlatformIO lifecycle for ESP32 firmware: platformio.ini, environment selection, build, upload and serial monitor, on local USB or through the testbench. Covers what differs from ESP-IDF — the .pio/build layout, the boot_app0 image an Arduino-framework build needs, and RFC2217…