8051-mcu-debug
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers, UART, or startup failures
Use when adding, configuring, or debugging Unity, Ceedling, CMock, or embedded C unit tests, mocks, fixtures, build variants, or CI test runs
$ npx -y skills add easyzoom/aix-skills --skill unity-ceedling-integration --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/unity-ceedling-integrationContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when adding, configuring, or debugging Unity, Ceedling, CMock, or embedded C unit tests, mocks, fixtures, build variants, or CI test runs
name: unity-ceedling-integration description: Use when adding, configuring, or debugging Unity, Ceedling, CMock, or embedded C unit tests, mocks, fixtures, build variants, or CI test runs
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:
1. Identify testable units. Start with pure logic, parsers, state machines, and error handling before register-level code.
1. Define hardware boundaries. Wrap HAL calls, RTOS calls, time, logging, and storage behind interfaces that can be mocked or faked.
1. Configure Ceedling deliberately. Set source paths, include paths, defines, vendor files, and plugins in `project.yml`.
1. Write tests around behavior. Prefer input/output and state transitions over checking private implementation details.
1. Use CMock where it clarifies intent. Mock external collaborators, but use small fakes for stateful dependencies when expectations become brittle.
1. Add CI and coverage last. Keep the command non-interactive and fast enough to run on every change.
Before claiming tests are useful:
User:
想给驱动状态机加 Ceedling 测试。
Agent:
1. Separates register access from state transition logic. 1. Adds Unity tests for events, retries, timeout, and invalid transitions. 1. Uses CMock only for external HAL/time dependencies.
AIX Skills is a public collection of Agent Skills, templates, and references for building repeatable AI workflows.
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers, UART, or startup failures
Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers, middleware, or application…
Use when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start, watchdog host mode, NTC/JEITA…
Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications, pairing, connection parameters,…
Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image validation, rollback, or boot…
Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing, filters, or embedded automotive…