Skip to content
Skills Library
Programming · Automation

embedded-build-workflow

/embedded-build-workflow

Inspect, reproduce or migrate embedded build workflows with PlatformIO, native ESP-IDF, Arduino CLI, Zephyr/west, Pico SDK, STM32Cube or MicroPython. Use when a request concerns build environments, mixed frameworks, dependency pins, CI, SDK migration or flash/PSRAM configuration. Do not use for ordinary application logic, GPIO lookup or flashing an unknown device.

Licence
MIT
Last repository change
15.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
5
Scripts
2
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 15.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 2 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/check_memory_config.py, scripts/inspect_build.py

What it does and when to use it

Inspect, reproduce or migrate embedded build workflows with PlatformIO, native ESP-IDF, Arduino CLI, Zephyr/west, Pico SDK, STM32Cube or MicroPython. Use when a request concerns build environments, mixed frameworks, dependency pins, CI, SDK migration or flash/PSRAM configuration. Do not use for ordinary application logic, GPIO lookup or flashing an unknown device.

Original author description

Inspect, reproduce or migrate embedded build workflows with PlatformIO, native ESP-IDF, Arduino CLI, Zephyr/west, Pico SDK, STM32Cube or MicroPython. Use when a request concerns build environments, mixed frameworks, dependency pins, CI, SDK migration or flash/PSRAM configuration. Do not use for ordinary application logic, GPIO lookup or flashing an unknown device.

How it works

  1. Workflow
  2. Outputs
  3. Ownership
  4. Sources and verification
  5. Platform procedures
Original SKILL.md headings · 71 lines, 435 words
SKILL.md preview
---
name: embedded-build-workflow
description: Inspect, reproduce or migrate embedded build workflows with PlatformIO, native ESP-IDF, Arduino CLI, Zephyr/west, Pico SDK, STM32Cube or MicroPython. Use when a request concerns build environments, mixed frameworks, dependency pins, CI, SDK migration or flash/PSRAM configuration. Do not use for ordinary application logic, GPIO lookup or flashing an unknown device.
metadata: {triggers: "PlatformIO, ESP-IDF, mixed firmware builds, SDK migration, sdkconfig, CI, Zephyr, Pico SDK, STM32Cube, MicroPython"}
---

# Embedded Build Workflow

Produce an explicit project/environment matrix and the smallest reproducible
build path. A framework name is not target support or a successful build.

## Workflow

1. Read [the shared contract](../../docs/arduino-skill-contract.md). Preserve
   source locations and existing pinned tooling before proposing migration.
2. Run the offline inspector:
   `uv run scripts/inspect_build.py --project PATH`. It never builds, flashes,
   opens ports, installs packages or executes project scripts. It returns
   argument arrays, not shell commands. Treat custom build scripts as code to
   review before a separately authorized build.
3. Read [toolchain branches](references/toolchain-branches.md) for the detected
   framework. Choose the repository's build manager, not an Arduino default.
   If PlatformIO contains `extra_configs`, `extends` or interpolation, obtain
   its native computed configuration and retain unresolved status meanwhile.
   Do not share raw computed config when it contains credentials.
4. Record board/carrier revision, module suffix, flash and PSRAM separately,
   environment, host OS, tool versions and dependency resolution. For ESP32-S3
   memory work, read [memory evidence](references/memory-evidence.md); use
   `scripts/check_memory_config.py` only with the explicit physical profile and
   provenance of the selected generated sdkconfig.
5. Build every declared program/environment in scope. If an input program has
   no build path, report it; do not infer that every sketch needs a sibling INI
   when a root project already owns its source. Reuse the same matrix in CI.
6. Keep migration staged: baseline build, bounded API/driver adaptation, host
   tests, native build, then authorized target tests. Arduino libraries may rely
   on `Wire`, timing, callbacks and runtime initialization unavailable natively.
7. Report the inspected evidence and unverified stages. Use the
   [support matrix](../../docs/platform-support.md), not a family-wide badge.

