Designs and debugs embedded state machine libraries, finite state machines, event transitions, and MCU state-driven workflows.
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 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:
Define states and events. Names should reflect system meaning, not implementation steps.
Separate transition from action. Make it clear what changes state and what side effects run because of the transition.
Define invalid event behavior. Ignore, log, assert, error transition, or recovery must be explicit.
Guard reentrancy. Avoid nested transitions unless the library explicitly supports them.
Add observability. Log state transitions, current state, event source, and error transitions.
Test transition table. Validate normal path, invalid events, timeout events, and recovery path.
Before claiming state-machine behavior works:
User:
设备升级状态机偶尔卡在 downloading。
Agent:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
state-machine, embedded, finite-state-machine, mcu, event-driven, debugging
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/aix-skills:embedded-state-machine-libsfrom aix-skills
npx claudepluginhub easyzoom/aix-skills --plugin aix-skillsOther plugins' skills for the same job