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 embedded MQTT clients, brokers, keepalive, QoS, TLS transport, reconnects, or publish-subscribe issues
Claude Code
$ npx -y skills add easyzoom/aix-skills --skill mqtt-embedded-integration --agent claude-code
Codex
$ npx skills add easyzoom/aix-skills --skill mqtt-embedded-integration -a codex -y
Cursor
$ npx skills add easyzoom/aix-skills --skill mqtt-embedded-integration -a cursor -y
Gemini CLI
$ npx skills add easyzoom/aix-skills --skill mqtt-embedded-integration -a gemini-cli -y
GitHub Copilot
$ npx skills add easyzoom/aix-skills --skill mqtt-embedded-integration -a github-copilot -y
OpenCode
$ npx skills add easyzoom/aix-skills --skill mqtt-embedded-integration -a opencode -y
Windsurf
$ npx skills add easyzoom/aix-skills --skill mqtt-embedded-integration -a windsurf -y
name: mqtt-embedded-integration description: Use when integrating, porting, configuring, or debugging embedded MQTT clients, brokers, keepalive, QoS, TLS transport, reconnects, or publish-subscribe issues
Use this skill for MCU MQTT clients by separating network link, TCP/TLS transport, MQTT session state, topic design, QoS, keepalive, and reconnect policy. MQTT success requires more than one successful publish.
Use this skill when:
Do not use this skill when basic IP connectivity is not working. Use `lwip-integration` or platform network debugging first.
Ask for:
1. Prove network first. Confirm DNS/IP, TCP connect, and broker reachability before MQTT debugging.
1. Configure identity. Client ID must be unique and stable enough for the product.
1. Bound payloads and buffers. Topic length, payload size, QoS queues, and offline buffers must fit RAM.
1. Set keepalive and reconnect policy. Avoid reconnect storms; use backoff and clear session behavior intentionally.
1. Add TLS deliberately. Validate time, CA storage, certificate chain, SNI, and heap usage.
1. Verify broker behavior. Test subscribe, publish, QoS behavior, retained messages, and Last Will if used.
Before claiming MQTT works:
User:
MCU MQTT 能连上但过一会儿就掉线。
Agent:
1. Asks for client library, keepalive, network stack, broker logs, TLS state, and reconnect policy. 1. Checks ping/keepalive and duplicate client ID before changing payload logic. 1. Verifies reconnect with backoff and subscription restoration.
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.