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 integrating, porting, configuring, or debugging FreeModbus RTU, ASCII, TCP, serial ports, timers, events, register callbacks, or Modbus protocol issues
$ npx -y skills add easyzoom/aix-skills --skill freemodbus-integration --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/freemodbus-integrationContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when integrating, porting, configuring, or debugging FreeModbus RTU, ASCII, TCP, serial ports, timers, events, register callbacks, or Modbus protocol issues
name: freemodbus-integration description: Use when integrating, porting, configuring, or debugging FreeModbus RTU, ASCII, TCP, serial ports, timers, events, register callbacks, or Modbus protocol issues
Use this skill to integrate FreeModbus by proving the port layer first: serial/TCP transport, timing, event dispatch, and register callbacks. Modbus bugs are often timing, endian, addressing, or task-context problems rather than protocol logic.
Use this skill when:
Do not use this skill when the UART or network transport is not verified. Use serial or lwIP skills first if the lower layer is unknown.
Ask for:
1. Prove transport timing. For RTU, verify baud, parity, stop bits, inter-frame gap, and RS-485 direction control.
1. Implement port files. Serial, timer, and event callbacks must match the target scheduler and ISR rules.
1. Confirm protocol mode. RTU, ASCII, and TCP have different framing, timing, and porting requirements.
1. Validate register callbacks. Holding/input/coils/discrete callbacks must map Modbus addresses to internal storage correctly.
1. Check address and endian assumptions. Modbus register numbering, zero-based offsets, word order, and byte order must be explicit.
1. Test one function at a time. Start with a simple read holding register before adding writes, coils, or TCP gateway logic.
Before claiming FreeModbus works:
User:
FreeModbus RTU 能收到包但主站一直超时。
Agent:
1. Asks for UART settings, RS-485 DE/RE control, timer port, slave ID, and bus capture. 1. Checks frame gap timer and direction timing before register callbacks. 1. Verifies a single read holding register with known data.
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…