8051-mcu-debug
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…
Use when debugging FreeRTOS kernel behavior, task scheduling, priorities, stacks, heap schemes, tick interrupts, ISR APIs, queues, semaphores, timers, or deadlocks
Claude Code
$ npx -y skills add easyzoom/aix-skills --skill freertos-kernel-debug --agent claude-code
Codex
$ npx skills add easyzoom/aix-skills --skill freertos-kernel-debug -a codex -y
Cursor
$ npx skills add easyzoom/aix-skills --skill freertos-kernel-debug -a cursor -y
Gemini CLI
$ npx skills add easyzoom/aix-skills --skill freertos-kernel-debug -a gemini-cli -y
GitHub Copilot
$ npx skills add easyzoom/aix-skills --skill freertos-kernel-debug -a github-copilot -y
OpenCode
$ npx skills add easyzoom/aix-skills --skill freertos-kernel-debug -a opencode -y
Windsurf
$ npx skills add easyzoom/aix-skills --skill freertos-kernel-debug -a windsurf -y
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,…
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.