8051-mcu-debug
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…
Use when integrating, designing, configuring, or debugging embedded StateMachine libraries, finite state machines, event transitions, or MCU state-driven workflows
Claude Code
$ npx -y skills add easyzoom/aix-skills --skill embedded-state-machine-libs --agent claude-code
Codex
$ npx skills add easyzoom/aix-skills --skill embedded-state-machine-libs -a codex -y
Cursor
$ npx skills add easyzoom/aix-skills --skill embedded-state-machine-libs -a cursor -y
Gemini CLI
$ npx skills add easyzoom/aix-skills --skill embedded-state-machine-libs -a gemini-cli -y
GitHub Copilot
$ npx skills add easyzoom/aix-skills --skill embedded-state-machine-libs -a github-copilot -y
OpenCode
$ npx skills add easyzoom/aix-skills --skill embedded-state-machine-libs -a opencode -y
Windsurf
$ npx skills add easyzoom/aix-skills --skill embedded-state-machine-libs -a windsurf -y
name: embedded-state-machine-libs description: Use when integrating, designing, configuring, or debugging embedded StateMachine libraries, finite state machines, event transitions, or MCU state-driven workflows
Use this skill for embedded state machine libraries and hand-written finite state machines. The core is to make states, events, transitions, side effects, and invalid transitions explicit and verifiable.
Use this skill when:
Do not use this skill for RTOS scheduling issues unless the state machine is the primary abstraction.
Ask for:
1. Define states and events. Names should reflect system meaning, not implementation steps.
1. Separate transition from action. Make it clear what changes state and what side effects run because of the transition.
1. Define invalid event behavior. Ignore, log, assert, error transition, or recovery must be explicit.
1. Guard reentrancy. Avoid nested transitions unless the library explicitly supports them.
1. Add observability. Log state transitions, current state, event source, and error transitions.
1. Test transition table. Validate normal path, invalid events, timeout events, and recovery path.
Before claiming state-machine behavior works:
User:
设备升级状态机偶尔卡在 downloading。
Agent:
1. Asks for states, events, timeout handling, and transition logs. 1. Checks whether success/error/timeout events race. 1. Verifies recovery transitions and invalid event behavior.
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.