What problem does it solve? Developing Modbus master or slave firmware with the Espressif esp-modbus v2 library involves many failure-prone details: handle-based APIs, Data Dictionary CID mapping, register-area descriptors, RS485 UART setup, Kconfig flags, and cryptic error codes. This Skill grounds every answer in the real esp-modbus repository headers, docs, and examples so the AI never invents APIs and produces working firmware. ## Core Features & Use Cases - Scenario Recipes: Step-by-step guides with real code for serial master/slave, TCP master/slave, Data Dictionary authoring, register-area mapping, custom function-code handlers, extended endianness types, and slave event loops. - API & Config Reference: Verbatim function signatures from esp_modbus_master.h / esp_modbus_slave.h and a full CONFIG_FMB_* Kconfig table with defaults and ranges. - Pitfall Checklists: 14+ documented mistakes with WRONG vs CORRECT code, plus an esp_err_t diagnosis table (0x103/0x106/0x107/0x108) and failure-recovery strategies. - Use Case: Ask the AI to build a Modbus RTU slave on an ESP32-S3 exposing temperature as a holding register over RS485; it will produce the correct create → set_descriptor → uart_set_pin → uart_set_mode(RS485 half-duplex) → start sequence with matching Kconfig and build commands. ## Quick Start Ask the AI to create a Modbus RTU serial master on ESP32 that polls a holding register from slave address 1, and it will follow the serial_master recipe to generate the complete ESP-IDF project.