Stm32 Unit Sil Hil Testing Skill — Testing skill for Claude Code
AI agent skill that builds a test pyramid for STM32 firmware in C/C++: unit tests, host system tests, SIL in Renode, HIL on a real board, and CI.
How to install Stm32 Unit Sil Hil Testing Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open IgStep/stm32-unit-sil-hil-testing-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Stm32 Unit Sil Hil Testing Skill does
AI agent skill that builds a test pyramid for STM32 firmware in C/C++: unit tests, host system tests, SIL in Renode, HIL on a real board, and CI. Works step by step and traces tests to requirements. For Claude Code, Codex, Cursor and other agents that read SKILL.md.
Alternatives in Testing
- Crlf — Test for CRLF / HTTP response-splitting and host-header injection — Set-Cookie injection, cache poisoning, res 4.5k ★
- Test Discovery — Discover and write missing tests for altimate-code 817 ★
- Test After Change Diagnostics.V1 — If any program code changes, run unit-tests and follow up on the test-result (fix code if there is an error) 272 ★
README
stm32-unit-sil-hil-testing-skill
An agent skill that sets up a test pyramid for STM32 firmware written in C or C++. It guides your AI coding agent (Claude Code, Codex, Cursor and others that read `SKILL.md`) step by step through:
| Level | What runs | Default tools |
|---|---|---|
| Unit | firmware logic + fake hardware on your PC | Unity (C), GoogleTest (C++), gcovr |
| Host system | the logic as a PC program, black-box tests | pytest |
| SIL | the real .elf in an emulator |
Renode, Robot Framework (renode-test) |
| HIL | the real binary on the real board | Raspberry Pi (or any Linux test agent), pyserial, OpenOCD/st-flash |
| CI | all of the above on every push, HIL on demand | GitHub Actions |
It starts by introducing a **seam** between logic and hardware, so the same code runs on the board, in unit tests and in a PC simulation. Each step ends with a clear "done" check, and every test is traced to a requirement.
**Chip not in Renode?** The skill includes a platform ladder: reuse the family platform, patch missing registers (e.g. RCC ready bits), add small models, or narrow SIL scope and record the gap.
Install
Claude Code (plugin marketplace)
/plugin marketplace add IgStep/stm32-unit-sil-hil-testing-skill
/plugin install stm32-unit-sil-hil-testing@igstep-skills
The skill is then available as `/stm32-unit-sil-hil-testing:stm32-unit-sil-hil-testing` and loads on its own when you ask for firmware tests.
Any agent (copy the folder)
Copy `plugins/stm32-unit-sil-hil-testing/skills/stm32-unit-sil-hil-testing/` into your agent's skills folder, e.g. `~/.claude/skills/` for Claude Code or `.claude/skills/` inside one project.
Usage
Open your STM32 project (CubeIDE, CMake or Make) and ask, for example:
Add unit tests to this firmware.
Set up SIL in Renode for this project.
Run with no argument, the skill surveys the project (hardware accesses, ISRs, clock, toolchain), drafts `docs/TEST_PLAN.md` with requirements and the level p
Related Skills
Piv
Self-recursive development loop with real auth testing, live DB research, 100% test pass requirements, and MAN
Data Quality Agent
Agentic AI that investigates dbt test failures — traces BigQuery lineage to root cause and generates incident
Make Traces
Make realistic test traces when you have no real ones yet
Plan Devex Review
Developer Experience review for APIs, CLIs, SDKs, internal tools. Interactive — explores devs personas, benchm
Vnv Sprint Prep
V&V (Validation and Verification) sprint preparation — check cross-platform parity on the dev board, clone spr
E2e
Generate and run end-to-end tests with Playwright. Creates test journeys, runs tests, captures screenshots/vid
Related Agents
05 QA Testing
Quality assurance and testing specialist. Creates comprehensive test suites following the test pyramid approac
Firmware Test Writer
Writes and runs host-based unit tests (Unity) for microcontroller firmware modules — protocol parsers, state m
Engineering Embedded Firmware Engineer
Specialist in bare-metal and RTOS firmware - ESP32/ESP-IDF, PlatformIO, Arduino, ARM Cortex-M, STM32 HAL/LL, N