wedsamuel1230/embedded-engineering-skills

arduino-workflow-router

Route Arduino and embedded-system requests across Arduino IDE, Arduino CLI, PlatformIO, and vendor-specific tools.

Zobacz źródło

Jak używać

  1. Skopiuj polecenie instalacji i sprawdź źródła przed instalacją we własnym środowisku agenta.
  2. W oryginale sprawdź wymagane narzędzia, dane dostępowe i obsługiwane środowiska.
  3. Opisz dane wejściowe i oczekiwany rezultat; porównaj wynik ze źródłami.
npx skills add https://github.com/wedsamuel1230/embedded-engineering-skills --skill arduino-workflow-router

Przed rozpoczęciem

  • Instalacja nie obejmuje subskrypcji modelu, limitu API ani uprawnień do plików.
  • Gwiazdki i instalacje pokazują aktywność, a nie niezależny test jakości lub bezpieczeństwa.
Oryginalny dokument Skill

Treść z repozytorium z zachowaniem nagłówków, przykładów, kodu, tabel, linków i obrazów.

Embedded Workflow Router

Use this skill as the concise entrypoint for complete or cross-discipline embedded work. For a focused task with a confirmed board and one stage, load the specialist skill directly.

Recommended lifecycle entry

For any physical or multi-session request, load embedded-project-loop first. It establishes the goal, one next action, evidence boundary, rollback path, and user-owned physical gate. Then return here for board and toolchain routing.

Load First

  1. Read ../../docs/arduino-skill-contract.md.
  2. If the work spans sessions or physical actions, embedded-project-loop is

the recommended first skill; create its goal/next-todo state before implementation and keep it open until the evidence gate is satisfied.

  1. Fill ../../docs/board-support/board-profile-template.md or state why it is

unnecessary.

  1. When a named board or board family must be resolved, load

../board-support/SKILL.md and its indexed profile before selecting pins.

  1. Read references/board-intake.md for board and hardware checks.
  2. Read references/toolchain-selection.md for IDE, CLI, PlatformIO, or vendor

version and library compatibility.

  1. Select specialist skills from the routing table below.
  2. Read references/failure-recovery.md before upload, boot, power, or firmware

recovery actions; read references/connected-device-security.md for any networked or updateable device.

This is the load-first order. Load on demand: references are loaded only when their trigger applies, so the router stays under 500 lines and detailed variants remain progressive disclosure.

Trigger precedence

  • For combined, underspecified, or cross-discipline requests, this router owns

the first route. Load it before any overlapping specialist, including arduino-project-builder or board-selection.

  • For physical or multi-session requests, load embedded-project-loop before

this router, then return to this router for the combined specialist route.

  • For a single-stage request with a confirmed board and toolchain, load the

narrowest specialist directly.

  • For a named-board reference or capability lookup, board-support owns the

exact identity and source-backed profile. board-selection owns choosing or replacing a board from requirements and may consume its handoff.

  • A board-choice request without implementation, wiring, or lifecycle work may

start at board-selection; once another discipline appears, return to this router and preserve the combined-workflow order.

  • Do not load both arduino-serial-monitor and a second serial-debugging skill;

the existing serial monitor owns structured runtime evidence.

Intake Gate

Do not invent a pin, voltage, current limit, memory size, peripheral, protocol, library version, or upload command. Ask for the missing value or proceed with a clearly labeled assumption and a verification step. Record the exact board, framework, toolchain, host, dependency versions, and desired proof stage.

Routing Table

NeedLoad nextEvidence focus
Zephyr Developmentzephyr-developmenttarget-specific evidence
STM32 Developmentstm32-developmenttarget-specific evidence
Pico SDK Developmentpico-sdk-developmenttarget-specific evidence
MicroPython Developmentmicropython-developmenttarget-specific evidence
Probe Debuggingprobe-debuggingtarget-specific evidence
Fault Forensicsfault-forensicstarget-specific evidence
Bus Debuggingbus-debuggingtarget-specific evidence
Boot and Flash Recoveryboot-flash-recoverytarget-specific evidence
Memory and Timing Debuggingmemory-timing-debuggingtarget-specific evidence
USB Debuggingusb-debuggingtarget-specific evidence
Requirements or board choiceboard-selection, then board-support, then arduino-project-builderdecision and design
Named board reference or capability lookupboard-support, then the relevant specialistexact identity and source-backed constraints
Pin map or GPIO declarationsboard-support, then pin-assignment, then wiring-safety-checkboard constraints and hardware
Wiring, voltage, current, or pull-upswiring-safety-check, power-budget-calculator, circuit-debuggerhardware
ADC/sensor noise, sampling, filtering, or signal conditioningboard-support, wiring-safety-check, sensor-signal-filtering, then sensor-calibration-workbench after detection is provensignal-chain design and measured hardware behavior
Code pattern or board abstractionarduino-code-generator, non-blocking-patterns, memory-budgetingbuild and memory
Library or framework dependencylibrary-selection, then the code/project skillcompatibility and memory
Datasheet, component, or protocol uncertaintydatasheet-interpreter, i2c-bringup-diagnosticianhardware assumptions
Compile, board discovery, upload, or portarduino-cli-skill plus error-message-explainerbuild and upload
PlatformIO, native ESP-IDF, mixed builds, CI or SDK migrationembedded-build-workflow; use arduino-cli-skill only for an Arduino CLI branchexplicit framework/manager and build matrix
Control-loop deadline, actuator ownership, overload or action timingrealtime-control-design, then freertos-patterns for primitivesdesign budget and measured timing
UDP/ESP-NOW telemetry, AP+STA coexistence or radio trace analysiswireless-telemetry, then arduino-serial-monitor for capture/desktop integrationfreshness, protocol and measurement scope
Runtime logs or field symptomsarduino-serial-monitor, error-message-explainer, hardware-tddhardware and system
Timing, blocking, or watchdog risknon-blocking-patterns, hardware-tddbuild and system
Memory or footprint riskmemory-budgeting, library-selectionbuild and runtime
Calibration or sensor driftsensor-calibration-workbench after detection is provensystem
Complete applicationarduino-project-builder, then the relevant domain skillsdesign and build
Connected update or field deploymentota-deployment-guardian plus the security referencedeployment
Parts, PCB-adjacent, or enclosure workbom-generator, enclosure-designer, readme-generatordesign and maintenance
Host/simulation/target test planhardware-tdd and embedded-project-loop when physical work is pendingevidence
Multi-session, physical, or recovery workembedded-project-loop first, then this routerdurable state and user-owned gate

