8051-mcu-debug
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…
Use when integrating, porting, configuring, or debugging embedded button/input libraries such as MultiButton or FlexibleButton
Claude Code
$ npx -y skills add easyzoom/aix-skills --skill embedded-input-libs --agent claude-code
Codex
$ npx skills add easyzoom/aix-skills --skill embedded-input-libs -a codex -y
Cursor
$ npx skills add easyzoom/aix-skills --skill embedded-input-libs -a cursor -y
Gemini CLI
$ npx skills add easyzoom/aix-skills --skill embedded-input-libs -a gemini-cli -y
GitHub Copilot
$ npx skills add easyzoom/aix-skills --skill embedded-input-libs -a github-copilot -y
OpenCode
$ npx skills add easyzoom/aix-skills --skill embedded-input-libs -a opencode -y
Windsurf
$ npx skills add easyzoom/aix-skills --skill embedded-input-libs -a windsurf -y
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,…
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.