wedsamuel1230 avatar

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-code

Installs 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

More from wedsamuel1230/arduino-skills

All 2
1jezweb avatargoogle-chat-apijezweb/claude-skillsBuild Google Chat bots and webhooks with Cards v2, interactive forms, and Cloudflare Workers. Covers Spaces/Members/Reactions APIs, bearer token verification, a314skills.sh installs
2jezweb avatarmcp-cli-scriptsjezweb/claude-skillsBuild CLI scripts alongside MCP servers for terminal environments. File I/O, batch processing, caching, richer output formats. Templates for TypeScript scripts 313skills.sh installs
3jezweb avataropenai-assistantsjezweb/claude-skillsBuild stateful chatbots with OpenAI Assistants API v2 - Code Interpreter, File Search (10k files), Function Calling. Prevents 10 documented errors including vec313skills.sh installs
4recallnet avatargoal-plannerrecallnet/goal-plannerPlan and file goals and feature issues through conversation. Use when the user wants to create goals, plan features, file issues, or discuss what to build next.312skills.sh installs
5incept5 avatareve-troubleshootingincept5/eve-skillpacksTroubleshoot common Eve deploy and job failures using CLI-first diagnostics.310skills.sh installs
6pproenca avatarpulumipproenca/dot-skillsPulumi infrastructure as code performance and reliability guidelines. This skill should be used when writing, reviewing, or refactoring Pulumi code to ensure op310skills.sh installs