## Outputs

- project paths; all declared environments; framework and manager;
- explicit versions, unresolved inheritance and custom-script trust boundary;
- build/test argument arrays and actual results, when execution was authorized;
- four memory outcomes: `confirmed-mismatch`, `consistent-with-inspected-evidence`,
  `unresolved`, `not-applicable`;
- source revision/input hashes, selected environment and artifact identity;
- upload, physical memory population and runtime behavior marked unverified.

## Ownership

The workflow router retains combined board/wiring/application work.
`arduino-cli-skill` owns Arduino CLI commands; native projects stay here.
`board-support` resolves board identity; this skill checks build configuration.
`realtime-control-design`, `freertos-patterns` and `wireless-telemetry` own their
respective designs. Keep pin and electrical claims outside the inspector.

## Sources and verification

The helpers use the Python standard library. Run
`uv run -m unittest discover -s tests -p test_embedded_workflows.py` from the
package root. See [source lessons](../../docs/research/2026-10-15-bottlesumo-lessons.md)
and [research lineage](../../docs/research/2026-10-15-universal-embedded-skills.md).
Tests of the helper prove its output and uncertainty handling, not a firmware
build. Run the trusted compile fixtures separately before claiming build proof.


## Platform procedures

Use the selected specialist for concrete native mechanics:
[Zephyr](../zephyr-development/SKILL.md),
[STM32Cube](../stm32-development/SKILL.md),
[Pico SDK](../pico-sdk-development/SKILL.md),
[MicroPython](../micropython-development/SKILL.md).
Rust is outside the current implementation scope.
Files in this package (5)
  • SKILL.md 4 KB
  • references/memory-evidence.md 3 KB
  • references/toolchain-branches.md 4 KB
  • scripts/check_memory_config.py 6 KB
  • scripts/inspect_build.py 6 KB

Versions

The database has no other skills named embedded-build-workflow.

Identical content appears in 1 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version 15da4e08f9f3 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100esp32-development
    Build, configure, flash, test, debug, and recover firmware for ESP32-family boards, including ESP-IDF C/C++, Arduino/PlatformIO, MicroPython, CircuitPython, ESPHome, Zephyr, Rust, and NuttX. Use when identifying an ESP32 board, choosing a framework, wiring GPIO or peripheral…
  • 100engineering-embedded-firmware-engineer
    Use when Codex should act as the Embedded Firmware Engineer specialist from Agency Agents. Specialist in bare-metal and RTOS firmware - ESP32/ESP-IDF, PlatformIO, Arduino, ARM Cortex-M, STM32 HAL/LL, Nordic nRF5/nRF Connect SDK, FreeRTOS, Zephyr
  • 95esp-pio-handling
    PlatformIO lifecycle for ESP32 firmware: platformio.ini, environment selection, build, upload and serial monitor, on local USB or through the testbench. Covers what differs from ESP-IDF — the .pio/build layout, the boot_app0 image an Arduino-framework build needs, and RFC2217…
  • 100embedded-best-practices
    Embedded systems development best practices for ESP32, FreeRTOS, and ESP-IDF. Use when writing firmware code, reviewing implementations, or learning about embedded patterns.
  • 100arduino-project-builder
    Build complete Arduino and embedded projects across Arduino IDE, Arduino CLI, PlatformIO, and vendor-specific toolchains. Use when users request an application combining firmware, sensors, actuators, networking, power, or deployment rather than a code snippet. The bundled…
  • 100esp32-wroom-30pin
    Firmware development for the 30-pin ESP32-WROOM-32 development board — the DOIT ESP32 DevKit V1 / ESP32 CH340 Type-C / NodeMCU-ESP32 30-pin form factor, 15 pins per side, CH340G or CP2102 USB-UART bridge, AMS1117 LDO, user LED on GPIO2. Use when working on a 30-pin ESP32 devkit…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.