arduino-cli-skill — скилл для Claude Code: что делает и как установить
Помогает управлять платами, библиотеками и прошивкой через arduino-cli на Windows, macOS и Linux.
MIT 162 установок ★ 33 обновлён 2026-10-15
npx skills add wedsamuel1230/embedded-engineering-skills --skill arduino-cli-skill -a claude-codeЧто делает arduino-cli-skill
Скилл добавляет в диалог с ассистентом точные сценарии для arduino-cli. Он охватывает поиск подключённых плат, обнаружение последовательных портов под конкретную ОС, установку библиотек, компиляцию скетчей и их загрузку в микроконтроллер.
Внутри заложены ссылки на команды, перечни типичных ошибок и заметки для плат линейки Uno R4 (Minima и WiFi). Ассистент ориентируется на FQBN платы и советует форматировать вывод arduino-cli в JSON, если результат нужно разобрать кодом.
Успешная сборка скетча подтверждает только компиляцию, а завершённая загрузка не гарантирует корректную работу всей схемы. Если проект требует утилит вендора или PlatformIO, правила требуют перенаправлять задачу в соответствующую ветку без скрытой подмены команд.
Какие задачи решает
- найти последовательный порт и плату в системе
- скомпилировать скетч под нужный FQBN
- загрузить прошивку в микроконтроллер через терминал
- разобрать ошибки загрузки и компиляции по памятке
Примеры запросов агенту
- Найди подключённую плату через
arduino-cliи покажи её порт - Собери скетч
sketch.inoподarduino:avr:uno - Проверь ошибки загрузки скетча в Uno R4 WiFi
Как установить arduino-cli-skill
1Через Skills CLI (Vercel)
npx skills add wedsamuel1230/embedded-engineering-skills --skill arduino-cli-skill -a claude-code2Вручную: положить файлы
~/.claude/skills/arduino-cli-skill/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/arduino-cli-skill/
1Через Skills CLI (Vercel)
npx skills add wedsamuel1230/embedded-engineering-skills --skill arduino-cli-skill -a codex2Вручную: положить файлы
.agents/skills/arduino-cli-skill/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add wedsamuel1230/embedded-engineering-skills --skill arduino-cli-skill -a cursor2Вручную: положить файлы
.cursor/skills/arduino-cli-skill/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install wedsamuel1230/embedded-engineering-skills skills/arduino-cli-skill2Вручную: положить файлы
.github/skills/arduino-cli-skill/SKILL.md1Через Skills CLI (Vercel)
npx skills add wedsamuel1230/embedded-engineering-skills --skill arduino-cli-skill -a gemini-cli2Командой платформы
gemini skills install https://github.com/wedsamuel1230/embedded-engineering-skills --path skills/arduino-cli-skillВручную: положить файлы
.devin/skills/arduino-cli-skill/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add wedsamuel1230/embedded-engineering-skills --skill arduino-cli-skill -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об arduino-cli-skill
Как установить arduino-cli-skill в Claude Code?
Выполните команду npx skills add wedsamuel1230/embedded-engineering-skills --skill arduino-cli-skill -a claude-code в терминале.
Что делает этот скилл?
Он предоставляет модели правила и последовательности команд для компиляции, поиска портов, прошивки плат и установки библиотек через arduino-cli.
Гарантирует ли успешная загрузка работу устройства?
Нет, принятая загрузка служит доказательством передачи прошивки, но не подтверждает исправность аппаратной части или питания схемы.
Исходный текст
SKILL.md · MIT
---
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.
© wedsamuel1230 · MIT · wedsamuel1230/embedded-engineering-skills