
Arduino Code Generator
This generates production-ready Arduino code for UNO, ESP32, and RP2040 boards with proper non-blocking patterns, memory management, and hardware abstraction. It covers the tedious stuff: software debouncing, I2C scanning, sensor filtering, state machines, EEPROM wear leveling, and CSV logging. The skill includes nine working examples you can compile and nine pattern templates accessible through a CLI tool. Use it when you need correct embedded code fast instead of debugging millis() wraparound or fighting I2C pullup issues at 2am. The pattern docs are solid and the quality rules actually enforce things like avoiding String objects and checking SRAM usage, which matters on constrained hardware.
- skills.sh installs
- 316
- GitHub stars
- 19
- last updated
- Aug 21, 2026
Install
$ npx -y skills add wedsamuel1230/arduino-skills --skill arduino-code-generator --agent claude-codeInstalls into .claude/skills of the current project.
Files
Arduino Code Generator
Generate production-quality Arduino code snippets for sensors, actuators, communication, and embedded patterns.
Quick Start
Browse example sketches:
# See 9 production-ready examples in examples/ folder
ls examples/
# config-example.ino, filtering-example.ino, buttons-example.ino,
# i2c-example.ino, csv-example.ino, scheduler-example.ino,
# state-machine-example.ino, hardware-detection-example.ino,
# data-logging-example.ino
List available patterns:
uv run --no-project scripts/generate_snippet.py --list
Generate code for specific pattern and board:
uv run --no-project scripts/generate_snippet.py --pattern i2c --board esp32
uv run --no-project scripts/generate_snippet.py --pattern buttons --board uno --output button.ino
Interactive mode:
uv run --no-project scripts/generate_snippet.py --interactive
Target Gate
Sponsors
Details
- Repository
- github.com/wedsamuel1230/arduino-skills
- Categories
- DevOps & CI/CD, Automation & Workflows
- First seen
- Jun 3, 2026