Adds and configures Unity, Ceedling, and CMock for embedded C unit testing, with mocks, build variants, and CI integration.
Ships in aix-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill to add embedded C tests with Unity assertions, Ceedling builds, and CMock-generated mocks while keeping hardware code behind clear seams. Good embedded tests isolate logic from registers, clocks, and interrupts without pretending the hardware does not exist.
Use this skill when:
Do not use this skill for hardware-in-the-loop validation alone. Pair it with the relevant hardware or protocol skill.
Ask for:
Identify testable units. Start with pure logic, parsers, state machines, and error handling before register-level code.
Define hardware boundaries. Wrap HAL calls, RTOS calls, time, logging, and storage behind interfaces that can be mocked or faked.
Configure Ceedling deliberately.
Set source paths, include paths, defines, vendor files, and plugins in project.yml.
Write tests around behavior. Prefer input/output and state transitions over checking private implementation details.
Use CMock where it clarifies intent. Mock external collaborators, but use small fakes for stateful dependencies when expectations become brittle.
Add CI and coverage last. Keep the command non-interactive and fast enough to run on every change.
setUp or tearDown.Before claiming tests are useful:
User:
想给驱动状态机加 Ceedling 测试。
Agent:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
76 skills in this plugin
/8051-mcu-debugUse when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers, UART, or startup failures/avem-integrationUse when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers, middleware, or application architecture/battery-charger-fuel-gauge-integrationUse when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start, watchdog host mode, NTC/JEITA faults, and SOC jumps/ble-gatt-integrationUse when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications, pairing, connection parameters, or throughput/bootloader-debugUse when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image validation, rollback, or boot selection failures/canbus-integrationUse when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing, filters, or embedded automotive communication/aix-skills:unity-ceedling-integrationfrom aix-skills
npx claudepluginhub easyzoom/aix-skills --plugin aix-skillsOther plugins' skills for the same job