8051-mcu-debug
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…
Use when debugging embedded RTOS scheduling, tasks, threads, stacks, priorities, mutexes, queues, interrupts, timers, or FreeRTOS, RT-Thread, Zephyr, ThreadX, or CMSIS-RTOS issues
Claude Code
$ npx -y skills add easyzoom/aix-skills --skill rtos-debug --agent claude-code
Codex
$ npx skills add easyzoom/aix-skills --skill rtos-debug -a codex -y
Cursor
$ npx skills add easyzoom/aix-skills --skill rtos-debug -a cursor -y
Gemini CLI
$ npx skills add easyzoom/aix-skills --skill rtos-debug -a gemini-cli -y
GitHub Copilot
$ npx skills add easyzoom/aix-skills --skill rtos-debug -a github-copilot -y
OpenCode
$ npx skills add easyzoom/aix-skills --skill rtos-debug -a opencode -y
Windsurf
$ npx skills add easyzoom/aix-skills --skill rtos-debug -a windsurf -y
name: rtos-debug description: Use when debugging embedded RTOS scheduling, tasks, threads, stacks, priorities, mutexes, queues, interrupts, timers, or FreeRTOS, RT-Thread, Zephyr, ThreadX, or CMSIS-RTOS issues
Use this skill to debug RTOS problems by separating scheduler state, task stack health, synchronization, interrupt priority, timing, and resource ownership. Start from observable RTOS state before changing priorities or adding delays.
Use this skill when:
Do not use this skill before the target is known to boot and run at least some firmware. For RTOS-specific deep dives, prefer `freertos-kernel-debug`, `zephyr-integration`, or `rt-thread-integration` when the RTOS is identified.
Ask for:
1. Confirm the scheduler starts. Verify the system reaches scheduler start and at least one known task runs.
1. Capture task state. Collect task names, states, priorities, stack high water marks, CPU/runtime stats, and blocked objects.
1. Check stack and heap first. Stack overflow and heap exhaustion often masquerade as random RTOS failures.
1. Inspect synchronization. Identify which task owns each mutex, which queue is full/empty, and whether ISR-safe APIs are used from interrupts.
1. Check interrupt priority rules. Ensure ISR priorities are legal for RTOS API calls and do not starve the scheduler tick.
1. Replace guesses with probes. Use trace hooks, assertions, watermarks, counters, or event logs instead of adding arbitrary delays.
Before claiming RTOS progress:
User:
FreeRTOS 有个任务偶尔不跑,最后看门狗复位。
Agent:
1. Asks for task list, priorities, stack sizes, watchdog owner, and task states. 1. Checks high water marks, heap, tick, and blocked objects. 1. Verifies ISR priority and queue/mutex ownership before suggesting priority changes.
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.