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 integrating, porting, configuring, or debugging embedded button/input libraries such as MultiButton or FlexibleButton
$ npx -y skills add easyzoom/aix-skills --skill embedded-input-libs --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/embedded-input-libsContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when integrating, porting, configuring, or debugging embedded button/input libraries such as MultiButton or FlexibleButton
name: embedded-input-libs description: Use when integrating, porting, configuring, or debugging embedded button/input libraries such as MultiButton or FlexibleButton
Use this skill for button and simple input libraries such as MultiButton and FlexibleButton. The key is to align scan period, debounce time, electrical polarity, event semantics, and callback context.
Use this skill when:
Do not use this skill for complex UI frameworks or touch/display systems. Use LVGL-related skills when UI event routing dominates.
Ask for:
1. Confirm electrical polarity. Active-low buttons with pull-ups are common; software level must match hardware.
1. Choose a stable scan period. Debounce and click timing depend on the scan tick being regular.
1. Keep callbacks lightweight. Button callbacks should post events or set flags, not block or write flash.
1. Define event semantics. Decide whether long press also emits click, whether double click suppresses single click, and when release fires.
1. Test with measured input. Compare software events with a logic analyzer or GPIO trace when behavior is unclear.
Before claiming input handling works:
User:
MultiButton 长按会同时触发单击。
Agent:
1. Asks for scan period, event configuration, active level, and expected semantics. 1. Checks whether single click is delayed until double/long decision is known. 1. Verifies event order with a controlled press-duration test.
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…