wedsamuel1230/arduino-skills/hardware-tdd

Claude Code and agent skill by wedsamuel1230/arduino-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when planning tests for Arduino, ESP32, ESP32-S3, Pico, or Pico W firmware; deciding what can run off-target; using Wokwi or simulation; writing host fakes; or accepting a physical hardware feature without confusing compile proof with system proof.

Install

npx vskill@latest install wedsamuel1230/arduino-skills/hardware-tdd

SKILL.md

Hardware TDD

Build the test ladder before claiming a feature is complete. Pure behavior can often be tested off-target; voltage, pin mux, timing under load, and physical assembly still require target evidence.

Intake

Record exact board/revision, framework/toolchain, hardware invariants, safety inhibits, simulator model, available instruments, test fixtures, and the proof stage required by the user.

Process

  1. Turn requirements into observable behavior and safety invariants.
  2. Write host tests for pure C/C++ logic using fakes for time, serial, sensors,

and actuators. Keep hardware adapters thin.

  1. Use Wokwi or another simulator only for peripherals and timing that its model

actually represents; record model limitations.

  1. Run an exact-board compile and static checks with the selected toolchain.
  2. Create a one-change target checklist: power-off continuity, controlled

power-up, input observation, output inhibit, reset/recovery, and logs.

  1. Ask a physical gate for measurements, photos, or serial output. Do not infer

target success from a host test or compile log.

  1. Record failures as evidence and keep the next test bounded.

Test matrix

LayerExampleProvesDoes not prove
Hostdebounce/state/packet parserdeterministic logicpin voltage or wiring
Simulationmodeled sensor/LED/UARTmodeled interactionsregulator, clone, EMI, thermal behavior
Buildexact FQBN/environmentsource and dependency compileupload or behavior
Targetserial, meter, scope, photoobserved hardware behaviorfield reliability unless loaded
Systemintegrated load/failure caserequirement under scenariofuture deployment safety

Anti-rationalization

ShortcutResponse
"The unit test passed."Keep all physical and system stages open.
"Wokwi matches the board."List what the model omits and verify those items on hardware.
"The sketch compiled."Require upload identity and target observations separately.
"The photo proves it works."Require board identity, measurement context, and observed result.
"Mark it done and test later."Keep the loop item blocked or needs-review until evidence exists.

Verification

  • Every requirement maps to a test, proof stage, and artifact path.
  • Host/simulation/build/target/system results are labeled separately.
  • Physical-only steps emit the concrete Physical gate format from

embedded-project-loop.

  • Failed and unverified cases remain visible in the report.

Shared output contract

Use the shared Arduino skill contract: state assumptions, required tools and versions, implementation steps, tests/evidence by proof stage, known limitations, and recovery/security notes.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
22
7-day trend score
16

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/wedsamuel1230/arduino-skills/hardware-tdd/badge)](https://verified-skill.com/skills/wedsamuel1230/arduino-skills/hardware-tdd)

Something wrong with this skill or its page? Tell us.