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 TinyUSB device, host, CDC, MSC, HID, MIDI, vendor class, descriptors, DCD, or USB enumeration issues
Claude Code
$ npx -y skills add easyzoom/aix-skills --skill tinyusb-integration --agent claude-code
Codex
$ npx skills add easyzoom/aix-skills --skill tinyusb-integration -a codex -y
Cursor
$ npx skills add easyzoom/aix-skills --skill tinyusb-integration -a cursor -y
Gemini CLI
$ npx skills add easyzoom/aix-skills --skill tinyusb-integration -a gemini-cli -y
GitHub Copilot
$ npx skills add easyzoom/aix-skills --skill tinyusb-integration -a github-copilot -y
OpenCode
$ npx skills add easyzoom/aix-skills --skill tinyusb-integration -a opencode -y
Windsurf
$ npx skills add easyzoom/aix-skills --skill tinyusb-integration -a windsurf -y
name: tinyusb-integration description: Use when integrating, porting, configuring, or debugging TinyUSB device, host, CDC, MSC, HID, MIDI, vendor class, descriptors, DCD, or USB enumeration issues
Use this skill to integrate TinyUSB by separating board support, USB controller driver, descriptors, class drivers, interrupts, clocks, and endpoint buffers. USB bugs are often descriptor or controller-state problems before application logic.
Use this skill when:
Do not use this skill when board power, USB D+/D- wiring, or clock source is unverified. Use `hardware-interface-debug` first.
Ask for:
1. Prove hardware prerequisites. USB clock, D+/D- wiring, VBUS, pull-up, ESD/protection, and connector orientation must be correct.
1. Configure `tusb_config.h`. Enable only needed roles/classes and set endpoint buffer sizes within RAM limits.
1. Verify descriptors. Device, configuration, interface, endpoint, string, VID/PID, class/subclass/protocol, and composite descriptors must agree.
1. Run TinyUSB task regularly. In bare metal or RTOS, ensure device/host task and interrupt handling are scheduled correctly.
1. Check class-specific behavior. CDC needs line coding/control; MSC needs safe block device hooks; HID needs report descriptors and polling interval.
1. Capture host evidence. Use OS device manager, `lsusb`, USB logs, or protocol analyzer when enumeration fails.
Before claiming TinyUSB works:
User:
TinyUSB CDC 插上电脑没有串口。
Agent:
1. Asks for MCU, TinyUSB config, descriptors, USB clock, interrupt setup, and host OS logs. 1. Checks enumeration and descriptor consistency before CDC callbacks. 1. Verifies `tud_task` schedule and a CDC echo transfer.
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.