platformio
Skill by o2scale
Gives an AI assistant a reference for PlatformIO embedded development. It covers project setup, platformio.ini configuration, builds, uploads, debugging and library management for Arduino, ESP-IDF and STM32 projects.
Install platformio
Built from the published package, never by AI.
git clone --depth 1 https://github.com/o2scale/electronics-agent-kit /tmp/electronics-agent-kit && mkdir -p ~/.claude/skills && cp -r /tmp/electronics-agent-kit/.agent/skills/platformio ~/.claude/skills/platformioRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/o2scale/electronics-agent-kit /tmp/electronics-agent-kit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/electronics-agent-kit/.agent/skills/platformio ~/.gemini/antigravity-cli/skills/platformioAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The platformio skill is a reference for the PlatformIO embedded development platform. It covers installing PlatformIO with pip, the standard project layout, and writing platformio.ini files with environments for boards such as ESP32, ESP8266, STM32, Raspberry Pi Pico and AVR. It also lists CLI commands for building, uploading, serial monitoring, testing, listing devices, searching boards and managing libraries.
The skill includes build flag examples, library dependency syntax with version constraints, shared and extended environments, Unity-based unit tests including native testing, debug configuration, and custom pre and post build Python scripts. It also lists common issues such as upload failures and missing libraries, with suggested fixes. It is aimed at developers working on embedded projects with PlatformIO who want a quick command and configuration reference.
Written from the project's SKILL.md and checked against it.
What it can do
- Project setupDescribes the standard PlatformIO project layout with src, include, lib and test folders.
- platformio.ini configurationShows environments, platforms and boards for ESP32, STM32, RP2040 and AVR.
- Build and uploadCovers pio run commands, clean builds and uploading to a specific port.
- Serial monitorCovers pio device monitor with baud rate, port and filter options.
- Unit testingCovers pio test with the Unity framework and a native test environment.
- Library managementCovers pio pkg commands to search, install, list and update libraries.
- Build flagsGives examples of defines, include paths, warning flags and ESP32-specific options.
- DebuggingShows debug configuration and the pio debug command, including a GDB interface option.
- Custom scriptsExplains pre and post build Python scripts loaded through extra_scripts.
- TroubleshootingLists common issues such as upload failures, missing libraries and wrong board IDs.
What you need
- Python with pip to install PlatformIO
- A supported development board for building and uploading
Try asking
- Set up a PlatformIO project for an ESP32 with the Arduino framework
- Write a platformio.ini with debug and release environments for my board
- Add ArduinoJson to my PlatformIO project and show the lib_deps line
Good to know
- The platform table covers only espressif32, espressif8266, ststm32, raspberrypi and atmelavr.
- Debugging examples assume a compatible debug tool such as esp-prog.
Security check
B- Allowed to use Write, Edit, Bash without limitsIn
SKILL.md
Checked automatically: .agent/skills/platformio/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditGlobGrepBash
Alternatives to platformio
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
platformio: common questions
Which platforms and boards does the reference cover?
The common platforms table lists espressif32, espressif8266, ststm32, raspberrypi and atmelavr with example boards. The source notes that PlatformIO supports 1000+ boards and suggests using pio boards to search.
Can I run unit tests without hardware?
The source includes a native testing setup using platform = native and test_framework = unity. It also shows an on-device test folder for tests on a board.
How are library versions specified in lib_deps?
The source shows exact versions, caret and tilde ranges, minimum versions, GitHub repositories with branches or tags, and local file paths.
How do I install platformio?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is platformio free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is platformio safe to use?
It scores 54 of 100. Grades: maintenance D, licence A, quality C. Security check: grade B (allowed to use write, edit, bash without limits). Review the code before you install. How grades work.
What are alternatives to platformio?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
