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 ring buffers, circular buffers, FIFO queues, Ring-Buffer, or QueueForMcu libraries
$ npx -y skills add easyzoom/aix-skills --skill embedded-buffer-queue-libs --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/embedded-buffer-queue-libsContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when integrating, porting, configuring, or debugging embedded ring buffers, circular buffers, FIFO queues, Ring-Buffer, or QueueForMcu libraries
name: embedded-buffer-queue-libs description: Use when integrating, porting, configuring, or debugging embedded ring buffers, circular buffers, FIFO queues, Ring-Buffer, or QueueForMcu libraries
Use this skill for embedded ring buffers and lightweight queues. The core decision is ownership and concurrency: single producer/consumer, ISR-to-task, task-to-task, DMA-to-task, or multi-producer use.
Use this skill when:
Do not use this skill for RTOS-native queues unless the issue is about wrapping a custom buffer around them.
Ask for:
1. Define ownership. Specify exactly who writes, who reads, and whether there can be multiple producers or consumers.
1. Define full/empty semantics. Do not leave overwrite/drop/block behavior implicit.
1. Check capacity math. Many ring buffers hold `N-1` items to distinguish full from empty.
1. Protect concurrent access. Use interrupt masking, atomics, mutexes, or single-producer/single-consumer rules as appropriate.
1. Verify wraparound. Test writes and reads across the end of the buffer.
1. Add telemetry. Track high-water mark, overflow count, drop count, or queue full events.
Before claiming buffer/queue works:
User:
UART 中断收数据用 ring buffer,偶尔丢字节。
Agent:
1. Asks for producer/consumer contexts, baud, buffer size, overflow policy, and critical sections. 1. Checks N versus N-1 capacity and ISR/task race. 1. Adds overflow counters and tests burst input across wraparound.
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…