Agent skill
pio-build
Use when the user asks to "build", "compile", "make", or test changes in a PlatformIO project, or after making code changes when the user wants to verify they work.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/pio-build
SKILL.md
PlatformIO Build
When building a PlatformIO project:
- Run
pio runto build the project - If there are compilation errors:
- Parse the error messages
- Show which files and lines have errors
- Suggest fixes if possible
- If build succeeds, show the firmware size (RAM/Flash usage)
If there are multiple environments in platformio.ini, ask which one to build or build all.
Common Build Commands
pio run # Build default environment
pio run -e esp32dev # Build specific environment
pio run -t clean # Clean build
RFC2217 Configuration
For remote upload/monitor via Serial Pi (RFC2217), add to platformio.ini:
upload_port = rfc2217://192.168.0.87:4001?ign_set_control
monitor_port = rfc2217://192.168.0.87:4001?ign_set_control
Check http://192.168.0.87:8080 for device port assignments.
Error Handling
- Parse compiler errors and map to source files
- Check for missing libraries in
platformio.ini - Verify
lib_depsare correctly specified
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?