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 debugging FreeRTOS kernel behavior, task scheduling, priorities, stacks, heap schemes, tick interrupts, ISR APIs, queues, semaphores, timers, or deadlocks
$ npx -y skills add easyzoom/aix-skills --skill freertos-kernel-debug --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/freertos-kernel-debugContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when debugging FreeRTOS kernel behavior, task scheduling, priorities, stacks, heap schemes, tick interrupts, ISR APIs, queues, semaphores, timers, or deadlocks
name: freertos-kernel-debug description: Use when debugging FreeRTOS kernel behavior, task scheduling, priorities, stacks, heap schemes, tick interrupts, ISR APIs, queues, semaphores, timers, or deadlocks
Use this skill to debug FreeRTOS by proving tick, scheduler state, task stacks, heap, ISR boundaries, and synchronization ownership. Many FreeRTOS failures are contract violations around interrupt priority or blocking context.
Use this skill when:
event groups, streams, or task notifications.
overflow, heap exhaustion, priority inversion, or ISR API misuse.
tools, or multiple heap implementations.
Do not use this skill for RTOS-agnostic firmware architecture questions. Use `rtos-debug` for broader RTOS triage.
Ask for:
1. Enable kernel evidence. Turn on `configASSERT`, stack overflow checks, malloc failed hook, and trace-friendly task names where possible.
1. Prove the tick and scheduler. Confirm SysTick/timer setup, interrupt priority, scheduler start, and idle task execution.
1. Audit task resources. Check priority, stack high-water mark, blocking calls, and CPU hogging loops.
1. Audit ISR boundaries. Match every ISR call to the `FromISR` API and verify interrupt priority is allowed to call the kernel.
1. Inspect synchronization. Identify queue ownership, mutex holders, priority inheritance, timeouts, and event group semantics.
1. Validate heap and timers. Confirm selected heap scheme, fragmentation risk, timer task priority, and timer command queue length.
Before claiming FreeRTOS behavior is fixed:
User:
FreeRTOS 跑一会儿随机卡死。
Agent:
1. Enables `configASSERT`, stack overflow, and malloc failed hooks. 1. Captures task states, stacks, heap, and interrupt priorities. 1. Checks ISR API usage and blocking calls before changing task priorities.
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…