Combined Workflows

Toolchain precedence: when a repository selects PlatformIO or a native SDK, embedded-build-workflow owns build intake. Do not route native app_main, Zephyr, Pico SDK or Rust projects to Arduino CLI by default. See the support matrix before claiming a framework, target or host is validated. Consult the active BottleSumo lessons for mixed builds, separate flash/PSRAM settings, wireless evidence, OTA and bench control.

Skills can be used together. Keep one owner for each decision and pass its artifacts to the next skill. For a combined request, use this concise default order:

loop (if long-running) -> board selection/intake -> wiring safety -> library/memory -> project/code/timing -> toolchain build/upload -> serial and hardware tests -> system/calibration -> deployment/security/maintenance

Default combined order: arduino-workflow-router -> board-selection -> board-support -> pin-assignment -> wiring-safety-check -> sensor-signal-filtering -> non-blocking-patterns -> arduino-serial-monitor -> hardware-tdd. Start with embedded-project-loop when the work spans sessions or physical gates, then keep its next-todo and evidence ledger open through the later stages.

If the user already supplied an exact, supported board identity, skip board-selection and begin with board-support; never skip board-support before pin or electrical advice.

  • Battery-powered Wi-Fi sensor: board intake -> datasheet -> power ->

project builder -> code generator -> toolchain -> serial/calibration -> OTA security -> maintenance README.

  • Uno R4 WiFi upload incident: board-family reference -> IDE/CLI discovery

-> serial and error diagnosis -> USB/power checks -> boot recovery -> upload proof -> runtime/system proof. See ../../docs/board-support/uno-r4-family.md.

  • Robot controller: board intake -> project builder -> power/BOM -> circuit

and code -> serial/system tests -> enclosure -> signed update and rollback.

  • Multi-board sensor library: board profiles -> datasheets/protocol bringup

-> code generator -> IDE/CLI/PlatformIO branches -> per-board build proof and documented unsupported behavior.

  • Four-button ESP32 controller: board selection -> pin assignment -> wiring

safety -> non-blocking debounce -> code generator -> build proof -> hardware gate -> serial/system evidence.

Do not treat a table row as proof that a skill was run. Report which skills were actually used, which artifacts they produced, and which evidence stages remain unverified.

Output Contract

Use ../../docs/arduino-skill-contract.md: state assumptions, required tools and versions, implementation steps, tests/evidence by proof stage, known limitations, and recovery/security notes.

Powiązane zadania

z tego samego repozytorium

Więcej Skills

Wszystkie Skills
wedsamuel1230
Społeczność

arduino-code-generator

Generate Arduino and embedded C++ snippets for sensors, actuators, buses, state machines, timing, data logging, and hardware abstraction. Use when a user requests implementation code and provide the exact board, framework, toolchain, pins, voltage, memory, and library versions first. Bundled templates target UNO, ESP32, and RP2040; document unsupported board or vendor-framework behavior instead of guessing.

instalacje
1
GitHub Stars
26
Aktualizacja
15 paź
wedsamuel1230
Społeczność

circuit-debugger

Systematic hardware debugging guide for Arduino/ESP32/RP2040 circuits. Use when user reports: circuit not working, components getting hot, no power, intermittent failures, unexpected behavior, sensor not responding, LED not lighting, motor not spinning. Guides through power checks, continuity testing, signal tracing, and component isolation using multimeter techniques.

instalacje
1
GitHub Stars
26
Aktualizacja
15 paź
wedsamuel1230
Społeczność

datasheet-interpreter

Extracts key specifications from component datasheet PDFs for maker projects. Use when user shares a datasheet PDF URL, asks about component specs, needs pin assignments, I2C addresses, timing requirements, or register maps. Downloads and parses PDF to extract essentials. Complements datasheet-parser for quick lookups.

instalacje
1
GitHub Stars
26
Aktualizacja
15 paź
wedsamuel1230
Społeczność

error-message-explainer

Explain Arduino and embedded compiler, upload, boot, power, and runtime errors in plain English. Use when a user shares an error or failure from Arduino IDE, Arduino CLI, PlatformIO, or a vendor-specific tool. Separate build, upload, hardware, and system evidence and give a board-specific recovery path without assuming UNO, ESP32, or RP2040 behavior.

instalacje
1
GitHub Stars
26
Aktualizacja
15 paź