8051-mcu-debug
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…
Use when adding, configuring, or debugging Unity, Ceedling, CMock, or embedded C unit tests, mocks, fixtures, build variants, or CI test runs
Claude Code
$ npx -y skills add easyzoom/aix-skills --skill unity-ceedling-integration --agent claude-code
Codex
$ npx skills add easyzoom/aix-skills --skill unity-ceedling-integration -a codex -y
Cursor
$ npx skills add easyzoom/aix-skills --skill unity-ceedling-integration -a cursor -y
Gemini CLI
$ npx skills add easyzoom/aix-skills --skill unity-ceedling-integration -a gemini-cli -y
GitHub Copilot
$ npx skills add easyzoom/aix-skills --skill unity-ceedling-integration -a github-copilot -y
OpenCode
$ npx skills add easyzoom/aix-skills --skill unity-ceedling-integration -a opencode -y
Windsurf
$ npx skills add easyzoom/aix-skills --skill unity-ceedling-integration -a windsurf -y
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,…
Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers,…
Use when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start,…
Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications,…
Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image…
Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.